Chapter 1
Configuring Port Security
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
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)
Copying the Port Security Database
We recommend that you copy the active database to the config database after disabling auto-learning.
Tip
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.
OL-16597-01
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
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
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>
Database Interaction
Note:
Learned entries
are saved in
the active
database.
1-17