
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-17
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Port Security
Database Interaction
Copying the Port Security Database
Tip
We recommend that you copy
the active database to the config database after disabling auto-learning.
This action will ensure that the configuration database is in synchronization 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.
CLI
Switch 1
config Database
99301
<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
Saving the configuration (copy running start)
Activating the
database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>s
Note:
Learned entries
are not saved
in the startup
configuration.
Switch 1
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
active Database
Learning entries (pwwn4/5 already logged in)
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
Note:
Learned entries
are saved in
the active
database.
Switch 1
config Database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
active Database
Copying active database to config database
<pwwn1, fwwn1>
<pwwn2, fwwn2>
<pwwn3, fwwn3>
<pwwn4, fwwn4>
<pwwn5, fwwn5>
learned entires
learned entires