set maclock trap

Use this command to enable or disable MAC lock trap messaging.

Syntax

set maclock trap port-string {enable | disable}

Parameters

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.

Defaults

None.

Mode

All command modes.

Usage

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.

Example

This example shows how to enable MAC lock trap messaging on ge.2.3:

System(rw)->set maclock trap ge.2.3 enable