Configuration Guide User guide

FastIron Configuration Guide 1843
53-1002494-02
Clearing port security statistics
To shut down the port for 5 minutes when a security violation occurs, enter the following
commands.
Brocade(config)#interface ethernet 7/11
Brocade(config-if-e1000-7/11)#port security
Brocade(config-port-security-e1000-7/11)#violation shutdown 5
Syntax: violation shutdown <minutes>
The minutes can be from 0 through 1440 minutes. Specifying 0 shuts down the port permanently
when a security violation occurs.
Clearing port security statistics
You can clear restricted MAC addresses and violation statistics from ports on all ports or on
individual ports.
Clearing restricted MAC addresses
To clear all restricted MAC addresses globally, enter the clear port security restricted-macs all
command.
Brocade#clear port security restricted-macs all
To clear restricted MAC addresses on a specific port, enter a command such as the following.
Brocade#clear port security restricted-macs ethernet 5
Syntax: clear port security restricted-macs all | ethernet <port>
Specify the port variable in one of the following formats:
FWS, FCX, and ICX stackable switches – stack-unit/slotnum/portnum
FSX 800 and FSX 1600 chassis devices – slotnum/portnum
ICX devices – slotnum/portnum
FESX compact switches – portnum
Clearing violation statistics
To clear violation statistics globally, enter the clear port security statistics all command.
Brocade#clear port security statistics all
To clear violation statistics on a specific port, enter a command such as the following.
Brocade#clear port security statistics ethernet 1/5
Syntax: clear port security statistics all | ethernet <port>
Specify the port variable in one of the following formats:
FWS, FCX, and ICX stackable switches – stack-unit/slotnum/portnum
FSX 800 and FSX 1600 chassis devices – slotnum/portnum
ICX devices – slotnum/portnum
FESX compact switches – portnum