HP Cisco MDS 9216i Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 555
clear port-security, clear port-security database
View all HP Cisco MDS 9216i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 555 highlights
Chapter 8 Fibre Channel Commands clear port-security Send comments to [email protected] clear port-security To clear the port security information on the switch, use the clear port-security command. clear port-security {database auto-learn {interface fc slot/port | san-port-channel port} | session | statistics} vsan vsan-id Syntax Description database session statistics auto-learn interface fc slot/port san-port-channel port vsan vsan-id Clears the port security active configuration database. Clears the port security CFS configuration session and locks. Clears the port security counters. Clears the automatically learned entries for a specified interface or VSAN. Clears entries for the specified Fibre Channel interface. Clears entries for a specified SAN port channel. The range is 1 to 128. Clears entries for a specified VSAN ID. The range is 1 to 4093. Command Default None Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The active database is read-only and the clear port-security database command can be used when resolving conflicts. Examples The following example clears all existing statistics from the port security database for a specified VSAN: switch# clear port-security statistics vsan 1 The following example clears learned entries in the active database for a specified interface within a VSAN: switch# clear port-security database auto-learn interface fc2/1 vsan 1 The following example clears learned entries in the active database up to for the entire VSAN: switch# clear port-security database auto-learn vsan 1 Related Commands Command show port-security Description Displays the configured port security information. OL-16599-01 Cisco Nexus 5000 Series Command Reference 8-21