> # Port Security Actions

> Field | Description
> --- | ---
> Activation
> Action | activate - results in the valid port bindings on this VSAN/VLAN being activated. activate (Turn LearningOff) - results in the valid port bindings on this VSAN/VLAN being activated and copied to the active database and will also result in auto learn being turned off on this VSAN/VLAN, once the activation is complete. force activate - results in forced activation, even if there are errors during activation and the activated port bindings will be copied to the active database. force activate (Turn Learning Off) - results in forced activation along with turning auto learn off after activation and the activated port bindings will be copied to the active database. deactivate - results in deactivation of currently activated valid port bindings (if any), on this VSAN/VLAN. Currently active entries (if any), which would have been present in the active database, will be removed. Activation will not be allowed on a VSAN if auto-learn is enabled on that VSAN
> Enabled | The state of activation on this VSAN/VLAN. If true, then an activation has been attempted as the most recent operation on this VSAN/VLAN. If false, then an activation has not been attempted as the most recent operation on this VSAN/VLAN.
> Result | Indicates the outcome of the most recent activation/deactivation.
> Last Change | When the valid port bindings on this VSAN/VLAN were last activated. If the last activation took place prior to the last re-initialization of the agent, then this value will be N/A.
> CopyActiveToConfig | If enabled, results in the active port binding database to be copied on to the configuration database on this VSAN/VLAN. Note that the learned entries are also copied.
> AutoLearn | Helps to learn the valid port binding configuration of devices/ports logged into the local device on all its ports and populate the above active database with the same. This mechanism of 'learning' the configuration of devices/ports logged into the local device over a period of time and populating the configuration is a convenience mechanism for users. If enabled on a particular VSAN, all subsequent logins (FLOGIs) on that VSAN will be populated in the enforced port binding database, provided it is not in conflict with existing enforced port bindings on that VSAN. When disabled, the mechanism of learning is stopped. The learned entries will however be in the active database.
> Clear AutoLearned
> Action | Clear VSAN results in port bind auto-learnt entries being cleared on this VSAN. Clear Interface(s) results in port bind auto-learnt entries being cleared on the interface specified on this VSAN.
> Interface | Specifies the interface(s) on which the port bind auto-learnt entries need to be cleared.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.