Auto-Learning
Command or Action
Step 4
port-security database copy vsan vsan-id
Example:
switch# port-security database copy vsan 35
Step 5
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 6
port-security activate vsan vsan-id
Example:
switch(config)# port-security activate vsan 35
Auto-Learning
About Enabling Auto-Learning
The state of the auto-learning configuration depends on the state of the port security feature:
• If the port security feature is not activated, auto-learning is disabled by default.
• If the port security feature is activated, auto-learning is enabled by default (unless you explicitly disabled
If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the
Tip
force option.
Enabling Auto-Learning
You can enable auto-learning.
The state of the auto-learning configuration depends on the state of the port security feature:
• If the port security feature is not activated, auto-learning is disabled by default.
• If the port security feature is activated, auto-learning is enabled by default (unless you explicitly disabled
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide, Release 5.2(1)N1(1)
260
this option).
this option).
Purpose
Copies from the active to the configured database.
Reenters configuration mode.
Activates the port security database for the specified
VSAN, and automatically enables auto-learning.
Configuring Port Security
OL-27583-01