LDP Notification Objects and Notification Types
The jnxLdpTrapVars table, whose object identifier is {jnxLdp 1}, defines the objects used in the enterprise-specific LDP traps. For more information about LDP notification types, see Table 1.
![]() | Note: The enterprise-specific LDP MIB requires jnxLdpTrapPrefix with 0 subidentifier for seamless translation of SNMPv2 notifications to SNMPv1 format. |
Table 1: LDP Notification Objects
Object | Object ID | Description |
|---|---|---|
jnxLdpLspFec | jnxLdpTrapVars 1 | Contains the LSP forwarding equivalence class (FEC) in IpAddress format. |
jnxLdpRtrid | jnxLdpTrapVars 2 | Contains the router ID of the sending router in IpAddress format. |
jnxLdpLspDownReason | jnxLdpTrapVars 3 | Returns one of the following integer values to denote what might have caused the LSP to go down:
|
jnxLdpSesDownReason | jnxLdpTrapVars 4 | Returns one of the following integer values to denote what might have caused the session transition into nonexistent state:
|
jnxLdpSesDownIf | jnxLdpTrapVars 5 | Contains the SNMP index of the interface associated with the session-down event. If no interface is associated with the session-down event, then this object returns the SNMP index of any interface associated with one of the neighbors. |
jnxLdpLspFecLen | jnxLdpTrapVars 6 | Represents the length of the LSP FEC prefix in bits. The allowable range is 0 through 32 bits. |
jnxLdpSesUpIf | jnxLdpTrapVars 7 | Contains the interface index of one of the neighbors associated with the session. |
jnxLdpInstanceName | jnxLdpTrapVars 8 | Contains the name of the VPN interface. |
Table 2 lists the enterprise-specific LDP notifications and the objects contained in each notification. The enterprise-specific LDP notifications use the objects listed in Table 1.
Table 2: LDP Notification Types
Object | Object ID | Description |
|---|---|---|
jnxLdpLspUp | jnxLdpTrapPrefix 1 | Generated when an LSP comes back online. Typically, this trap is generated only when an LSP that has an active jnxLdpLspDown trap comes back online.
|
jnxLdpLspDown | jnxLdpTrapPrefix 2 | Generated when an LSP goes offline. This trap contains the following objects:
Note: For every jnxLdpLspDown trap generated, Junos OS ensures that a jnxLdpLspUp trap is generated when the LSP comes back online. |
jnxLdpSesUp | jnxLdpTrapPrefix 3 | Generated when the jnxMplsLdpSesState object moves into the operational (5) state. This trap contains the following objects:
|
jnxLdpSesDown | jnxLdpTrapPrefix 4 | Generated when the jnxMplsLdpSesState object moves out of the operational (5) state. This trap contains the following objects:
The jnxLdpSesDownIf object contains the address of the interface associated with the last neighbor when the value of jnxLdpSesDownReason was allAdjacenciesDown (3). |

