Enabling Auto-learning
• If the port security feature is activated, auto-learning is enabled by default (unless you explicitly disabled
Tip
If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the force
option.
Enabling Auto-learning
To enable auto-learning, follow these steps:
Procedure
Step 1
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)# port-security auto-learn vsan 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.
Disabling Auto-learning
To disable auto-learning, follow these steps:
Procedure
Step 1
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)# no port-security auto-learn vsan 1
Disables auto-learning and stops the switch from learning about new devices accessing the switch. Enforces
the database contents based on the devices learned up to this point.
Auto-learning Device Authorization
The following table summarizes the authorized connection conditions for device requests.
Cisco MDS 9000 Series Security Configuration Guide, Release 8.x
232
this option).
Configuring Port Security