Related Documentation
- Standard SNMP MIBs Supported by Junos OS
- Juniper Networks Enterprise-Specific MIBs
- Juniper Networks Enterprise-Specific MIBs and Supported Devices
- SNMP MIB Objects Supported by Junos OS for the Set Operation
- Standard SNMP Traps Supported on Devices Running Junos OS
- Juniper Networks Enterprise-Specific SNMP Traps
Interpreting the Enterprise-Specific LDP MIB
LDP MIB
The Juniper Networks enterprise-specific LDP MIB, whose object identifier is {jnxMibs 14}, contains LDP statistics, and defines LDP notification objects and types.
The enterprise-specific LDP MIB uses the following objects and definitions from standard MIBs and enterprise-specific MIB definitions:
- IpAddress from SNMPv2–SMI MIB
- DisplayString from SNMPv2–TC MIB
- InterfaceIndex and InterfaceIndexOrzero from IF MIB
- jnxMibs and jnxLdpTraps from Juniper Enterprise-Specific SMI MIB
- jnxMplsLdpSesState from Juniper Enterprise-Specific MPLS LDP MIB
- MplsVpnName from the standard MPLS VPN MIB
- InetAddressType, InetAddress, and InetAddressPrefixLength from the standard Inet Address MIB
For a downloadable version of this MIB, see https://www.juniper.net/techpubs/en_US/junos13.2/topics/ reference/mibs/mib-jnx-ldp.txt .
For information about the enterprise-specific LDP MIB objects, see the following topics:
Juniper Networks Enterprise-Specific LDP Traps
For information about the enterprise-specific LDP traps, see LDP MIB.
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). |
Disabling LDP Traps
You can disable the LDP LSP notifications by including the trap disable statement at the [show protocols ldp log-updown] hierarchy level.
jnxLdpStatsTable
The jnxLdpStatsTable, whose object identifier is {jnxLdp 2}, contains the statistics associated with a particular LDP FEC. Each jnxLdpStatsEntry in jnxLdpStatsTable contains the objects listed in Table 3.
Table 3: jnxLdpStatsTable
Object | Object ID | Description |
|---|---|---|
jnxLdpInstanceId | jnxLdpStatsEntry 1 | Identifies the LDP instance. |
jnxLdpFecType | jnxLdpStatsEntry 2 | Denotes the type of the LDP instance. |
jnxLdpFec | jnxLdpStatsEntry 3 | Contains the InetAddress of the LDP FEC. |
jnxLdpFecLength | jnxLdpStatsEntry 4 | Shows the LDP FEC length in bits. The allowable range is 0 through 32 bits. |
jnxLdpFecStatisticsStatus | jnxLdpStatsEntry 5 | Contains one of the following integer values to indicate the status of traffic statistics for the FEC:
The traffic statistics can be disabled for the penultimate hop FECs, and in such cases, the objects after jnxLdpFecStatisticsStatus in the jnxLdpStatsEntry return 0 value. |
jnxLdpIngressOctets | jnxLdpStatsEntry 6 | Shows the number of octets of traffic originated from the router, and forwarded over the current LDP FEC. Because the LDP statistics are collected at preconfigured intervals and not in real time, this object might return a value that is different from the current value. The default interval for LDP statistics collection is 5 minutes. |
jnxLdpIngressPackets | jnxLdpStatsEntry 7 | Shows the number of packets originated from the router, and forwarded over the current LDP FEC. Because the LDP statistics are collected at preconfigured intervals and not in real time, this object might return a value that is different from the current value. The default interval for LDP statistics collection is 5 minutes. |
jnxLdpTransitOctets | jnxLdpStatsEntry 8 | Shows the number of octets of traffic originated from a different router, but destined for this FEC, and forwarded over the current LDP FEC. Because the LDP statistics are collected at preconfigured intervals and not in real time, this object might return a value that is different from the current value. The default interval for LDP statistics collection is 5 minutes. |
jnxLdpTransitPackets | jnxLdpStatsEntry 9 | Shows the number of packets of traffic originated from a different router, but destined for this FEC, and forwarded over the current LDP FEC. Because the LDP statistics are collected at preconfigured intervals and not in real time, this object might return a value that is different from the current value. The default interval for LDP statistics collection is 5 minutes. |
Related Documentation
- Standard SNMP MIBs Supported by Junos OS
- Juniper Networks Enterprise-Specific MIBs
- Juniper Networks Enterprise-Specific MIBs and Supported Devices
- SNMP MIB Objects Supported by Junos OS for the Set Operation
- Standard SNMP Traps Supported on Devices Running Junos OS
- Juniper Networks Enterprise-Specific SNMP Traps
