First, why is there a sticky security MAC address? The reason is that although the static security MAC address can make an interface of the switch to allow only a fixed computer access, but need to do is to find the MAC address of the computer, so, at this time with a sticky security MAC address this problem
SW1 (config-if) #sw
SW1 (config-if) #switchport mo ac
SW1 (config-if) #sw
SW1 (config-if) #switchport PO
SW1 (config-if) #switchport port-security
SW1 (config-if) #sw
SW1 (config-if) #switchport PO
SW1 (config-if) #switchport port-security Max
SW1 (config-if) #switchport port-security maximum 1
SW1 (config-if) #sw
SW1 (config-if) #switchport PO
SW1 (config-if) #switchport port-security?
Mac-address Secure MAC Address
Maximum Max secure addresses
Violation Security violation mode
<cr>
SW1 (config-if) #switchport port-security V
SW1 (config-if) #switchport port-security violation sh
SW1 (config-if) #switchport port-security violation shutdown
SW1 (config-if) #sw
SW1 (config-if) #switchport PO
SW1 (config-if) #switchport Port-security mac
SW1 (config-if) #switchport port-security mac-address?
H.H.H-bit MAC address
Sticky Configure Dynamic secure addresses as sticky
SW1 (config-if) #switchport port-security Mac-address St
SW1 (config-if) #switchport port-security mac-address sticky//switch port automatic sticky MAC address
SW1 (config-if) #
SW1 (config-if) #exit
Sw1#show mac-address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 0001.4383.a201 DYNAMIC FA0/2
This article is from "A growing small tree" blog, please be sure to keep this source http://growing2015.blog.51cto.com/12006344/1917167
Switch port security sticky Security MAC address