S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
8-109
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
port-security
The following example deactivates the port security database for the specified VSAN, and automatically
disables auto-learning:
switch(config)#
no port-security activate vsan 1
The following example disables the auto-learning feature for the port security database in VSAN 1:
switch(config)#
port-security activate vsan 1 no-auto-learn
The following example enables auto-learning so the switch can learn about any device that is allowed to
access VSAN 1. These devices are logged in the port security active database:
switch(config)#
port-security auto-learn vsan 1
The following example disables auto-learning and stops the switch from learning about new devices
accessing the switch:
switch(config)#
no port-security auto-learn vsan 1
The following example enters the port security database mode for the specified VSAN:
switch(config)#
port-security database vsan 1
switch(config-port-security)#
The following example forces the VSAN 1 port security database to activate even if there are conflicts:
switch(config)#
port-security activate vsan 1 force
Related Commands
Command
Description
show port-security
database
Displays configured port security information.