C613-50100-01 REV C Command Reference for x930 Series 452
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
SWITCHING COMMANDS
CLEAR
PORT-SECURITY INTRUSION
clear port-security intrusion
Overview Use this command to clear the history of the port-security intrusion list on all ports,
or an individual port. If a port is not specified, the intrusion lists of all ports are
cleared. This command does not clear any MAC addresses the device has already
learned on the ports. If you want to clear MAC addresses on a switch port from the
filtering database, you can use the clear mac address-table dynamic command or
the clear mac address-table static command.
Syntax
clear port-security intrusion [interface <port>]
Mode Privileged Exec
Examples To see the port-security status on port1.0.1, use the following command:
awplus# show port-security interface port1.0.1
To see the intrusion list on port1.0.1, use the following command:
awplus# show port-security intrusion interface port1.0.1
Parameter Description
<port> Specify the switch port from which the history of violated address
entries will be cleared. The port can be a single switch port, (e.g.
port1.0.4), a static channel group (e.g. sa2), or a dynamic
(LACP) channel group (e.g. po2).
Table 1: Example output from the show port-security interface command
awplus#show port-security interface port1.0.1
Port Security configuration
------------------------------------------------------------
Security Enabled : YES
Port Status : ENABLED
Violation Mode : TRAP
Aging : OFF
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Lock Status : LOCKED
Security Violation Count : 1
Last Violation Source Address : 801f.0200.19da