-- -- Juniper Enterprise Specific MIB:LDP MIB Extension -- -- Copyright (c) 2002-2003, Juniper Networks, Inc. -- All rights reserved. -- -- The contents of this document are subject to change without notice. -- JUNIPER-LDP-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress FROM SNMPv2-SMI InterfaceIndexOrZero FROM IF-MIB jnxMibs, jnxLdpTraps FROM JUNIPER-SMI mplsLdpSesState FROM MPLS-LDP-MIB; jnxLdp MODULE-IDENTITY LAST-UPDATED "200201100000Z" ORGANIZATION "Juniper Networks, Inc." CONTACT-INFO " Juniper Technical Assistance Center Juniper Networks, Inc. 1194 N. Mathilda Avenue Sunnyvale, CA 94089 E-mail: support@juniper.net" DESCRIPTION "The MIB modules extends the LDP mib draft." REVISION "200201100000Z" DESCRIPTION "Initial revision." ::= { jnxMibs 14 } jnxLdpTrapVars OBJECT IDENTIFIER ::= { jnxLdp 1 } -- -- define branches for jnx ldp traps -- -- Note that we need jnxLdpTrapPrefix with the 0 -- sub-identifier to make this MIB translate to -- an SNMPv1 format in a reversible way. For example -- it is needed for proxies that convert SNMPv1 traps -- to SNMPv2 notifications without MIB knowledge. -- jnxLdpTrapPrefix OBJECT IDENTIFIER ::= { jnxLdpTraps 0 } jnxLdpLspFec OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The LSP FEC in IP address format." ::= { jnxLdpTrapVars 1 } jnxLdpRtrid OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The router id of the sending router." ::= { jnxLdpTrapVars 2 } jnxLdpLspDownReason OBJECT-TYPE SYNTAX INTEGER { topologyChanged (1), receivedWithdrawl (2), neighborDown (3), unknown (4) } MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The reason why the LSP went down. Can be one of the following: the topology changed, the neighbor withdrew the label, the neighbor went down, or the reason is unknown." ::= { jnxLdpTrapVars 3 } jnxLdpSesDownReason OBJECT-TYPE SYNTAX INTEGER { unknown (0), holdExpired (1), connectionExpired (2), allAdjacenciesDown (3), badTLV (4), badPDU (5), connectionError (6), connectionReset (7), peerSentNotification (8), unexpectedEOF (9), authenticationChanged (10), initError (11), gracefulRestartAbort (12) } MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The reason why the session transitioned to nonexistent state. Can be one of the following: unknown reason, hold time expired, connection time expired, all adjacencies down, received bad tlv, received bad pdu, connectionn error, connection reset, received notification from peer, received unexpected end-of-file, authentication key was changed, error during initialization, or graceful restart was aborted." ::= { jnxLdpTrapVars 4 } jnxLdpSesDownIf OBJECT-TYPE SYNTAX InterfaceIndexOrZero MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "This variable is used to convey the interface information relevant to a session-down event. It can be 0 or the snmp index of the interface relevant to the session-down event." ::= { jnxLdpTrapVars 5 } jnxLdpLspUp NOTIFICATION-TYPE OBJECTS { jnxLdpLspFec, jnxLdpRtrid } STATUS current DESCRIPTION "The SNMP trap that is generated when an LSP comes up." ::= { jnxLdpTrapPrefix 1 } jnxLdpLspDown NOTIFICATION-TYPE OBJECTS { jnxLdpLspFec, jnxLdpRtrid, jnxLdpLspDownReason} STATUS current DESCRIPTION "The SNMP trap that is generated when the LSP goes down." ::= { jnxLdpTrapPrefix 2 } jnxLdpSesUp NOTIFICATION-TYPE OBJECTS { mplsLdpSesState } STATUS current DESCRIPTION "The SNMP trap that is generated when the value of 'mplsLdpSesState' enters the 'operational(5) state." ::= { jnxLdpTrapPrefix 3 } jnxLdpSesDown NOTIFICATION-TYPE OBJECTS { mplsLdpSesState, jnxLdpSesDownReason, jnxLdpSesDownIf} STATUS current DESCRIPTION "The SNMP trap that is generated when the value of 'mplsLdpSesState' leaves the 'operational(5) state. The value of jnxLdpSesDownIf is only meaningful when jnxLdpSesDownReason is allAdjacenciesDown (3), otherwise it is 0." ::= { jnxLdpTrapPrefix 4 } END