Send documentation comments to mdsfeedback-doc@cisco.com
18-21
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 18 P Commands
port-security database
port-security database
To copy the port security database or to view the difference within the port security database, use the
port-security database command in EXEC mode.
port-security database {copy | diff {active | config}} vsan vsan-id
Syntax Description
Defaults None.
Command Modes EXEC mode.
Command History
Usage Guidelines If the active database is empty, the port-security database is empty.
Use the port-security database diff active command to resolve conflicts.
Examples The following example copies the active to the configured database.
switch# port-security database copy vsan 1
The following example provides the differences between the active database and the configuration
database.
switch# port-security database diff active vsan 1
The following example provides information on the differences between the configuration database and
the active database.
switch# port-security database diff config vsan 1
port-security Activates a port security database for the specified VSAN and automatically
enables auto-learn.
database Enters the port security database configuration mode for the specified
VSAN.
copy Copies the active database to the configuration database.
diff Provides the difference between the active and configuration port security
database.
active Writes the active database to the configuration database.
config Writes the configuration database to the active database.
vsan vsan-id Specifies the VSAN ID. The ranges is 1 to 4093.
Release Modification
1.2(1) This command was introduced.