S
C
WITCHING
OMMANDS
-
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
the
clear port-security intrusion
Syntax
Mode
Privileged Exec
Examples
To see the port-security status on port1.0.1, use the following command:
awplus#
Table 12-1: Example output from show port-security interface
To see the intrusion list on port1.0.1, use the following command:
awplus#
C613-50181-01 Rev B
clear mac address-table static
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).
show port-security interface port1.0.1
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
show port-security intrusion interface port1.0.1
Command Reference for GS900MX Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
clear mac address-table dynamic
command.
[interface <port>]
command or
373