Database Interaction
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
Figure 39-1
Port Security Database Scenarios
Switch 1
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
active Database
EMPTY
Configuring authorized ports
Switch 1
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
active Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>s
Saving the configuration (copy running start)
Port Security Database Copy
Tip
We recommend that you issue the port-security database copy vsan command after disabling
auto-learning. This action will ensure that the configuration database is in sync with the active database.
If distribution is enabled, this command creates a temporary copy (and consequently a fabric lock) of the
configuration database. If you lock the fabric, you need to commit the changes to the configuration
databases in all the switches.
Cisco MDS 9000 Family CLI Configuration Guide
39-16
Switch 1
Activating the
database
CLI
learned entires
Learning entries (pwwn4/5 already logged in)
Switch 1
learned entires
Note:
Learned entries
are not saved
in the startup
configuration.
Copying active database to config database
Chapter 39
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
active Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
active Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuring Port Security
Note:
Learned entries
are saved in
the active
database.