If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the
force option.
Tip
SUMMARY STEPS
1.
configure terminal
2.
port-security auto-learn vsan vsan-id
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
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.
port-security auto-learn vsan vsan-id
Example:
switch(config)# port-security auto-learn vsan
1
Step 2
Disabling Auto-Learning
You can disable auto-learning.
SUMMARY STEPS
1.
configure terminal
2.
no port-security auto-learn vsan vsan-id
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide, Release 5.2(1)N1(1)
OL-27583-01 261
Configuring Port Security
Auto-Learning