show port trap

Use this command to display whether the port is enabled for generating an SNMP trap message if its link state changes.

Syntax

show port trap [port-string]

Parameters

port-string (Optional) Displays link trap status for specific port(s).

Defaults

If port-string is not specified, the trap status for all ports will be displayed.

Mode

All command modes.

Example

This example shows how to display link trap status for ge.3.1 through 4:

System(rw)->show port trap ge.3.1-4
Link traps enabled on port ge.3.1.
Link traps enabled on port ge.3.2.
Link traps enabled on port ge.3.3.
Link traps enabled on port ge.3.4.