enable snmp traps port-up-down ports

enable snmp traps port-up-down ports [port_list | all]

Description

Enables port up/down trap reception for specified ports.

Syntax Description

port_list

Specifies one or more ports or slots and ports.

all

Specifies all ports on the switch.

Default

Enabled.

Usage Guidelines

Use this command to begin receiving SNMP trap messages when a port transitions between being up and down.

Example

The following command enables ports 3, 5, and 12 through 15 on a stand-alone switch to receive SNMP trap messages when the port goes up/down:

enable snmp traps port-up-down ports 3,5,12-15

History

This command was first available in ExtremeXOS 10.6.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.