User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
165
address is configured to
several
interfaces in same
VLAN, both of them will violate
the security of the MAC
address.
switchport port-security aging {static | time <value>
| type {absolute | inactivity}}
no switchport port-security violation aging {static |
time | type}
Enable port-security aging
entry of the interface; specify
aging time or aging type.
switchport port-
security violation shutdown
recovery{ <time> }
no switchport port-security violation
The wait time that recovering
to be up after the port triggered
shutdown of violation.
No
command deletes this
configuration.
Notice: This command is not
supported by switch.
Admin mode
clear port-security {all | configured | dynamic |
sticky} [[address <mac-addr> | interface
<interface-id>] [vlan <vlan-id> ]]
Clear the secure MAC entry of
the interface.
show port-security [interface <interface-id>]
[address | vlan]
Show port-security
configuration.
20.3 Example of PORT SECURITY
Fig 12-1 Typical topology chart for port security
When the interface enabled Port security function, configure the maximum number of the
secure MAC addresses allowed by a interface to be 10, the interface allows 10 users to access
Internet
HOST A
HOST B
SWITCH
Ethernet1/0/1