Configuring Port MAC Security on a Specific Interface

Port MAC security can be configured on a specific interface or globally.
New process for 10.0.20a

By default, the MAC port security feature is disabled on all interfaces.

  1. Enter global configuration mode.
    device# configure terminal
  2. Enter interface configuration mode.
    device(config)# interface ethernet 1/1/24
  3. Enter the options to be configured.
    device(config-if-e2500-1/1/24)# port-security age global-mac maximum 5 secure-mac-address 1111.2222.3333 101 autosave 17 violation protect
    
device# configure terminal
device(config)# interface ethernet 1/1/24
device(config-if-e2500-1/1/24)# port-security age global-mac maximum 5 secure-mac-address 1111.2222.3333 101 autosave 17 violation protect