C613-50170-01 Rev B
Command Reference for x510 Series
509
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
WITCHING
C
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
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 15-1: Example output from
show port-security interface
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