Purpose
Command or Action
Forces the port security database to activate
for the specified VSAN even if conflicts
occur.
port-security activate vsan vsan-id force
Example:
switch(config)# port-security activate vsan
210 force
Step 2
Database Reactivation
You can reactivate the port security database.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Disables auto-learning and stops the switch
from learning about new devices that access
no no port-security auto-learn vsan vsan-id
Example:
switch(config)# no no port-security
auto-learn vsan 35
Step 2
the switch. This command also enforces the
database contents based on the devices learned
up to this point.
Exits the configuration mode.
exit
Example:
switch(config)# exit
Step 3
Copies from the active to the configured
database.
port-security database copy vsan vsan-id
Example:
switch# port-security database copy vsan
35
Step 4
Reenters configuration mode.
configure terminal
Step 5
Example:
switch# configure terminal
switch(config)#
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 35
Step 6
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
OL-30895-01
251
Configuring Port Security
Port Security Activation