A10E/A28E/A28F Configuration Guide
Port 2 permits 2 users to access network at most. The 2 user MAC addresses are
confirmed through learning; once they are confirmed, they will not age. Violation mode
is set to Restrict mode.
Port 3 permits 1 user to access network at most. The specified user MAC address is
0000.0000.0002. The user MAC address can be controlled whether to age. Violation
mode adopts Shutdown mode.
Figure 6-1 Configuring secure MAC address
Configuration steps
Step 1 Configure the secure MAC address of the Port 1.
Alpha-A28E#config
Alpha-A28E(config)#interface port 1
Alpha-A28E(config-port)#switchport port-security
Alpha-A28E(config-port)#switchport port-security maximum 3
Alpha-A28E(config-port)#switchport port-security mac-address
0000.0000.0001 vlan 1
Alpha-A28E(config-port)#switchport port-security violation protect
Alpha-A28E(config-port)#switchport port-security trap enable
Alpha-A28E(config-port)#exit
Alpha-A28E(config)#port-security aging-time 10
Step 2 Configure the secure MAC address of the Port 2.
Alpha-A28E(config)#interface port 2
Alpha-A28E(config-port)#switchport port-security
Alpha-A28E(config-port)#switchport port-security maximum 2
Alpha-A28E(config-port)#switchport port-security mac-address sticky
Alpha-A28E(config-port)#switchport port-security violation restrict
Alpha-A28E(config-port)#exit
Step 3 Configure the secure MAC address of the Port 3.