Purpose
Command or Action
Activates the port security database for the
specified VSAN, and automatically enables
auto-learning.
port-security activate vsan vsan-id
Example:
switch(config)# port-security activate
vsan 20
Step 2
Activates the port security database for the
specified VSAN, and disables auto-learning.
port-security activate vsan vsan-id
no-auto-learn
Example:
switch(config)# port-security activate
vsan 20 no-auto-learn
Step 3
Deactivates the port security database for the
specified VSAN, and automatically disables
auto-learning.
no port-security activate vsan vsan-id
Example:
switch(config)# no port-security activate
vsan 20
Step 4
Database Activation Rejection
Database activation is rejected in the following cases:
•
Missing or conflicting entries exist in the configuration database but not in the active database.
•
The auto-learning feature was enabled before the activation. To reactivate a database in this state, disable
auto-learning.
•
The exact security is not configured for each port channel member.
•
The configured database is empty but the active database is not.
If the database activation is rejected due to one or more conflicts listed in the previous section, you may decide
to proceed by forcing the port security activation.
Forcing Port Security Activation
You can forcefully activate the port security database.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
250
OL-30895-01
Configuring Port Security
Port Security Activation