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
this option).
If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the
force option.
Tip
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
this option).
If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the
force option.
Tip
Procedure
Purpose
Command 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
port-security auto-learn vsan vsan-id
Example:
switch(config)# port-security
auto-learn vsan 1
Step 2
1. These devices are logged in the port security
active database.
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
252
OL-30895-01
Configuring Port Security
Auto-Learning