Auto-Learning; About Enabling Auto-Learning - Cisco Nexus 5000 Series Configuration Manual

Nx-os san switching configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Auto-Learning

SUMMARY STEPS
1. switch# configuration terminal
2. switch(config)# no port-security auto-learn vsan vsan-id
3. switch(config)# exit
4. switch# port-security database copy vsan vsan-id
5. switch# configuration terminal
6. switch(config)# port-security activate vsan vsan-id
DETAILED STEPS
Command or Action
Step 1
switch# configuration terminal
Step 2
switch(config)# no port-security auto-learn vsan
vsan-id
Step 3
switch(config)# exit
Step 4
switch# port-security database copy vsan vsan-id
Step 5
switch# configuration terminal
Step 6
switch(config)# port-security activate vsan
vsan-id
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
Tip
If auto-learning is enabled on a VSAN, you can only activate the database for that VSAN by using the
force option.
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide
220
this option).
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.
Copies from the active to the configured database.
Re-enters configuration mode.
Activates the port security database for the specified VSAN,
and automatically enables auto-learning.
Configuring Port Security
OL-xxxxx-xx

Advertisement

Table of Contents
loading

Table of Contents