Port Security Activation
DETAILED STEPS
Command or Action
Step 1
switch# configuration terminal
Step 2
switch(config)# port-security enable
Step 3
switch(config)# no port-security enable
Port Security Activation
Activating Port Security
To activate port security, perform this task:
SUMMARY STEPS
1. switch# configuration terminal
2. switch(config)# port-security activate vsan vsan-id
3. switch(config)# port-security activate vsan vsan-id no-auto-learn
4. switch(config)# no port-security activate vsan vsan-id
DETAILED STEPS
Command or Action
Step 1
switch# configuration terminal
Step 2
switch(config)# port-security activate vsan vsan-id
Step 3
switch(config)# port-security activate vsan vsan-id
no-auto-learn
Step 4
switch(config)# no port-security activate vsan
vsan-id
Database Activation Rejection
Database activation is rejected in the following cases:
• Missing or conflicting entries exist in the configuration database but not in the active database.
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide
218
Purpose
Enters configuration mode.
Enables port security on that switch.
Disables (default) port security on that switch.
Purpose
Enters configuration mode.
Activates the port security database for the specified VSAN,
and automatically enables auto-learning.
Activates the port security database for the specified VSAN,
and disables auto-learning.
Deactivates the port security database for the specified VSAN,
and automatically disables auto-learning.
Configuring Port Security
OL-xxxxx-xx