Use this command to enable or disable MAC lock trap messaging.
port-string | Specifies the port on which MAC lock trap messaging will be enabled or disabled. |
enable | disable | Enables or disables MAC lock trap messaging. |
None.
All command modes.
When enabled, this authorizes the device to send an SNMP trap message if an end station is connected that exceeds the maximum values configured using the set maclock firstarrival and set maclock static commands. Violating MAC addresses are dropped from the device‘s routing table.
This example shows how to enable MAC lock trap messaging on ge.2.3:
System(rw)->set maclock trap ge.2.3 enable