Step 5
Copy the running configuration to the startup configuration, which saves the port security configuration
database to the startup configuration.
Step 6
Repeat the above steps for all switches in the fabric.
Enabling Port Security
You can enable port security.
By default, the port security feature is disabled.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Enables port security on that switch.
port-security enable
Example:
switch(config)# port-security enable
Step 2
Disables (default) port security on that
switch.
no port-security enable
Example:
switch(config)# no port-security enable
Step 3
Port Security Activation
Activating Port Security
You can activate port security.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
OL-30895-01
249
Configuring Port Security
Enabling Port Security