Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
45-17
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 45 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