The snmp-agent trap enable feature-name ldp command enables the trap for the MPLS LDP module.
The undo snmp-agent trap enable feature-name ldp command disables the trap for the MPLS LDP module.
By default, the trap is disabled for the MPLS LDP module.
snmp-agent trap enable feature-name ldp trap-name { session-down | session-up }
undo snmp-agent trap enable feature-name ldp trap-name { session-down | session-up }
Parameter | Description | Value |
---|---|---|
trap-name | Enables the trap of MPLS LDP events of a specified type. | - |
session-down | Enables the trap of the event that an LDP session goes Down in the MIB. | - |
session-up | Enables the trap of the event that an LDP session goes Up in the MIB. | - |