Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • 1–Change in topology
    • 2–Withdrawal of label by the neighbor
    • 3–Unavailability of the neighbor because the neighbor is down
    • 4–Change in filter
    • 5–Unknown reason

    jnxLdpSesDownReason

    jnxLdpTrapVars 4

    Returns one of the following integer values to denote what might have caused the session transition into nonexistent state:

    • 0–Unknown reason
    • 1–Hold time expired
    • 2–Connection time expired
    • 3–All adjacencies are down
    • 4–Received bad TLV (type, length, and value encoding scheme)
    • 5–Received bad PDU (protocol data unit)
    • 6–Connection error occurred
    • 7–The connection was reset
    • 8–Received notification from peer
    • 9–Received unexpected end-of-file message
    • 10–The authentication key was changed
    • 11–Error occurred during initialization
    • 12–Graceful restart was aborted
    • 13– CLI command was issued to end the session

    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.

    • jnxLdpLspFec
    • jnxLdpRtrid
    • jnxLdpLspFecLen
    • jnxLdpInstanceName

    jnxLdpLspDown

    jnxLdpTrapPrefix 2

    Generated when an LSP goes offline. This trap contains the following objects:

    • jnxLdpLspFec
    • jnxLdpRtrid
    • jnxLdpLspDownReason
    • jnxLdpLspFecLen
    • jnxLdpInstanceName

    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:

    • jnxMplsLdpSesState
    • jnxLdpSesUpIf

    jnxLdpSesDown

    jnxLdpTrapPrefix 4

    Generated when the jnxMplsLdpSesState object moves out of the operational (5) state. This trap contains the following objects:

    • jnxMplsLdpSesState
    • jnxLdpSesDownReason
    • jnxLdpSesDownIf

    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.

    Published: 2013-02-20