Configuration commands

You can configure lock a MAC to a port-VLAN port feature using these commands:
  • port-security <port-list> learn-mode mixed

    allows port to learn both static and dynamic MAC addresses.

  • port-security <port> mac-address <mac-address> vlan-id <vlan-id>

    configures static MAC address on a port for the particular VLAN. vlan-id is optional.