Chapter 39
Configuring Port Security
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Step 3
Activate port security on each VSAN. This turns on auto-learning by default. See the
Security" section on page
Disable auto-learn on each VSAN. See the
Step 4
Step 5
Copy the running configuration to the startup configuration This saves the port security configure
database to the startup configuration.
Repeat
Step 6
Enabling Port Security
By default, the port security feature is disabled in all switches in the Cisco MDS 9000 Family.
To enable port security, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# feature port-security
switch(config)# no feature port-security
Port Security Activation
This section includes the following topics:
•
•
•
•
Activating Port Security
To activate the port security feature, follow these steps:
Command
Step 1
switch# config t
switch(config)#
OL-18084-01, Cisco MDS NX-OS Release 4.x
39-5.
Step 1
through
Step 5
Activating Port Security, page 39-5
Database Activation Rejection, page 39-6
Forcing Port Security Activation, page 39-6
Database Reactivation, page 39-7
"Disabling Auto-learning" section on page
for all switches in the fabric.
Purpose
Enters configuration mode.
Enables port security on that switch.
Disables (default) port security on that switch.
Cisco MDS 9000 Family CLI Configuration Guide
Enabling Port Security
Purpose
Enters configuration mode.
"Activating Port
39-8.
39-5