8 switchport port-security violation, 8 switchport port-security violation -86 – PLANET WGSW-52040 User Manual
Page 317

18-86
Command mode:
Port Mode.
Parameter:
< value> is the up limit for static secure MAC address, the valid range is 1 to 128.
Default:
The default maximum port secure MAC address number is 1.
Usage Guide:
The MAC address binding function must be enabled before maximum secure MAC address number can be set. If
secure static MAC address number of the port is larger than the maximum secure MAC address number set, the
setting fails; extra secure static MAC addresses must be deleted, so that the secure static MAC address number is
no larger than the maximum secure MAC address number for the setting to be successful.
Example:
Set the maximum secure MAC address number as 4 for port1.
Switch(config)#interface Ethernet 1/1
Switch(Config-If-Ethernet1/1)#switchport port-security maximum 4
18.2.8 switchport port-security violation
Command:
switchport port-security violation {protect | shutdown} [recovery <30-3600>]
no switchport port-security violation
Function:
Configure the port violation mode. The no restores the violation mode to protect.
Command Mode:
Port mode.
Parameter:
protect refers to protect mode
shutdown refers to shutdown mode
recovery: configure the border port can be recovered automatically after implement shutdown violation operation
<30-3600>: the recovery time, do not recover it by default