set newaddrtrap

Use this command to enable or disable SNMP trap messaging, globally and on one or more ports, when new source MAC addresses are detected.

Syntax

set newaddrtrap [port-string] {enable | disable}

Parameters

port-string (Optional) Specifies the port(s) on which to enable or disable MAC address traps. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.
enable | disable Enables or disables SNMP trap messaging when new source MAC addresses are detected.

Defaults

If port-string is not specified, MAC address traps will be globally enabled or disabled.

Mode

All command modes.

Usage

MAC address traps must be enabled both globally and on affected ports as two separate entries.

Example

This example shows how to enable MAC address traps on ports ge.1.4-8:

System(rw)->set newaddrtrap enable
System(rw)->set newaddrtrap ge.1.4-8 enable