Auto-Learning
S e n d f e e d b a c k 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
About Enabling Auto-Learning
The state of the auto-learning configuration depends on the state of the port security feature:
•
•
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, perform this task:
Command
Step 1
switch# configuration terminal
switch(config)#
Step 2
switch(config)# port-security
auto-learn vsan vsan-id
Disabling Auto-Learning
To disable auto-learning, perform this task:
Command
Step 1
switch# configuration terminal
switch(config)#
Step 2
switch(config)# no port-security auto-learn vsan
vsan-id
Auto-Learning Device Authorization
Table 45-1
Table 45-1
Condition Device (pWWN, nWWN, sWWN)
1
2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
45-8
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).
summarizes the authorized connection conditions for device requests.
Authorized Auto-Learning Device Requests
Configured with one or more switch
ports
Purpose
Enters configuration mode.
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.
Purpose
Enters configuration mode.
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.
Requests Connection to
A configured switch port Permitted
Any other switch port
Chapter 45
Configuring Port Security
Authorization
Denied
OL-16597-01