Send documentation comments to mdsfeedback-doc@cisco.com
19-13
Cisco MDS 9000 Family Troubleshooting Guide, Release 3.x
OL-9285-05
Chapter 19 Troubleshooting FC-SP, Port Security, and Fabric Binding
Port Security Issues
Disabling Autolearn Using Fabric Manager
To disable autolearn using Fabric Manager, follow these steps:
Step 1 Choose Fabricxx > VSANxx > Port Security and select the Actions tab.
Step 2 Select activate(TurnLearning off) from the Action drop-down menu, and click Apply Changes to copy
the configure database to the active database and reactivate port security.
Step 3 Select the CFS tab, if CFS is enabled, and select commit from the ConfigAction drop-down menu to
distribute these changes to all switches in the fabric.
Step 4 Copy the running configuration to the startup configuration, using the fabric option. This saves the port
security configure database to the startup configuration on all switches in the fabric.
Disabling Autolearn Using the CLI
To disable autolearn using the CLI, follow these steps:
Step 1 Use the no port-security auto-learn command to disable autolearn.
switch# no port-security auto-learn vsan 2
Step 2 Use the port-security database copy command to copy the active database to the configure database.
This ensures that no learned entries are lost.
switch# port-security database copy vsan 2
Step 3 If CFS distribution is enabled, use the port-security commit command to distribute these changes.
switch(config)# port-security commit vsan 2
Step 4 Copy the running configuration to the startup configuration, using the fabric option. This saves the port
security configure database to the startup configuration on all switches in the fabric.
Port Security Settings Lost After Reboot
Symptom Port security settings were lost after a reboot.
Table 19-7 Port Security Settings Lost After Reboot
Symptom Possible Cause Solution
Port security settings
were lost after a
reboot.
Autolearn entries not saved to
configure database and to startup
configuration.
See the “Disabling Autolearn Using Fabric Manager”
section on page 19-13 or the “Disabling Autolearn Using
the CLI” section on page 19-13.