The four JUNOS proprietary trap MIBs support the enterprise-specific SNMP Version 1 traps for BGP, the chassis, MPLS, and OSPF:
For a downloadable version of these traps, see www.juniper.net/techpubs/software/junos42/swconfig-install42/html/v1_traps_bgp.txt.
--
-- Juniper Enterprise Specific BGP Traps for SNMP V1
--
-- Copyright (c) 1998-2000, Juniper Networks, Inc.
-- All rights reserved.
--
-- The contents of this document are subject to change without notice.
--
JUNIPER-V1-TRAPS-BGP
DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI
mib-2 FROM RFC1213-MIB
TRAP-TYPE FROM RFC-1215;
-- The following chassis objects are from Juniper Chassis MIB
juniperMIB OBJECT IDENTIFIER ::= { enterprises 2636 }
-- The following BGP objects are from RFC 1657
bgp OBJECT IDENTIFIER ::= { mib-2 15 }
bgpPeerTable OBJECT IDENTIFIER ::= { bgp 3 }
bgpPeerEntry OBJECT IDENTIFIER ::= { bgpPeerTable 1 }
bgpPeerState OBJECT IDENTIFIER ::= { bgpPeerEntry 2 }
bgpPeerLastError OBJECT IDENTIFIER ::= { bgpPeerEntry 14 }
--
-- BGP traps
--
bgpEstablishedV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
bgpPeerLastError,
bgpPeerState
}
DESCRIPTION
"The BGP Established event is generated when the BGP FSM enters the ESTABLISHED state."
::= 1
bgpBackwardTransitionV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
bgpPeerLastError,
bgpPeerState
}
DESCRIPTION
"The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher
numbered state to a lower numbered state."
::= 2
END
For a downloadable version of these traps, see www.juniper.net/techpubs/software/junos42/swconfig-install42/html/.
v1_traps_chassis.txt
--
-- Juniper Enterprise Specific Chassis Traps for SNMP V1
--
-- Copyright (c) 1998-2000, Juniper Networks, Inc.
-- All rights reserved.
--
-- The contents of this document are subject to change without notice.
--
JUNIPER-V1-TRAPS-CHAS
DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI
TRAP-TYPE FROM RFC-1215;
-- The following chassis objects are from Juniper Chassis MIB
juniperMIB OBJECT IDENTIFIER ::= { enterprises 2636 }
jnxMibs OBJECT IDENTIFIER ::= { juniperMIB 3 }
jnxBoxAnatomy OBJECT IDENTIFIER ::= { jnxMibs 1 }
jnxContentsTable OBJECT IDENTIFIER ::= { jnxBoxAnatomy 8 }
jnxContentsEntry OBJECT IDENTIFIER ::= { jnxContentsTable 1 }
jnxContentsContainerIndex OBJECT IDENTIFIER ::= { jnxContentsEntry 1 }
jnxContentsL1Index OBJECT IDENTIFIER ::= { jnxContentsEntry 2 }
jnxContentsL2Index OBJECT IDENTIFIER ::= { jnxContentsEntry 3 }
jnxContentsL3Index OBJECT IDENTIFIER ::= { jnxContentsEntry 4 }
jnxContentsDescr OBJECT IDENTIFIER ::= { jnxContentsEntry 6 }
--
-- Chassis traps
--
jnxPowerSupplyFailureV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
jnxContentsContainerIndex,
jnxContentsL1Index,
jnxContentsL2Index,
jnxContentsL3Index,
jnxContentsDescr
}
DESCRIPTION
"A jnxPowerSupplyFailure trap signifies that
the specified power supply in the chassis has
been in the failure (bad DC output) condition."
::= 1
jnxFanFailureV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
jnxContentsContainerIndex,
jnxContentsL1Index,
jnxContentsL2Index,
jnxContentsL3Index,
jnxContentsDescr
}
DESCRIPTION
"A jnxFanFailure trap signifies that the specified
cooling fan or impeller in the chassis has been in
the failure (not spinning) condition."
::= 2
jnxOverTemperatureV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
jnxContentsContainerIndex,
jnxContentsL1Index,
jnxContentsL2Index,
jnxContentsL3Index,
jnxContentsDescr
}
DESCRIPTION
"A jnxOverTemperature trap signifies that the
specified hardware component in the chassis has
experienced over temperature condition."
::= 3
END
For a downloadable version of these traps, see www.juniper.net/techpubs/software/junos42/swconfig-install42/html/v1_traps_mpls.txt.
--
-- Juniper Enterprise Specific MPLS Traps for SNMP V1
--
-- Copyright (c) 1998-2000, Juniper Networks, Inc.
-- All rights reserved.
--
-- The contents of this document are subject to change without notice.
--
JUNIPER-V1-TRAPS-MPLS
DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI
TRAP-TYPE FROM RFC-1215;
-- The following chassis objects are from Juniper Chassis MIB
juniperMIB OBJECT IDENTIFIER ::= { enterprises 2636 }
jnxMibs OBJECT IDENTIFIER ::= { juniperMIB 3 }
-- The following MPLS objects are from Juniper MPLS MIB
mpls OBJECT IDENTIFIER ::= { jnxMibs 2 }
mplsLspList OBJECT IDENTIFIER ::= { mpls 3 }
mplsLspEntry OBJECT IDENTIFIER ::= { mplsLspList 1 }
mplsLspName OBJECT IDENTIFIER ::= { mplsLspEntry 1 }
mplsPathName OBJECT IDENTIFIER ::= { mplsLspEntry 17 }
--
-- MPLS traps
--
mplsLspUpV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
mplsLspName,
mplsPathName -- LspPath
}
DESCRIPTION
"An mplsLspUp trap signifies that the specified LSP is up. The current active
path for the LSP is mplsPathName."
::= 1
mplsLspDownV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
mplsLspName,
mplsPathName -- LspPath
}
DESCRIPTION
"An mplsLspDown trap signifies that the specified LSP is down, because the current
active path mplsPathName went down."
::= 2
mplsLspChangeV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
mplsLspName,
mplsPathName -- toLspPath
}
DESCRIPTION
"An mplsLspChange trap signifies that the specified LSP has switched traffic to
the new active path 'toLspPath'. The LSP maintains up state before and after the switch over"
::= 3
END
For a downloadable version of these traps, see www.juniper.net/techpubs/software/junos42/swconfig-install42/html/v1_traps_ospf.txt.
--
-- Juniper Enterprise Specific OSPF Traps for SNMP V1
--
-- Copyright (c) 1998-2000, Juniper Networks, Inc.
-- All rights reserved.
--
-- The contents of this document are subject to change without notice.
--
JUNIPER-V1-TRAPS-OSPF
DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI
mib-2 FROM RFC1213-MIB
TRAP-TYPE FROM RFC-1215;
-- The following chassis objects are from Juniper Chassis MIB
juniperMIB OBJECT IDENTIFIER ::= { enterprises 2636 }
-- The following OSPF objects are from RFC 1850
ospf OBJECT IDENTIFIER ::= { mib-2 14 }
ospfGeneralGroup OBJECT IDENTIFIER ::= { ospf 1 }
ospfRouterId OBJECT IDENTIFIER ::= { ospfGeneralGroup 1 }
ospfExtLsdbLimit OBJECT IDENTIFIER ::= { ospfGeneralGroup 11 }
ospfLsdbTable OBJECT IDENTIFIER ::= { ospf 4 }
ospfLsdbEntry OBJECT IDENTIFIER ::= { ospfLsdbTable 1 }
ospfLsdbAreaId OBJECT IDENTIFIER ::= { ospfLsdbEntry 1 }
ospfLsdbType OBJECT IDENTIFIER ::= { ospfLsdbEntry 2 }
ospfLsdbLsid OBJECT IDENTIFIER ::= { ospfLsdbEntry 3 }
ospfLsdbRouterId OBJECT IDENTIFIER ::= { ospfLsdbEntry 4 }
ospfIfTable OBJECT IDENTIFIER ::= { ospf 7 }
ospfIfEntry OBJECT IDENTIFIER ::= { ospfIfTable 1 }
ospfIfIpAddress OBJECT IDENTIFIER ::= { ospfIfEntry 1 }
ospfAddressLessIf OBJECT IDENTIFIER ::= { ospfIfEntry 2 }
ospfIfState OBJECT IDENTIFIER ::= { ospfIfEntry 12 }
ospfVirtIfTable OBJECT IDENTIFIER ::= { ospf 9 }
ospfVirtIfEntry OBJECT IDENTIFIER ::= { ospfVirtIfTable 1 }
ospfVirtIfAreaId OBJECT IDENTIFIER ::= { ospfVirtIfEntry 1 }
ospfVirtIfNeighbor OBJECT IDENTIFIER ::= { ospfVirtIfEntry 2 }
ospfVirtIfState OBJECT IDENTIFIER ::= { ospfVirtIfEntry 7 }
ospfNbrTable OBJECT IDENTIFIER ::= { ospf 10 }
ospfNbrEntry OBJECT IDENTIFIER ::= { ospfNbrTable 1 }
ospfNbrIpAddr OBJECT IDENTIFIER ::= { ospfNbrEntry 1 }
ospfNbrAddressLessIndex OBJECT IDENTIFIER ::= { ospfNbrEntry 2 }
ospfNbrRtrId OBJECT IDENTIFIER ::= { ospfNbrEntry 3 }
ospfNbrState OBJECT IDENTIFIER ::= { ospfNbrEntry 6 }
ospfVirtNbrTable OBJECT IDENTIFIER ::= { ospf 11 }
ospfVirtNbrEntry OBJECT IDENTIFIER ::= { ospfVirtNbrTable 1 }
ospfVirtNbrArea OBJECT IDENTIFIER ::= { ospfVirtNbrEntry 1 }
ospfVirtNbrRtrId OBJECT IDENTIFIER ::= { ospfVirtNbrEntry 2 }
ospfVirtNbrState OBJECT IDENTIFIER ::= { ospfVirtNbrEntry 5 }
ospfTrap OBJECT IDENTIFIER ::= { ospf 16 }
ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 }
ospfConfigErrorType OBJECT IDENTIFIER ::= { ospfTrapControl 2 }
ospfPacketType OBJECT IDENTIFIER ::= { ospfTrapControl 3 }
ospfPacketSrc OBJECT IDENTIFIER ::= { ospfTrapControl 4 }
--
-- OSPF traps
--
ospfVirtIfStateChangeV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfVirtIfAreaId,
ospfVirtIfNeighbor,
ospfVirtIfState -- The new state
}
DESCRIPTION
"An ospfIfStateChange trap signifies that there has been a change in the state of an OSPF
virtual interface. This trap should be generated when the interface state regresses
(e.g., goes from Point-to-Point to Down) or progresses to a terminal state (i.e., Point-to-Point)."
::= 1
ospfNbrStateChangeV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfNbrIpAddr,
ospfNbrAddressLessIndex,
ospfNbrRtrId,
ospfNbrState -- The new state
}
DESCRIPTION
"An ospfNbrStateChange trap signifies that there has been a change in the state of a non-
virtual OSPF neighbor. This trap should be generated when the neighbor state regresses
(e.g., goes from Attempt or Full to 1-Way or Down) or progresses to a terminal state (e.g.,
2-Way or Full). When a neighbor transitions from or to Full on non-broadcast multi-access
and broadcast networks, the trap should be generated by the designated router. A designated
router transitioning to Down will be noted by ospfIfStateChange."
::= 2
ospfVirtNbrStateChangeV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfVirtNbrArea,
ospfVirtNbrRtrId,
ospfVirtNbrState -- The new state
}
DESCRIPTION
"An ospfIfStateChange trap signifies that there has been a change in the state of an OSPF vir-
tual neighbor. This trap should be generated when the neighbor state regresses (e.g., goes
from Attempt or Full to 1-Way or Down) or progresses to a terminal state (e.g., Full)."
::= 3
ospfIfConfigErrorV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfIfIpAddress,
ospfAddressLessIf,
ospfPacketSrc, -- The source IP address
ospfConfigErrorType, -- Type of error
ospfPacketType
}
DESCRIPTION
"An ospfIfConfigError trap signifies that a packet has been received on a non-virtual interface
from a router whose configuration parameters conflict with this router's configuration
parameters. Note that the event optionMismatch should cause a trap only if it
prevents an adjacency from forming."
::= 4
ospfVirtIfConfigErrorV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfVirtIfAreaId,
ospfVirtIfNeighbor,
ospfConfigErrorType, -- Type of error
ospfPacketType
}
DESCRIPTION
"An ospfConfigError trap signifies that a packet has been received on a virtual interface
from a router whose configuration parameters conflict with this router's configuration
parameters. Note that the event optionMismatch should cause a trap only if it prevents an
adjacency from forming."
::= 5
ospfIfAuthFailureV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfIfIpAddress,
ospfAddressLessIf,
ospfPacketSrc, -- The source IP address
ospfConfigErrorType, -- authTypeMismatch or
-- authFailure
ospfPacketType
}
DESCRIPTION
"An ospfIfAuthFailure trap signifies that a packet has been received on a non-virtual
interface from a router whose authentication key or authentication type conflicts with this
router's authentication key or authentication type."
::= 6
ospfVirtIfAuthFailureV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfVirtIfAreaId,
ospfVirtIfNeighbor,
ospfConfigErrorType, -- authTypeMismatch or
-- authFailure
ospfPacketType
}
DESCRIPTION
"An ospfVirtIfAuthFailure trap signifies that a packet has been received on a virtual interface
from a router whose authentication key or authentication type conflicts with this router's
authentication key or authentication type."
::= 7
ospfIfRxBadPacketV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfIfIpAddress,
ospfAddressLessIf,
ospfPacketSrc, -- The source IP address
ospfPacketType
}
DESCRIPTION
"An ospfIfRxBadPacket trap signifies that an OSPF packet has been received on a non-virtual
interface that cannot be parsed."
::= 8
ospfVirtIfRxBadPacketV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfVirtIfAreaId,
ospfVirtIfNeighbor,
ospfPacketType
}
DESCRIPTION
"An ospfRxBadPacket trap signifies that an OSPF
packet has been received on a virtual interface that cannot be parsed."
::= 9
ospfTxRetransmitV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfIfIpAddress,
ospfAddressLessIf,
ospfNbrRtrId, -- Destination
ospfPacketType,
ospfLsdbType,
ospfLsdbLsid,
ospfLsdbRouterId
}
DESCRIPTION
"An ospfTxRetransmit trap signifies than an OSPF packet has been retransmitted on a non-
virtual interface. All packets that may be retransmitted are associated with an LSDB entry.
The LS type, LS ID, and Router ID are used to identify the LSDB entry."
::= 10
ospfVirtIfTxRetransmitV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, - The originator of the trap
ospfVirtIfAreaId,
ospfVirtIfNeighbor,
ospfPacketType,
ospfLsdbType,
ospfLsdbLsid,
ospfLsdbRouterId
}
DESCRIPTION
"An ospfTxRetransmit trap signifies than an OSPF packet has been retransmitted on a virtual
interface. All packets that may be retransmitted are associated with an LSDB entry. The LS
type, LS ID, and Router ID are used to identify the LSDB entry."
::= 11
ospfOriginateLsaV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
ospfLsdbType,
ospfLsdbLsid,
ospfLsdbRouterId
}
DESCRIPTION
"An ospfOriginateLsa trap signifies that a new LSA has been originated by this router. This
trap should not be invoked for simple refreshes of LSAs (which happen every 30 minutes),
but instead will only be invoked when an LSA is (re)originated due to a topology change.
Additionally, this trap does not include LSAs that are being flushed because they have
reached MaxAge."
::= 12
ospfMaxAgeLsaV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
ospfLsdbType,
ospfLsdbLsid,
ospfLsdbRouterId
}
DESCRIPTION
"An ospfMaxAgeLsa trap signifies that one of the LSAs in the router's link-state database has
aged to MaxAge."
::= 13
ospfLsdbOverflowV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfExtLsdbLimit
}
DESCRIPTION
"An ospfLsdbOverflow trap signifies that the number of LSAs in the router's link-state data-
base has exceeded ospfExtLsdbLimit."
::= 14
ospfLsdbApproachingOverflowV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfExtLsdbLimit
}
DESCRIPTION
"An ospfLsdbApproachingOverflow trap signifies that the number of LSAs in the router's link-
state database has exceeded ninety percent of ospfExtLsdbLimit."
::= 15
ospfIfStateChangeV1 TRAP-TYPE
ENTERPRISE juniperMIB
VARIABLES {
ospfRouterId, -- The originator of the trap
ospfIfIpAddress,
ospfAddressLessIf,
ospfIfState -- The new state
}
DESCRIPTION
"An ospfIfStateChange trap signifies that there has been a change in the state of a non-
virtual OSPF interface. This trap should be generated when the interface state regresses
(e.g., goes from Dr to Down) or progresses to a terminal state (i.e., Point-to-Point, DR Other,
Dr, or Backup)."
::= 16
END