Port Security Activation; Activating Port Security; Database Activation Rejection; Forcing Port Security Activation - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring Port Security
Procedure
Step 1
Step 2
Step 3

Port Security Activation

Activating Port Security

To activate port security, perform this task:
Procedure
Step 1
Step 2
Step 3
Step 4

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.
• The auto-learning feature was enabled before the activation. To reactivate a database in this state, disable
• The exact security is not configured for each port channel member.
• The configured database is empty but the active database is not.
If the database activation is rejected due to one or more conflicts listed in the previous section, you may decide
to proceed by forcing the port security activation.

Forcing Port Security Activation

If the port security activation request is rejected, you can force the activation.
OL-16597-01
Command or Action
switch# configuration terminal
switch(config)# port-security enable
switch(config)# no port-security enable
Command or Action
switch# configuration terminal
switch(config)# port-security activate
vsan vsan-id
switch(config)# port-security activate
vsan vsan-id no-auto-learn
switch(config)# no port-security activate
vsan vsan-id
auto-learning.
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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Port Security Activation
639

Advertisement

Table of Contents
loading

Table of Contents