Chapter 37
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
Activate port security on each VSAN. This turns on auto-learning by default. See the
Step 3
Security" section on page
Step 4
Disable auto-learn on each VSAN. See the
Copy the running configuration to the startup configuration This saves the port security configure
Step 5
database to the startup configuration.
Step 6
Repeat
Step 7
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)# port-security enable
switch(config)# no port-security enable
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-16184-01, Cisco MDS SAN-OS Release 3.x
37-5.
Step 1
through
Step 5
for all switches in the fabric.
Activating Port Security, page 37-5
Database Activation Rejection, page 37-6
Forcing Port Security Activation, page 37-6
Database Reactivation, page 37-7
"Disabling Auto-learning" section on page
Purpose
Enters configuration mode.
Enables port security on that switch.
Disables (default) port security on that switch.
Purpose
Enters configuration mode.
Cisco MDS 9000 Family CLI Configuration Guide
Enabling Port Security
"Activating Port
37-8.
37-5