![]() |
![]() |
To use the CLI to enable the MAC Address Lock feature and traps for unknown source addresses:
The CLI displays the (configure)# prompt.
set aft entry <mac address> VLAN <VLAN-id> port-binding forward <mod-port-spec>
set port allow-learning <mod-swport-range> disable
Note: To prevent the flooding of frames that have unknown destination addresses, enter all ports on the same VLAN as the port for which you are enabling MAC address lock.
set port intrusion-trap <mod-swport-range> enable
set port intrusion-trap-timer <mod-swport-range> <intrusion-trap-timer-value>
![]() |
![]() |