6 switchport port-security mac-address sticky, 7 switchport port-security maximum, Switchport port – PLANET WGSW-52040 User Manual
Page 229: Security mac, Address sticky, Security maximum
12-228
12.6 switchport port-security mac-address sticky
Command:
switchport port-security mac-address sticky [mac-address] [vlan
no switchport port-security mac-address sticky [mac-address] [vlan
Function:
Configure the static secure MAC with the sticky type on the interface, the no command cancels the configured
secure MAC.
Parameter:
mac-address:Configure the specified MAC address as the static secure MAC with the sticky type.
vlan-id:The specified VLAN of the MAC address, it only takes effect on trunk and hybrid interfaces.
Default:
No secure MAC is bound by the interface with the sticky type.
Command Mode:
Port mode
Usage Guide:
When configuring the static secure MAC with sticky type, pay attention to the number of the current secure MAC
whether exceed the maximum MAC limit allowed by the interface. If exceeding the maximum MAC limit, it will result
in violation operation.
Example:
Configure the secure MAC address on the interface.
Switch(config-if-ethernet1/1)#switchport port-security mac-address sticky 00-00-00-00-00-01
12.7 switchport port-security maximum
Command:
switchport port-security maximum <value> [vlan
no switchport port-security maximum <value> [vlan
Function:
Configure the maximum number of the secure MAC allowed by the interface, if specifying VLAN parameter, it means