mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +00:00
Merge pull request #3487 from opensourcerouting/master-license-foo
[master] license foo
This commit is contained in:
commit
8b26284ba1
@ -1,929 +0,0 @@
|
|||||||
BGP4-MIB DEFINITIONS ::= BEGIN
|
|
||||||
|
|
||||||
IMPORTS
|
|
||||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
|
|
||||||
IpAddress, Integer32, Counter32, Gauge32, mib-2
|
|
||||||
FROM SNMPv2-SMI
|
|
||||||
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
|
|
||||||
FROM SNMPv2-CONF;
|
|
||||||
|
|
||||||
bgp MODULE-IDENTITY
|
|
||||||
LAST-UPDATED "9902100000Z"
|
|
||||||
ORGANIZATION "IETF IDR Working Group"
|
|
||||||
CONTACT-INFO "E-mail: idr@merit.net
|
|
||||||
|
|
||||||
Susan Hares (Editor)
|
|
||||||
Merit Network
|
|
||||||
4251 Plymouth Road
|
|
||||||
Suite C
|
|
||||||
Ann Arbor, MI 48105-2785
|
|
||||||
Tel: +1 734 936 2095
|
|
||||||
Fax: +1 734 647 3185
|
|
||||||
E-mail: skh@merit.edu
|
|
||||||
|
|
||||||
Jeff Johnson (Editor)
|
|
||||||
RedBack Networks, Inc.
|
|
||||||
1389 Moffett Park Drive
|
|
||||||
Sunnyvale, CA 94089-1134
|
|
||||||
Tel: +1 408 548 3516
|
|
||||||
Fax: +1 408 548 3599
|
|
||||||
E-mail: jeff@redback.com"
|
|
||||||
DESCRIPTION
|
|
||||||
"The MIB module for BGP-4."
|
|
||||||
REVISION "9902100000Z"
|
|
||||||
DESCRIPTION
|
|
||||||
"Corrected duplicate OBJECT IDENTIFIER
|
|
||||||
assignment in the conformance information."
|
|
||||||
REVISION "9601080000Z"
|
|
||||||
DESCRIPTION
|
|
||||||
"1) Fixed the definitions of the traps to
|
|
||||||
make them equivalent to their initial
|
|
||||||
definition in RFC 1269.
|
|
||||||
2) Added compliance and conformance info."
|
|
||||||
::= { mib-2 15 }
|
|
||||||
|
|
||||||
bgpVersion OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE (1..255))
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Vector of supported BGP protocol version
|
|
||||||
numbers. Each peer negotiates the version
|
|
||||||
from this vector. Versions are identified
|
|
||||||
via the string of bits contained within this
|
|
||||||
object. The first octet contains bits 0 to
|
|
||||||
7, the second octet contains bits 8 to 15,
|
|
||||||
and so on, with the most significant bit
|
|
||||||
referring to the lowest bit number in the
|
|
||||||
octet (e.g., the MSB of the first octet
|
|
||||||
refers to bit 0). If a bit, i, is present
|
|
||||||
and set, then the version (i+1) of the BGP
|
|
||||||
is supported."
|
|
||||||
::= { bgp 1 }
|
|
||||||
|
|
||||||
bgpLocalAs OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..65535)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The local autonomous system number."
|
|
||||||
::= { bgp 2 }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- BGP Peer table. This table contains, one entry per BGP
|
|
||||||
-- peer, information about the BGP peer.
|
|
||||||
|
|
||||||
bgpPeerTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF BgpPeerEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"BGP peer table. This table contains,
|
|
||||||
one entry per BGP peer, information about the
|
|
||||||
connections with BGP peers."
|
|
||||||
::= { bgp 3 }
|
|
||||||
|
|
||||||
bgpPeerEntry OBJECT-TYPE
|
|
||||||
SYNTAX BgpPeerEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Entry containing information about the
|
|
||||||
connection with a BGP peer."
|
|
||||||
INDEX { bgpPeerRemoteAddr }
|
|
||||||
::= { bgpPeerTable 1 }
|
|
||||||
|
|
||||||
BgpPeerEntry ::= SEQUENCE {
|
|
||||||
bgpPeerIdentifier
|
|
||||||
IpAddress,
|
|
||||||
bgpPeerState
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerAdminStatus
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerNegotiatedVersion
|
|
||||||
Integer32,
|
|
||||||
bgpPeerLocalAddr
|
|
||||||
IpAddress,
|
|
||||||
bgpPeerLocalPort
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerRemoteAddr
|
|
||||||
IpAddress,
|
|
||||||
bgpPeerRemotePort
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerRemoteAs
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerInUpdates
|
|
||||||
Counter32,
|
|
||||||
bgpPeerOutUpdates
|
|
||||||
Counter32,
|
|
||||||
bgpPeerInTotalMessages
|
|
||||||
Counter32,
|
|
||||||
bgpPeerOutTotalMessages
|
|
||||||
Counter32,
|
|
||||||
bgpPeerLastError
|
|
||||||
OCTET STRING,
|
|
||||||
bgpPeerFsmEstablishedTransitions
|
|
||||||
Counter32,
|
|
||||||
bgpPeerFsmEstablishedTime
|
|
||||||
Gauge32,
|
|
||||||
bgpPeerConnectRetryInterval
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerHoldTime
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerKeepAlive
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerHoldTimeConfigured
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerKeepAliveConfigured
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerMinASOriginationInterval
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerMinRouteAdvertisementInterval
|
|
||||||
INTEGER,
|
|
||||||
bgpPeerInUpdateElapsedTime
|
|
||||||
Gauge32
|
|
||||||
}
|
|
||||||
|
|
||||||
bgpPeerIdentifier OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP Identifier of this entry's BGP peer."
|
|
||||||
::= { bgpPeerEntry 1 }
|
|
||||||
|
|
||||||
bgpPeerState OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
idle(1),
|
|
||||||
connect(2),
|
|
||||||
active(3),
|
|
||||||
opensent(4),
|
|
||||||
openconfirm(5),
|
|
||||||
established(6)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP peer connection state."
|
|
||||||
::= { bgpPeerEntry 2 }
|
|
||||||
|
|
||||||
bgpPeerAdminStatus OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
stop(1),
|
|
||||||
start(2)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The desired state of the BGP connection. A
|
|
||||||
transition from 'stop' to 'start' will cause
|
|
||||||
the BGP Start Event to be generated. A
|
|
||||||
transition from 'start' to 'stop' will cause
|
|
||||||
the BGP Stop Event to be generated. This
|
|
||||||
parameter can be used to restart BGP peer
|
|
||||||
connections. Care should be used in providing
|
|
||||||
write access to this object without adequate
|
|
||||||
authentication."
|
|
||||||
::= { bgpPeerEntry 3 }
|
|
||||||
|
|
||||||
bgpPeerNegotiatedVersion OBJECT-TYPE
|
|
||||||
SYNTAX Integer32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The negotiated version of BGP running between
|
|
||||||
the two peers."
|
|
||||||
::= { bgpPeerEntry 4 }
|
|
||||||
|
|
||||||
bgpPeerLocalAddr OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The local IP address of this entry's BGP
|
|
||||||
connection."
|
|
||||||
::= { bgpPeerEntry 5 }
|
|
||||||
|
|
||||||
bgpPeerLocalPort OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..65535)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The local port for the TCP connection between
|
|
||||||
the BGP peers."
|
|
||||||
::= { bgpPeerEntry 6 }
|
|
||||||
|
|
||||||
bgpPeerRemoteAddr OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The remote IP address of this entry's BGP
|
|
||||||
peer."
|
|
||||||
::= { bgpPeerEntry 7 }
|
|
||||||
|
|
||||||
bgpPeerRemotePort OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..65535)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The remote port for the TCP connection between
|
|
||||||
the BGP peers. Note that the objects
|
|
||||||
bgpPeerLocalAddr, bgpPeerLocalPort,
|
|
||||||
bgpPeerRemoteAddr and bgpPeerRemotePort
|
|
||||||
provide the appropriate reference to the
|
|
||||||
standard MIB TCP connection table."
|
|
||||||
::= { bgpPeerEntry 8 }
|
|
||||||
|
|
||||||
bgpPeerRemoteAs OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..65535)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The remote autonomous system number."
|
|
||||||
::= { bgpPeerEntry 9 }
|
|
||||||
|
|
||||||
bgpPeerInUpdates OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of BGP UPDATE messages received on
|
|
||||||
this connection. This object should be
|
|
||||||
initialized to zero (0) when the connection is
|
|
||||||
established."
|
|
||||||
::= { bgpPeerEntry 10 }
|
|
||||||
|
|
||||||
bgpPeerOutUpdates OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of BGP UPDATE messages transmitted
|
|
||||||
on this connection. This object should be
|
|
||||||
initialized to zero (0) when the connection is
|
|
||||||
established."
|
|
||||||
::= { bgpPeerEntry 11 }
|
|
||||||
|
|
||||||
bgpPeerInTotalMessages OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The total number of messages received from the
|
|
||||||
remote peer on this connection. This object
|
|
||||||
should be initialized to zero when the
|
|
||||||
connection is established."
|
|
||||||
::= { bgpPeerEntry 12 }
|
|
||||||
|
|
||||||
bgpPeerOutTotalMessages OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The total number of messages transmitted to
|
|
||||||
the remote peer on this connection. This object
|
|
||||||
should be initialized to zero when the
|
|
||||||
connection is established."
|
|
||||||
::= { bgpPeerEntry 13 }
|
|
||||||
|
|
||||||
bgpPeerLastError OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE (2))
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The last error code and subcode seen by this
|
|
||||||
peer on this connection. If no error has
|
|
||||||
occurred, this field is zero. Otherwise, the
|
|
||||||
first byte of this two byte OCTET STRING
|
|
||||||
contains the error code, and the second byte
|
|
||||||
contains the subcode."
|
|
||||||
::= { bgpPeerEntry 14 }
|
|
||||||
|
|
||||||
bgpPeerFsmEstablishedTransitions OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The total number of times the BGP FSM
|
|
||||||
transitioned into the established state."
|
|
||||||
::= { bgpPeerEntry 15 }
|
|
||||||
|
|
||||||
bgpPeerFsmEstablishedTime OBJECT-TYPE
|
|
||||||
SYNTAX Gauge32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This timer indicates how long (in seconds) this
|
|
||||||
peer has been in the Established state or how long
|
|
||||||
since this peer was last in the Established state.
|
|
||||||
It is set to zero when a new peer is configured or
|
|
||||||
the router is booted."
|
|
||||||
::= { bgpPeerEntry 16 }
|
|
||||||
|
|
||||||
bgpPeerConnectRetryInterval OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (1..65535)
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the ConnectRetry
|
|
||||||
timer. The suggested value for this timer is
|
|
||||||
120 seconds."
|
|
||||||
::= { bgpPeerEntry 17 }
|
|
||||||
|
|
||||||
bgpPeerHoldTime OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0 | 3..65535 )
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the Hold Timer
|
|
||||||
established with the peer. The value of this
|
|
||||||
object is calculated by this BGP speaker by
|
|
||||||
using the smaller of the value in
|
|
||||||
bgpPeerHoldTimeConfigured and the Hold Time
|
|
||||||
received in the OPEN message. This value
|
|
||||||
must be at lease three seconds if it is not
|
|
||||||
zero (0) in which case the Hold Timer has
|
|
||||||
not been established with the peer, or, the
|
|
||||||
value of bgpPeerHoldTimeConfigured is zero (0)."
|
|
||||||
::= { bgpPeerEntry 18 }
|
|
||||||
|
|
||||||
bgpPeerKeepAlive OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0 | 1..21845 )
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the KeepAlive
|
|
||||||
timer established with the peer. The value of
|
|
||||||
this object is calculated by this BGP speaker
|
|
||||||
such that, when compared with bgpPeerHoldTime,
|
|
||||||
it has the same proportion as what
|
|
||||||
bgpPeerKeepAliveConfigured has when compared
|
|
||||||
with bgpPeerHoldTimeConfigured. If the value
|
|
||||||
of this object is zero (0), it indicates that
|
|
||||||
the KeepAlive timer has not been established
|
|
||||||
with the peer, or, the value of
|
|
||||||
bgpPeerKeepAliveConfigured is zero (0)."
|
|
||||||
::= { bgpPeerEntry 19 }
|
|
||||||
|
|
||||||
bgpPeerHoldTimeConfigured OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0 | 3..65535 )
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the Hold Time
|
|
||||||
configured for this BGP speaker with this peer.
|
|
||||||
This value is placed in an OPEN message sent to
|
|
||||||
this peer by this BGP speaker, and is compared
|
|
||||||
with the Hold Time field in an OPEN message
|
|
||||||
received from the peer when determining the Hold
|
|
||||||
Time (bgpPeerHoldTime) with the peer. This value
|
|
||||||
must not be less than three seconds if it is not
|
|
||||||
zero (0) in which case the Hold Time is NOT to be
|
|
||||||
established with the peer. The suggested value for
|
|
||||||
this timer is 90 seconds."
|
|
||||||
::= { bgpPeerEntry 20 }
|
|
||||||
|
|
||||||
bgpPeerKeepAliveConfigured OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0 | 1..21845 )
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the KeepAlive timer
|
|
||||||
configured for this BGP speaker with this peer.
|
|
||||||
The value of this object will only determine the
|
|
||||||
KEEPALIVE messages' frequency relative to the value
|
|
||||||
specified in bgpPeerHoldTimeConfigured; the actual
|
|
||||||
time interval for the KEEPALIVE messages is
|
|
||||||
indicated by bgpPeerKeepAlive. A reasonable
|
|
||||||
maximum value for this timer would be configured to
|
|
||||||
be one third of that of bgpPeerHoldTimeConfigured.
|
|
||||||
If the value of this object is zero (0), no
|
|
||||||
periodical KEEPALIVE messages are sent to the peer
|
|
||||||
after the BGP connection has been established. The
|
|
||||||
suggested value for this timer is 30 seconds."
|
|
||||||
::= { bgpPeerEntry 21 }
|
|
||||||
|
|
||||||
bgpPeerMinASOriginationInterval OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (1..65535)
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the
|
|
||||||
MinASOriginationInterval timer.
|
|
||||||
The suggested value for this timer is 15 seconds."
|
|
||||||
::= { bgpPeerEntry 22 }
|
|
||||||
|
|
||||||
bgpPeerMinRouteAdvertisementInterval OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (1..65535)
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Time interval in seconds for the
|
|
||||||
MinRouteAdvertisementInterval timer.
|
|
||||||
The suggested value for this timer is 30 seconds."
|
|
||||||
::= { bgpPeerEntry 23 }
|
|
||||||
|
|
||||||
bgpPeerInUpdateElapsedTime OBJECT-TYPE
|
|
||||||
SYNTAX Gauge32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Elapsed time in seconds since the last BGP
|
|
||||||
UPDATE message was received from the peer.
|
|
||||||
Each time bgpPeerInUpdates is incremented,
|
|
||||||
the value of this object is set to zero (0)."
|
|
||||||
::= { bgpPeerEntry 24 }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bgpIdentifier OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP Identifier of local system."
|
|
||||||
::= { bgp 4 }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Received Path Attribute Table. This table contains,
|
|
||||||
-- one entry per path to a network, path attributes
|
|
||||||
-- received from all peers running BGP version 3 or less.
|
|
||||||
-- This table is obsolete, having been replaced in
|
|
||||||
-- functionality with the bgp4PathAttrTable.
|
|
||||||
|
|
||||||
bgpRcvdPathAttrTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF BgpPathAttrEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP Received Path Attribute Table contains
|
|
||||||
information about paths to destination networks
|
|
||||||
received from all peers running BGP version 3 or
|
|
||||||
less."
|
|
||||||
::= { bgp 5 }
|
|
||||||
|
|
||||||
bgpPathAttrEntry OBJECT-TYPE
|
|
||||||
SYNTAX BgpPathAttrEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"Information about a path to a network."
|
|
||||||
INDEX { bgpPathAttrDestNetwork,
|
|
||||||
bgpPathAttrPeer }
|
|
||||||
::= { bgpRcvdPathAttrTable 1 }
|
|
||||||
|
|
||||||
BgpPathAttrEntry ::= SEQUENCE {
|
|
||||||
bgpPathAttrPeer
|
|
||||||
IpAddress,
|
|
||||||
bgpPathAttrDestNetwork
|
|
||||||
IpAddress,
|
|
||||||
bgpPathAttrOrigin
|
|
||||||
INTEGER,
|
|
||||||
bgpPathAttrASPath
|
|
||||||
OCTET STRING,
|
|
||||||
bgpPathAttrNextHop
|
|
||||||
IpAddress,
|
|
||||||
bgpPathAttrInterASMetric
|
|
||||||
Integer32
|
|
||||||
}
|
|
||||||
|
|
||||||
bgpPathAttrPeer OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP address of the peer where the path
|
|
||||||
information was learned."
|
|
||||||
::= { bgpPathAttrEntry 1 }
|
|
||||||
|
|
||||||
bgpPathAttrDestNetwork OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The address of the destination network."
|
|
||||||
::= { bgpPathAttrEntry 2 }
|
|
||||||
|
|
||||||
bgpPathAttrOrigin OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
igp(1),-- networks are interior
|
|
||||||
egp(2),-- networks learned via EGP
|
|
||||||
incomplete(3) -- undetermined
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The ultimate origin of the path information."
|
|
||||||
::= { bgpPathAttrEntry 3 }
|
|
||||||
|
|
||||||
bgpPathAttrASPath OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE (2..255))
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The set of ASs that must be traversed to reach
|
|
||||||
the network. This object is probably best
|
|
||||||
represented as SEQUENCE OF INTEGER. For SMI
|
|
||||||
compatibility, though, it is represented as
|
|
||||||
OCTET STRING. Each AS is represented as a pair
|
|
||||||
of octets according to the following algorithm:
|
|
||||||
|
|
||||||
first-byte-of-pair = ASNumber / 256;
|
|
||||||
second-byte-of-pair = ASNumber & 255;"
|
|
||||||
::= { bgpPathAttrEntry 4 }
|
|
||||||
|
|
||||||
bgpPathAttrNextHop OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The address of the border router that should
|
|
||||||
be used for the destination network."
|
|
||||||
::= { bgpPathAttrEntry 5 }
|
|
||||||
|
|
||||||
bgpPathAttrInterASMetric OBJECT-TYPE
|
|
||||||
SYNTAX Integer32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"The optional inter-AS metric. If this
|
|
||||||
attribute has not been provided for this route,
|
|
||||||
the value for this object is 0."
|
|
||||||
::= { bgpPathAttrEntry 6 }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- BGP-4 Received Path Attribute Table. This table contains,
|
|
||||||
-- one entry per path to a network, path attributes
|
|
||||||
-- received from all peers running BGP-4.
|
|
||||||
|
|
||||||
bgp4PathAttrTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF Bgp4PathAttrEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP-4 Received Path Attribute Table contains
|
|
||||||
information about paths to destination networks
|
|
||||||
received from all BGP4 peers."
|
|
||||||
::= { bgp 6 }
|
|
||||||
|
|
||||||
bgp4PathAttrEntry OBJECT-TYPE
|
|
||||||
SYNTAX Bgp4PathAttrEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Information about a path to a network."
|
|
||||||
INDEX { bgp4PathAttrIpAddrPrefix,
|
|
||||||
bgp4PathAttrIpAddrPrefixLen,
|
|
||||||
bgp4PathAttrPeer }
|
|
||||||
::= { bgp4PathAttrTable 1 }
|
|
||||||
|
|
||||||
Bgp4PathAttrEntry ::= SEQUENCE {
|
|
||||||
bgp4PathAttrPeer
|
|
||||||
IpAddress,
|
|
||||||
bgp4PathAttrIpAddrPrefixLen
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrIpAddrPrefix
|
|
||||||
IpAddress,
|
|
||||||
bgp4PathAttrOrigin
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrASPathSegment
|
|
||||||
OCTET STRING,
|
|
||||||
bgp4PathAttrNextHop
|
|
||||||
IpAddress,
|
|
||||||
bgp4PathAttrMultiExitDisc
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrLocalPref
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrAtomicAggregate
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrAggregatorAS
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrAggregatorAddr
|
|
||||||
IpAddress,
|
|
||||||
bgp4PathAttrCalcLocalPref
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrBest
|
|
||||||
INTEGER,
|
|
||||||
bgp4PathAttrUnknown
|
|
||||||
OCTET STRING
|
|
||||||
}
|
|
||||||
|
|
||||||
bgp4PathAttrPeer OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP address of the peer where the path
|
|
||||||
information was learned."
|
|
||||||
::= { bgp4PathAttrEntry 1 }
|
|
||||||
bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..32)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Length in bits of the IP address prefix in the
|
|
||||||
Network Layer Reachability Information field."
|
|
||||||
::= { bgp4PathAttrEntry 2 }
|
|
||||||
|
|
||||||
bgp4PathAttrIpAddrPrefix OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An IP address prefix in the Network Layer
|
|
||||||
Reachability Information field. This object
|
|
||||||
is an IP address containing the prefix with
|
|
||||||
length specified by bgp4PathAttrIpAddrPrefixLen.
|
|
||||||
Any bits beyond the length specified by
|
|
||||||
bgp4PathAttrIpAddrPrefixLen are zeroed."
|
|
||||||
::= { bgp4PathAttrEntry 3 }
|
|
||||||
|
|
||||||
bgp4PathAttrOrigin OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
igp(1),-- networks are interior
|
|
||||||
egp(2),-- networks learned via EGP
|
|
||||||
incomplete(3) -- undetermined
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The ultimate origin of the path information."
|
|
||||||
::= { bgp4PathAttrEntry 4 }
|
|
||||||
|
|
||||||
bgp4PathAttrASPathSegment OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE (2..255))
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The sequence of AS path segments. Each AS
|
|
||||||
path segment is represented by a triple
|
|
||||||
<type, length, value>.
|
|
||||||
|
|
||||||
The type is a 1-octet field which has two
|
|
||||||
possible values:
|
|
||||||
1 AS_SET: unordered set of ASs a
|
|
||||||
route in the UPDATE message
|
|
||||||
has traversed
|
|
||||||
2 AS_SEQUENCE: ordered set of ASs
|
|
||||||
a route in the UPDATE message
|
|
||||||
has traversed.
|
|
||||||
|
|
||||||
The length is a 1-octet field containing the
|
|
||||||
number of ASs in the value field.
|
|
||||||
|
|
||||||
The value field contains one or more AS
|
|
||||||
numbers, each AS is represented in the octet
|
|
||||||
string as a pair of octets according to the
|
|
||||||
following algorithm:
|
|
||||||
|
|
||||||
first-byte-of-pair = ASNumber / 256;
|
|
||||||
second-byte-of-pair = ASNumber & 255;"
|
|
||||||
::= { bgp4PathAttrEntry 5 }
|
|
||||||
|
|
||||||
bgp4PathAttrNextHop OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The address of the border router that should
|
|
||||||
be used for the destination network."
|
|
||||||
::= { bgp4PathAttrEntry 6 }
|
|
||||||
|
|
||||||
bgp4PathAttrMultiExitDisc OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (-1..2147483647)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This metric is used to discriminate between
|
|
||||||
multiple exit points to an adjacent autonomous
|
|
||||||
system. A value of -1 indicates the absence of
|
|
||||||
this attribute."
|
|
||||||
::= { bgp4PathAttrEntry 7 }
|
|
||||||
|
|
||||||
bgp4PathAttrLocalPref OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (-1..2147483647)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The originating BGP4 speaker's degree of
|
|
||||||
preference for an advertised route. A value of
|
|
||||||
-1 indicates the absence of this attribute."
|
|
||||||
::= { bgp4PathAttrEntry 8 }
|
|
||||||
|
|
||||||
bgp4PathAttrAtomicAggregate OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
lessSpecificRrouteNotSelected(1),
|
|
||||||
lessSpecificRouteSelected(2)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Whether or not a system has selected
|
|
||||||
a less specific route without selecting a
|
|
||||||
more specific route."
|
|
||||||
::= { bgp4PathAttrEntry 9 }
|
|
||||||
|
|
||||||
bgp4PathAttrAggregatorAS OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (0..65535)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The AS number of the last BGP4 speaker that
|
|
||||||
performed route aggregation. A value of zero (0)
|
|
||||||
indicates the absence of this attribute."
|
|
||||||
::= { bgp4PathAttrEntry 10 }
|
|
||||||
|
|
||||||
bgp4PathAttrAggregatorAddr OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP address of the last BGP4 speaker that
|
|
||||||
performed route aggregation. A value of
|
|
||||||
0.0.0.0 indicates the absence of this attribute."
|
|
||||||
::= { bgp4PathAttrEntry 11 }
|
|
||||||
|
|
||||||
bgp4PathAttrCalcLocalPref OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER (-1..2147483647)
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The degree of preference calculated by the
|
|
||||||
receiving BGP4 speaker for an advertised route.
|
|
||||||
A value of -1 indicates the absence of this
|
|
||||||
attribute."
|
|
||||||
::= { bgp4PathAttrEntry 12 }
|
|
||||||
|
|
||||||
bgp4PathAttrBest OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
false(1),-- not chosen as best route
|
|
||||||
true(2) -- chosen as best route
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An indication of whether or not this route
|
|
||||||
was chosen as the best BGP4 route."
|
|
||||||
::= { bgp4PathAttrEntry 13 }
|
|
||||||
|
|
||||||
bgp4PathAttrUnknown OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE(0..255))
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"One or more path attributes not understood
|
|
||||||
by this BGP4 speaker. Size zero (0) indicates
|
|
||||||
the absence of such attribute(s). Octets
|
|
||||||
beyond the maximum size, if any, are not
|
|
||||||
recorded by this object."
|
|
||||||
::= { bgp4PathAttrEntry 14 }
|
|
||||||
|
|
||||||
|
|
||||||
-- Traps.
|
|
||||||
|
|
||||||
-- note that in RFC 1657, bgpTraps was incorrectly
|
|
||||||
-- assigned a value of { bgp 7 }, and each of the
|
|
||||||
-- traps had the bgpPeerRemoteAddr object inappropriately
|
|
||||||
-- removed from their OBJECTS clause. The following
|
|
||||||
-- definitions restore the semantics of the traps as
|
|
||||||
-- they were initially defined in RFC 1269.
|
|
||||||
|
|
||||||
-- { bgp 7 } is unused
|
|
||||||
|
|
||||||
bgpTraps OBJECT IDENTIFIER ::= { bgp 0 }
|
|
||||||
|
|
||||||
bgpEstablished NOTIFICATION-TYPE
|
|
||||||
OBJECTS { bgpPeerRemoteAddr,
|
|
||||||
bgpPeerLastError,
|
|
||||||
bgpPeerState }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGP Established event is generated when
|
|
||||||
the BGP FSM enters the ESTABLISHED state."
|
|
||||||
::= { bgpTraps 1 }
|
|
||||||
|
|
||||||
bgpBackwardTransition NOTIFICATION-TYPE
|
|
||||||
OBJECTS { bgpPeerRemoteAddr,
|
|
||||||
bgpPeerLastError,
|
|
||||||
bgpPeerState }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The BGPBackwardTransition Event is generated
|
|
||||||
when the BGP FSM moves from a higher numbered
|
|
||||||
state to a lower numbered state."
|
|
||||||
::= { bgpTraps 2 }
|
|
||||||
|
|
||||||
-- conformance information
|
|
||||||
|
|
||||||
bgpMIBConformance OBJECT IDENTIFIER ::= { bgp 8 }
|
|
||||||
bgpMIBCompliances OBJECT IDENTIFIER ::= { bgpMIBConformance 1 }
|
|
||||||
bgpMIBGroups OBJECT IDENTIFIER ::= { bgpMIBConformance 2 }
|
|
||||||
|
|
||||||
-- compliance statements
|
|
||||||
|
|
||||||
bgpMIBCompliance MODULE-COMPLIANCE
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The compliance statement for entities which
|
|
||||||
implement the BGP4 mib."
|
|
||||||
MODULE -- this module
|
|
||||||
MANDATORY-GROUPS { bgp4MIBGlobalsGroup,
|
|
||||||
bgp4MIBPeerGroup,
|
|
||||||
bgp4MIBPathAttrGroup,
|
|
||||||
bgp4MIBNotificationGroup }
|
|
||||||
::= { bgpMIBCompliances 1 }
|
|
||||||
|
|
||||||
-- units of conformance
|
|
||||||
|
|
||||||
bgp4MIBGlobalsGroup OBJECT-GROUP
|
|
||||||
OBJECTS { bgpVersion,
|
|
||||||
bgpLocalAs,
|
|
||||||
bgpIdentifier }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A collection of objects providing information
|
|
||||||
on global BGP state."
|
|
||||||
::= { bgpMIBGroups 1 }
|
|
||||||
|
|
||||||
bgp4MIBPeerGroup OBJECT-GROUP
|
|
||||||
OBJECTS { bgpPeerIdentifier,
|
|
||||||
bgpPeerState,
|
|
||||||
bgpPeerAdminStatus,
|
|
||||||
bgpPeerNegotiatedVersion,
|
|
||||||
bgpPeerLocalAddr,
|
|
||||||
bgpPeerLocalPort,
|
|
||||||
bgpPeerRemoteAddr,
|
|
||||||
bgpPeerRemotePort,
|
|
||||||
bgpPeerRemoteAs,
|
|
||||||
bgpPeerInUpdates,
|
|
||||||
bgpPeerOutUpdates,
|
|
||||||
bgpPeerInTotalMessages,
|
|
||||||
bgpPeerOutTotalMessages,
|
|
||||||
bgpPeerLastError,
|
|
||||||
bgpPeerFsmEstablishedTransitions,
|
|
||||||
bgpPeerFsmEstablishedTime,
|
|
||||||
bgpPeerConnectRetryInterval,
|
|
||||||
bgpPeerHoldTime,
|
|
||||||
bgpPeerKeepAlive,
|
|
||||||
bgpPeerHoldTimeConfigured,
|
|
||||||
bgpPeerKeepAliveConfigured,
|
|
||||||
bgpPeerMinASOriginationInterval,
|
|
||||||
bgpPeerMinRouteAdvertisementInterval,
|
|
||||||
bgpPeerInUpdateElapsedTime }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A collection of objects for managing
|
|
||||||
BGP peers."
|
|
||||||
::= { bgpMIBGroups 2 }
|
|
||||||
|
|
||||||
bgp4MIBRcvdPathAttrGroup OBJECT-GROUP
|
|
||||||
OBJECTS { bgpPathAttrPeer,
|
|
||||||
bgpPathAttrDestNetwork,
|
|
||||||
bgpPathAttrOrigin,
|
|
||||||
bgpPathAttrASPath,
|
|
||||||
bgpPathAttrNextHop,
|
|
||||||
bgpPathAttrInterASMetric }
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"A collection of objects for managing BGP
|
|
||||||
path entries.
|
|
||||||
|
|
||||||
This conformance group is obsolete,
|
|
||||||
replaced by bgp4MIBPathAttrGroup."
|
|
||||||
::= { bgpMIBGroups 3 }
|
|
||||||
|
|
||||||
bgp4MIBPathAttrGroup OBJECT-GROUP
|
|
||||||
OBJECTS { bgp4PathAttrPeer,
|
|
||||||
bgp4PathAttrIpAddrPrefixLen,
|
|
||||||
bgp4PathAttrIpAddrPrefix,
|
|
||||||
bgp4PathAttrOrigin,
|
|
||||||
bgp4PathAttrASPathSegment,
|
|
||||||
bgp4PathAttrNextHop,
|
|
||||||
bgp4PathAttrMultiExitDisc,
|
|
||||||
bgp4PathAttrLocalPref,
|
|
||||||
bgp4PathAttrAtomicAggregate,
|
|
||||||
bgp4PathAttrAggregatorAS,
|
|
||||||
bgp4PathAttrAggregatorAddr,
|
|
||||||
bgp4PathAttrCalcLocalPref,
|
|
||||||
bgp4PathAttrBest,
|
|
||||||
bgp4PathAttrUnknown }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A collection of objects for managing
|
|
||||||
BGP path entries."
|
|
||||||
::= { bgpMIBGroups 4 }
|
|
||||||
|
|
||||||
bgp4MIBNotificationGroup NOTIFICATION-GROUP
|
|
||||||
NOTIFICATIONS { bgpEstablished,
|
|
||||||
bgpBackwardTransition }
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A collection of notifications for signaling
|
|
||||||
changes in BGP peer relationships."
|
|
||||||
::= { bgpMIBGroups 5 }
|
|
||||||
|
|
||||||
END
|
|
@ -222,5 +222,3 @@ bgpd/bgp_debug.$(OBJEXT): bgpd/bgp_debug_clippy.c
|
|||||||
bgpd/bgp_rpki_clippy.c: $(CLIPPY_DEPS)
|
bgpd/bgp_rpki_clippy.c: $(CLIPPY_DEPS)
|
||||||
$(AUTOMAKE_DUMMY)bgpd/bgpd_bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
|
$(AUTOMAKE_DUMMY)bgpd/bgpd_bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
|
||||||
$(AUTOMAKE_DUMMY)bgpd/bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
|
$(AUTOMAKE_DUMMY)bgpd/bgpd_rpki_la-bgp_rpki.lo: bgpd/bgp_rpki_clippy.c
|
||||||
|
|
||||||
EXTRA_DIST += bgpd/BGP4-MIB.txt
|
|
||||||
|
@ -68,3 +68,23 @@ Appendix
|
|||||||
bugs
|
bugs
|
||||||
packet-dumps
|
packet-dumps
|
||||||
glossary
|
glossary
|
||||||
|
|
||||||
|
################
|
||||||
|
Copyright notice
|
||||||
|
################
|
||||||
|
|
||||||
|
Copyright (c) 1996-2018 Kunihiro Ishiguro, et al.
|
||||||
|
|
||||||
|
Permission is granted to make and distribute verbatim copies of this
|
||||||
|
manual provided the copyright notice and this permission notice are
|
||||||
|
preserved on all copies.
|
||||||
|
|
||||||
|
Permission is granted to copy and distribute modified versions of this
|
||||||
|
manual under the conditions for verbatim copying, provided that the
|
||||||
|
entire resulting derived work is distributed under the terms of a
|
||||||
|
permission notice identical to this one.
|
||||||
|
|
||||||
|
Permission is granted to copy and distribute translations of this manual
|
||||||
|
into another language, under the above conditions for modified versions,
|
||||||
|
except that this permission notice may be stated in a translation
|
||||||
|
approved by Kunihiro Ishiguro.
|
||||||
|
1321
eigrpd/EIGRP-MIB.txt
1321
eigrpd/EIGRP-MIB.txt
File diff suppressed because it is too large
Load Diff
@ -66,5 +66,3 @@ noinst_HEADERS += \
|
|||||||
|
|
||||||
eigrpd_eigrpd_SOURCES = eigrpd/eigrp_main.c
|
eigrpd_eigrpd_SOURCES = eigrpd/eigrp_main.c
|
||||||
eigrpd_eigrpd_LDADD = eigrpd/libeigrp.a lib/libfrr.la @LIBCAP@
|
eigrpd_eigrpd_LDADD = eigrpd/libeigrp.a lib/libfrr.la @LIBCAP@
|
||||||
|
|
||||||
EXTRA_DIST += eigrpd/EIGRP-MIB.txt
|
|
||||||
|
26
lib/hook.c
26
lib/hook.c
@ -1,23 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 David Lamparter, for NetDEF, Inc.
|
* Copyright (c) 2016 David Lamparter, for NetDEF, Inc.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* to deal in the Software without restriction, including without limitation
|
* copyright notice and this permission notice appear in all copies.
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
* all copies or substantial portions of the Software.
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
*
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
26
lib/hook.h
26
lib/hook.h
@ -1,23 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016 David Lamparter, for NetDEF, Inc.
|
* Copyright (c) 2016 David Lamparter, for NetDEF, Inc.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* to deal in the Software without restriction, including without limitation
|
* copyright notice and this permission notice appear in all copies.
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
* all copies or substantial portions of the Software.
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
*
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FRR_HOOK_H
|
#ifndef _FRR_HOOK_H
|
||||||
|
26
lib/module.c
26
lib/module.c
@ -1,23 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-16 David Lamparter, for NetDEF, Inc.
|
* Copyright (c) 2015-16 David Lamparter, for NetDEF, Inc.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* to deal in the Software without restriction, including without limitation
|
* copyright notice and this permission notice appear in all copies.
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
* all copies or substantial portions of the Software.
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
*
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
26
lib/module.h
26
lib/module.h
@ -1,23 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015-16 David Lamparter, for NetDEF, Inc.
|
* Copyright (c) 2015-16 David Lamparter, for NetDEF, Inc.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* to deal in the Software without restriction, including without limitation
|
* copyright notice and this permission notice appear in all copies.
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
* all copies or substantial portions of the Software.
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
*
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
* DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FRR_MODULE_H
|
#ifndef _FRR_MODULE_H
|
||||||
|
File diff suppressed because it is too large
Load Diff
2723
ospfd/OSPF-MIB.txt
2723
ospfd/OSPF-MIB.txt
File diff suppressed because it is too large
Load Diff
@ -1,443 +0,0 @@
|
|||||||
OSPF-TRAP-MIB DEFINITIONS ::= BEGIN
|
|
||||||
|
|
||||||
IMPORTS
|
|
||||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress
|
|
||||||
FROM SNMPv2-SMI
|
|
||||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
|
||||||
FROM SNMPv2-CONF
|
|
||||||
ospfRouterId, ospfIfIpAddress, ospfAddressLessIf, ospfIfState,
|
|
||||||
ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState,
|
|
||||||
ospfNbrIpAddr, ospfNbrAddressLessIndex, ospfNbrRtrId,
|
|
||||||
ospfNbrState, ospfVirtNbrArea, ospfVirtNbrRtrId, ospfVirtNbrState,
|
|
||||||
ospfLsdbType, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbAreaId,
|
|
||||||
ospfExtLsdbLimit, ospf
|
|
||||||
FROM OSPF-MIB;
|
|
||||||
|
|
||||||
ospfTrap MODULE-IDENTITY
|
|
||||||
LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995
|
|
||||||
ORGANIZATION "IETF OSPF Working Group"
|
|
||||||
CONTACT-INFO
|
|
||||||
" Fred Baker
|
|
||||||
Postal: Cisco Systems
|
|
||||||
519 Lado Drive
|
|
||||||
Santa Barbara, California 93111
|
|
||||||
Tel: +1 805 681 0115
|
|
||||||
E-Mail: fred@cisco.com
|
|
||||||
|
|
||||||
Rob Coltun
|
|
||||||
Postal: RainbowBridge Communications
|
|
||||||
Tel: (301) 340-9416
|
|
||||||
E-Mail: rcoltun@rainbow-bridge.com"
|
|
||||||
DESCRIPTION
|
|
||||||
"The MIB module to describe traps for the OSPF
|
|
||||||
Version 2 Protocol."
|
|
||||||
::= { ospf 16 }
|
|
||||||
|
|
||||||
-- Trap Support Objects
|
|
||||||
|
|
||||||
-- The following are support objects for the OSPF traps.
|
|
||||||
|
|
||||||
ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 }
|
|
||||||
ospfTraps OBJECT IDENTIFIER ::= { ospfTrap 2 }
|
|
||||||
|
|
||||||
ospfSetTrap OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE(4))
|
|
||||||
MAX-ACCESS read-write
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A four-octet string serving as a bit map for
|
|
||||||
the trap events defined by the OSPF traps. This
|
|
||||||
object is used to enable and disable specific
|
|
||||||
OSPF traps where a 1 in the bit field
|
|
||||||
represents enabled. The right-most bit (least
|
|
||||||
significant) represents trap 0."
|
|
||||||
::= { ospfTrapControl 1 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfConfigErrorType OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
badVersion (1),
|
|
||||||
areaMismatch (2),
|
|
||||||
unknownNbmaNbr (3), -- Router is Dr eligible
|
|
||||||
unknownVirtualNbr (4),
|
|
||||||
authTypeMismatch(5),
|
|
||||||
authFailure (6),
|
|
||||||
netMaskMismatch (7),
|
|
||||||
helloIntervalMismatch (8),
|
|
||||||
deadIntervalMismatch (9),
|
|
||||||
optionMismatch (10) }
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Potential types of configuration conflicts.
|
|
||||||
Used by the ospfConfigError and ospfConfigVir-
|
|
||||||
tError traps."
|
|
||||||
::= { ospfTrapControl 2 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfPacketType OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
hello (1),
|
|
||||||
dbDescript (2),
|
|
||||||
lsReq (3),
|
|
||||||
lsUpdate (4),
|
|
||||||
lsAck (5) }
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"OSPF packet types."
|
|
||||||
::= { ospfTrapControl 3 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfPacketSrc OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP address of an inbound packet that can-
|
|
||||||
not be identified by a neighbor instance."
|
|
||||||
::= { ospfTrapControl 4 }
|
|
||||||
|
|
||||||
|
|
||||||
-- Traps
|
|
||||||
|
|
||||||
|
|
||||||
ospfIfStateChange NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfIfIpAddress,
|
|
||||||
ospfAddressLessIf,
|
|
||||||
ospfIfState -- The new state
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
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)."
|
|
||||||
::= { ospfTraps 16 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfVirtIfStateChange NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtIfAreaId,
|
|
||||||
ospfVirtIfNeighbor,
|
|
||||||
ospfVirtIfState -- The new state
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfIfStateChange trap signifies that there
|
|
||||||
has been a change in the state of an OSPF vir-
|
|
||||||
tual interface.
|
|
||||||
This trap should be generated when the inter-
|
|
||||||
face state regresses (e.g., goes from Point-
|
|
||||||
to-Point to Down) or progresses to a terminal
|
|
||||||
state (i.e., Point-to-Point)."
|
|
||||||
::= { ospfTraps 1 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfNbrStateChange NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfNbrIpAddr,
|
|
||||||
ospfNbrAddressLessIndex,
|
|
||||||
ospfNbrRtrId,
|
|
||||||
ospfNbrState -- The new state
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
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 an neighbor transitions
|
|
||||||
from or to Full on non-broadcast multi-access
|
|
||||||
and broadcast networks, the trap should be gen-
|
|
||||||
erated by the designated router. A designated
|
|
||||||
router transitioning to Down will be noted by
|
|
||||||
ospfIfStateChange."
|
|
||||||
::= { ospfTraps 2 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfVirtNbrStateChange NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtNbrArea,
|
|
||||||
ospfVirtNbrRtrId,
|
|
||||||
ospfVirtNbrState -- The new state
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
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)."
|
|
||||||
::= { ospfTraps 3 }
|
|
||||||
ospfIfConfigError NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfIfIpAddress,
|
|
||||||
ospfAddressLessIf,
|
|
||||||
ospfPacketSrc, -- The source IP address
|
|
||||||
ospfConfigErrorType, -- Type of error
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfIfConfigError trap signifies that a
|
|
||||||
packet has been received on a non-virtual in-
|
|
||||||
terface from a router whose configuration
|
|
||||||
parameters conflict with this router's confi-
|
|
||||||
guration parameters. Note that the event op-
|
|
||||||
tionMismatch should cause a trap only if it
|
|
||||||
prevents an adjacency from forming."
|
|
||||||
::= { ospfTraps 4 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfVirtIfConfigError NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtIfAreaId,
|
|
||||||
ospfVirtIfNeighbor,
|
|
||||||
ospfConfigErrorType, -- Type of error
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfConfigError trap signifies that a pack-
|
|
||||||
et 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 ad-
|
|
||||||
jacency from forming."
|
|
||||||
::= { ospfTraps 5 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfIfAuthFailure NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfIfIpAddress,
|
|
||||||
ospfAddressLessIf,
|
|
||||||
ospfPacketSrc, -- The source IP address
|
|
||||||
ospfConfigErrorType, -- authTypeMismatch or
|
|
||||||
-- authFailure
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfIfAuthFailure trap signifies that a
|
|
||||||
packet has been received on a non-virtual in-
|
|
||||||
terface from a router whose authentication key
|
|
||||||
or authentication type conflicts with this
|
|
||||||
router's authentication key or authentication
|
|
||||||
type."
|
|
||||||
::= { ospfTraps 6 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfVirtIfAuthFailure NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtIfAreaId,
|
|
||||||
ospfVirtIfNeighbor,
|
|
||||||
ospfConfigErrorType, -- authTypeMismatch or
|
|
||||||
-- authFailure
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfVirtIfAuthFailure trap signifies that a
|
|
||||||
packet has been received on a virtual interface
|
|
||||||
from a router whose authentication key or au-
|
|
||||||
thentication type conflicts with this router's
|
|
||||||
authentication key or authentication type."
|
|
||||||
::= { ospfTraps 7 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfIfRxBadPacket NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfIfIpAddress,
|
|
||||||
ospfAddressLessIf,
|
|
||||||
ospfPacketSrc, -- The source IP address
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfIfRxBadPacket trap signifies that an
|
|
||||||
OSPF packet has been received on a non-virtual
|
|
||||||
interface that cannot be parsed."
|
|
||||||
::= { ospfTraps 8 }
|
|
||||||
|
|
||||||
ospfVirtIfRxBadPacket NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtIfAreaId,
|
|
||||||
ospfVirtIfNeighbor,
|
|
||||||
ospfPacketType
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfRxBadPacket trap signifies that an OSPF
|
|
||||||
packet has been received on a virtual interface
|
|
||||||
that cannot be parsed."
|
|
||||||
::= { ospfTraps 9 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfTxRetransmit NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfIfIpAddress,
|
|
||||||
ospfAddressLessIf,
|
|
||||||
ospfNbrRtrId, -- Destination
|
|
||||||
ospfPacketType,
|
|
||||||
ospfLsdbType,
|
|
||||||
ospfLsdbLsid,
|
|
||||||
ospfLsdbRouterId
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfTxRetransmit trap signifies than an
|
|
||||||
OSPF packet has been retransmitted on a non-
|
|
||||||
virtual interface. All packets that may be re-
|
|
||||||
transmitted are associated with an LSDB entry.
|
|
||||||
The LS type, LS ID, and Router ID are used to
|
|
||||||
identify the LSDB entry."
|
|
||||||
::= { ospfTraps 10 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfVirtIfTxRetransmit NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfVirtIfAreaId,
|
|
||||||
ospfVirtIfNeighbor,
|
|
||||||
ospfPacketType,
|
|
||||||
ospfLsdbType,
|
|
||||||
ospfLsdbLsid,
|
|
||||||
ospfLsdbRouterId
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfTxRetransmit trap signifies than an
|
|
||||||
OSPF packet has been retransmitted on a virtual
|
|
||||||
interface. All packets that may be retransmit-
|
|
||||||
ted are associated with an LSDB entry. The LS
|
|
||||||
type, LS ID, and Router ID are used to identify
|
|
||||||
the LSDB entry."
|
|
||||||
::= { ospfTraps 11 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfOriginateLsa NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
|
|
||||||
ospfLsdbType,
|
|
||||||
ospfLsdbLsid,
|
|
||||||
ospfLsdbRouterId
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
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 happesn every 30 minutes), but
|
|
||||||
instead will only be invoked when an LSA is
|
|
||||||
(re)originated due to a topology change. Addi-
|
|
||||||
tionally, this trap does not include LSAs that
|
|
||||||
are being flushed because they have reached
|
|
||||||
MaxAge."
|
|
||||||
::= { ospfTraps 12 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfMaxAgeLsa NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
|
|
||||||
ospfLsdbType,
|
|
||||||
ospfLsdbLsid,
|
|
||||||
ospfLsdbRouterId
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfMaxAgeLsa trap signifies that one of
|
|
||||||
the LSA in the router's link-state database has
|
|
||||||
aged to MaxAge."
|
|
||||||
::= { ospfTraps 13 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfLsdbOverflow NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfExtLsdbLimit
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfLsdbOverflow trap signifies that the
|
|
||||||
number of LSAs in the router's link-state data-
|
|
||||||
base has exceeded ospfExtLsdbLimit."
|
|
||||||
::= { ospfTraps 14 }
|
|
||||||
|
|
||||||
|
|
||||||
ospfLsdbApproachingOverflow NOTIFICATION-TYPE
|
|
||||||
OBJECTS {
|
|
||||||
ospfRouterId, -- The originator of the trap
|
|
||||||
ospfExtLsdbLimit
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"An ospfLsdbApproachingOverflow trap signifies
|
|
||||||
that the number of LSAs in the router's link-
|
|
||||||
state database has exceeded ninety percent of
|
|
||||||
ospfExtLsdbLimit."
|
|
||||||
::= { ospfTraps 15 }
|
|
||||||
|
|
||||||
|
|
||||||
-- conformance information
|
|
||||||
|
|
||||||
ospfTrapConformance OBJECT IDENTIFIER ::= { ospfTrap 3 }
|
|
||||||
|
|
||||||
ospfTrapGroups OBJECT IDENTIFIER ::= { ospfTrapConformance 1 }
|
|
||||||
ospfTrapCompliances OBJECT IDENTIFIER ::= { ospfTrapConformance 2 }
|
|
||||||
|
|
||||||
-- compliance statements
|
|
||||||
|
|
||||||
ospfTrapCompliance MODULE-COMPLIANCE
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The compliance statement "
|
|
||||||
MODULE -- this module
|
|
||||||
MANDATORY-GROUPS { ospfTrapControlGroup }
|
|
||||||
|
|
||||||
|
|
||||||
GROUP ospfTrapControlGroup
|
|
||||||
DESCRIPTION
|
|
||||||
"This group is optional but recommended for all
|
|
||||||
OSPF systems"
|
|
||||||
::= { ospfTrapCompliances 1 }
|
|
||||||
|
|
||||||
|
|
||||||
-- units of conformance
|
|
||||||
|
|
||||||
ospfTrapControlGroup OBJECT-GROUP
|
|
||||||
OBJECTS {
|
|
||||||
ospfSetTrap,
|
|
||||||
ospfConfigErrorType,
|
|
||||||
ospfPacketType,
|
|
||||||
ospfPacketSrc
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"These objects are required to control traps
|
|
||||||
from OSPF systems."
|
|
||||||
::= { ospfTrapGroups 1 }
|
|
||||||
|
|
||||||
|
|
||||||
END
|
|
@ -108,6 +108,4 @@ ospfd_ospfd_snmp_la_LIBADD = lib/libfrrsnmp.la
|
|||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
ospfd/ChangeLog.opaque.txt \
|
ospfd/ChangeLog.opaque.txt \
|
||||||
ospfd/OSPF-MIB.txt \
|
|
||||||
ospfd/OSPF-TRAP-MIB.txt \
|
|
||||||
# end
|
# end
|
||||||
|
@ -1,530 +0,0 @@
|
|||||||
RIPv2-MIB DEFINITIONS ::= BEGIN
|
|
||||||
|
|
||||||
IMPORTS
|
|
||||||
MODULE-IDENTITY, OBJECT-TYPE, Counter32,
|
|
||||||
TimeTicks, IpAddress FROM SNMPv2-SMI
|
|
||||||
TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC
|
|
||||||
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
|
|
||||||
mib-2 FROM RFC1213-MIB;
|
|
||||||
|
|
||||||
-- This MIB module uses the extended OBJECT-TYPE macro as
|
|
||||||
-- defined in [9].
|
|
||||||
|
|
||||||
rip2 MODULE-IDENTITY
|
|
||||||
LAST-UPDATED "9407272253Z" -- Wed Jul 27 22:53:04 PDT 1994
|
|
||||||
ORGANIZATION "IETF RIP-II Working Group"
|
|
||||||
CONTACT-INFO
|
|
||||||
" Fred Baker
|
|
||||||
Postal: Cisco Systems
|
|
||||||
519 Lado Drive
|
|
||||||
Santa Barbara, California 93111
|
|
||||||
Tel: +1 805 681 0115
|
|
||||||
E-Mail: fbaker@cisco.com
|
|
||||||
|
|
||||||
Postal: Gary Malkin
|
|
||||||
Xylogics, Inc.
|
|
||||||
53 Third Avenue
|
|
||||||
Burlington, MA 01803
|
|
||||||
|
|
||||||
Phone: (617) 272-8140
|
|
||||||
EMail: gmalkin@Xylogics.COM"
|
|
||||||
DESCRIPTION
|
|
||||||
"The MIB module to describe the RIP2 Version 2 Protocol"
|
|
||||||
::= { mib-2 23 }
|
|
||||||
|
|
||||||
-- RIP-2 Management Information Base
|
|
||||||
|
|
||||||
-- the RouteTag type represents the contents of the
|
|
||||||
-- Route Domain field in the packet header or route entry.
|
|
||||||
-- The use of the Route Domain is deprecated.
|
|
||||||
|
|
||||||
RouteTag ::= TEXTUAL-CONVENTION
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"the RouteTag type represents the contents of the Route Domain
|
|
||||||
field in the packet header or route entry"
|
|
||||||
SYNTAX OCTET STRING (SIZE (2))
|
|
||||||
|
|
||||||
--4.1 Global Counters
|
|
||||||
|
|
||||||
-- The RIP-2 Globals Group.
|
|
||||||
-- Implementation of this group is mandatory for systems
|
|
||||||
-- which implement RIP-2.
|
|
||||||
|
|
||||||
-- These counters are intended to facilitate debugging quickly
|
|
||||||
-- changing routes or failing neighbors
|
|
||||||
|
|
||||||
rip2Globals OBJECT IDENTIFIER ::= { rip2 1 }
|
|
||||||
|
|
||||||
rip2GlobalRouteChanges OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of route changes made to the IP Route
|
|
||||||
Database by RIP. This does not include the refresh
|
|
||||||
of a route's age."
|
|
||||||
::= { rip2Globals 1 }
|
|
||||||
|
|
||||||
rip2GlobalQueries OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of responses sent to RIP queries
|
|
||||||
from other systems."
|
|
||||||
::= { rip2Globals 2 }
|
|
||||||
|
|
||||||
--4.2 RIP Interface Tables
|
|
||||||
|
|
||||||
-- RIP Interfaces Groups
|
|
||||||
-- Implementation of these Groups is mandatory for systems
|
|
||||||
-- which implement RIP-2.
|
|
||||||
|
|
||||||
-- The RIP Interface Status Table.
|
|
||||||
|
|
||||||
rip2IfStatTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF Rip2IfStatEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A list of subnets which require separate
|
|
||||||
status monitoring in RIP."
|
|
||||||
::= { rip2 2 }
|
|
||||||
|
|
||||||
rip2IfStatEntry OBJECT-TYPE
|
|
||||||
SYNTAX Rip2IfStatEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A Single Routing Domain in a single Subnet."
|
|
||||||
INDEX { rip2IfStatAddress }
|
|
||||||
::= { rip2IfStatTable 1 }
|
|
||||||
|
|
||||||
Rip2IfStatEntry ::=
|
|
||||||
SEQUENCE {
|
|
||||||
rip2IfStatAddress
|
|
||||||
IpAddress,
|
|
||||||
rip2IfStatRcvBadPackets
|
|
||||||
Counter32,
|
|
||||||
rip2IfStatRcvBadRoutes
|
|
||||||
Counter32,
|
|
||||||
rip2IfStatSentUpdates
|
|
||||||
Counter32,
|
|
||||||
rip2IfStatStatus
|
|
||||||
RowStatus
|
|
||||||
}
|
|
||||||
|
|
||||||
rip2IfStatAddress OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP Address of this system on the indicated
|
|
||||||
subnet. For unnumbered interfaces, the value 0.0.0.N,
|
|
||||||
where the least significant 24 bits (N) is the ifIndex
|
|
||||||
for the IP Interface in network byte order."
|
|
||||||
::= { rip2IfStatEntry 1 }
|
|
||||||
|
|
||||||
rip2IfStatRcvBadPackets OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of RIP response packets received by
|
|
||||||
the RIP process which were subsequently discarded
|
|
||||||
for any reason (e.g. a version 0 packet, or an
|
|
||||||
unknown command type)."
|
|
||||||
::= { rip2IfStatEntry 2 }
|
|
||||||
|
|
||||||
rip2IfStatRcvBadRoutes OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of routes, in valid RIP packets,
|
|
||||||
which were ignored for any reason (e.g. unknown
|
|
||||||
address family, or invalid metric)."
|
|
||||||
::= { rip2IfStatEntry 3 }
|
|
||||||
|
|
||||||
rip2IfStatSentUpdates OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of triggered RIP updates actually
|
|
||||||
sent on this interface. This explicitly does
|
|
||||||
NOT include full updates sent containing new
|
|
||||||
information."
|
|
||||||
::= { rip2IfStatEntry 4 }
|
|
||||||
|
|
||||||
rip2IfStatStatus OBJECT-TYPE
|
|
||||||
SYNTAX RowStatus
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Writing invalid has the effect of deleting
|
|
||||||
this interface."
|
|
||||||
::= { rip2IfStatEntry 5 }
|
|
||||||
|
|
||||||
-- The RIP Interface Configuration Table.
|
|
||||||
|
|
||||||
rip2IfConfTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF Rip2IfConfEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A list of subnets which require separate
|
|
||||||
configuration in RIP."
|
|
||||||
::= { rip2 3 }
|
|
||||||
|
|
||||||
rip2IfConfEntry OBJECT-TYPE
|
|
||||||
SYNTAX Rip2IfConfEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A Single Routing Domain in a single Subnet."
|
|
||||||
INDEX { rip2IfConfAddress }
|
|
||||||
::= { rip2IfConfTable 1 }
|
|
||||||
|
|
||||||
Rip2IfConfEntry ::=
|
|
||||||
SEQUENCE {
|
|
||||||
rip2IfConfAddress
|
|
||||||
IpAddress,
|
|
||||||
rip2IfConfDomain
|
|
||||||
RouteTag,
|
|
||||||
rip2IfConfAuthType
|
|
||||||
INTEGER,
|
|
||||||
rip2IfConfAuthKey
|
|
||||||
OCTET STRING (SIZE(0..16)),
|
|
||||||
rip2IfConfSend
|
|
||||||
INTEGER,
|
|
||||||
rip2IfConfReceive
|
|
||||||
INTEGER,
|
|
||||||
rip2IfConfDefaultMetric
|
|
||||||
INTEGER,
|
|
||||||
rip2IfConfStatus
|
|
||||||
RowStatus,
|
|
||||||
rip2IfConfSrcAddress
|
|
||||||
IpAddress
|
|
||||||
}
|
|
||||||
|
|
||||||
rip2IfConfAddress OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP Address of this system on the indicated
|
|
||||||
subnet. For unnumbered interfaces, the value 0.0.0.N,
|
|
||||||
where the least significant 24 bits (N) is the ifIndex
|
|
||||||
for the IP Interface in network byte order."
|
|
||||||
::= { rip2IfConfEntry 1 }
|
|
||||||
|
|
||||||
rip2IfConfDomain OBJECT-TYPE
|
|
||||||
SYNTAX RouteTag
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS obsolete
|
|
||||||
DESCRIPTION
|
|
||||||
"Value inserted into the Routing Domain field
|
|
||||||
of all RIP packets sent on this interface."
|
|
||||||
DEFVAL { '0000'h }
|
|
||||||
::= { rip2IfConfEntry 2 }
|
|
||||||
|
|
||||||
rip2IfConfAuthType OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
noAuthentication (1),
|
|
||||||
simplePassword (2),
|
|
||||||
md5 (3)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The type of Authentication used on this
|
|
||||||
interface."
|
|
||||||
DEFVAL { noAuthentication }
|
|
||||||
::= { rip2IfConfEntry 3 }
|
|
||||||
|
|
||||||
rip2IfConfAuthKey OBJECT-TYPE
|
|
||||||
SYNTAX OCTET STRING (SIZE(0..16))
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The value to be used as the Authentication Key
|
|
||||||
whenever the corresponding instance of
|
|
||||||
rip2IfConfAuthType has a value other than
|
|
||||||
noAuthentication. A modification of the corresponding
|
|
||||||
instance of rip2IfConfAuthType does not modify
|
|
||||||
the rip2IfConfAuthKey value. If a string shorter
|
|
||||||
than 16 octets is supplied, it will be left-
|
|
||||||
justified and padded to 16 octets, on the right,
|
|
||||||
with nulls (0x00).
|
|
||||||
|
|
||||||
Reading this object always results in an OCTET
|
|
||||||
STRING of length zero; authentication may not
|
|
||||||
be bypassed by reading the MIB object."
|
|
||||||
DEFVAL { ''h }
|
|
||||||
::= { rip2IfConfEntry 4 }
|
|
||||||
|
|
||||||
rip2IfConfSend OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
doNotSend (1),
|
|
||||||
ripVersion1 (2),
|
|
||||||
rip1Compatible (3),
|
|
||||||
ripVersion2 (4),
|
|
||||||
ripV1Demand (5),
|
|
||||||
ripV2Demand (6)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"What the router sends on this interface.
|
|
||||||
ripVersion1 implies sending RIP updates compliant
|
|
||||||
with RFC 1058. rip1Compatible implies
|
|
||||||
broadcasting RIP-2 updates using RFC 1058 route
|
|
||||||
subsumption rules. ripVersion2 implies
|
|
||||||
multicasting RIP-2 updates. ripV1Demand indicates
|
|
||||||
the use of Demand RIP on a WAN interface under RIP
|
|
||||||
Version 1 rules. ripV2Demand indicates the use of
|
|
||||||
Demand RIP on a WAN interface under Version 2 rules."
|
|
||||||
DEFVAL { rip1Compatible }
|
|
||||||
::= { rip2IfConfEntry 5 }
|
|
||||||
|
|
||||||
rip2IfConfReceive OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER {
|
|
||||||
rip1 (1),
|
|
||||||
rip2 (2),
|
|
||||||
rip1OrRip2 (3),
|
|
||||||
doNotRecieve (4)
|
|
||||||
}
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This indicates which version of RIP updates
|
|
||||||
are to be accepted. Note that rip2 and
|
|
||||||
rip1OrRip2 implies reception of multicast
|
|
||||||
packets."
|
|
||||||
DEFVAL { rip1OrRip2 }
|
|
||||||
::= { rip2IfConfEntry 6 }
|
|
||||||
|
|
||||||
rip2IfConfDefaultMetric OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0..15 )
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This variable indicates the metric that is to
|
|
||||||
be used for the default route entry in RIP updates
|
|
||||||
originated on this interface. A value of zero
|
|
||||||
indicates that no default route should be
|
|
||||||
originated; in this case, a default route via
|
|
||||||
another router may be propagated."
|
|
||||||
::= { rip2IfConfEntry 7 }
|
|
||||||
|
|
||||||
rip2IfConfStatus OBJECT-TYPE
|
|
||||||
SYNTAX RowStatus
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Writing invalid has the effect of deleting
|
|
||||||
this interface."
|
|
||||||
::= { rip2IfConfEntry 8 }
|
|
||||||
|
|
||||||
rip2IfConfSrcAddress OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-create
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP Address this system will use as a source
|
|
||||||
address on this interface. If it is a numbered
|
|
||||||
interface, this MUST be the same value as
|
|
||||||
rip2IfConfAddress. On unnumbered interfaces,
|
|
||||||
it must be the value of rip2IfConfAddress for
|
|
||||||
some interface on the system."
|
|
||||||
::= { rip2IfConfEntry 9 }
|
|
||||||
|
|
||||||
--4.3 Peer Table
|
|
||||||
|
|
||||||
-- Peer Table
|
|
||||||
|
|
||||||
-- The RIP Peer Group
|
|
||||||
-- Implementation of this Group is Optional
|
|
||||||
|
|
||||||
-- This group provides information about active peer
|
|
||||||
-- relationships intended to assist in debugging. An
|
|
||||||
-- active peer is a router from which a valid RIP
|
|
||||||
-- updated has been heard in the last 180 seconds.
|
|
||||||
|
|
||||||
rip2PeerTable OBJECT-TYPE
|
|
||||||
SYNTAX SEQUENCE OF Rip2PeerEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"A list of RIP Peers."
|
|
||||||
::= { rip2 4 }
|
|
||||||
|
|
||||||
rip2PeerEntry OBJECT-TYPE
|
|
||||||
SYNTAX Rip2PeerEntry
|
|
||||||
MAX-ACCESS not-accessible
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"Information regarding a single routing peer."
|
|
||||||
INDEX { rip2PeerAddress, rip2PeerDomain }
|
|
||||||
::= { rip2PeerTable 1 }
|
|
||||||
|
|
||||||
Rip2PeerEntry ::=
|
|
||||||
SEQUENCE {
|
|
||||||
rip2PeerAddress
|
|
||||||
IpAddress,
|
|
||||||
rip2PeerDomain
|
|
||||||
RouteTag,
|
|
||||||
rip2PeerLastUpdate
|
|
||||||
TimeTicks,
|
|
||||||
rip2PeerVersion
|
|
||||||
INTEGER,
|
|
||||||
rip2PeerRcvBadPackets
|
|
||||||
Counter32,
|
|
||||||
rip2PeerRcvBadRoutes
|
|
||||||
Counter32
|
|
||||||
}
|
|
||||||
|
|
||||||
rip2PeerAddress OBJECT-TYPE
|
|
||||||
SYNTAX IpAddress
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The IP Address that the peer is using as its source
|
|
||||||
address. Note that on an unnumbered link, this may
|
|
||||||
not be a member of any subnet on the system."
|
|
||||||
::= { rip2PeerEntry 1 }
|
|
||||||
|
|
||||||
rip2PeerDomain OBJECT-TYPE
|
|
||||||
SYNTAX RouteTag
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The value in the Routing Domain field in RIP
|
|
||||||
packets received from the peer. As domain suuport
|
|
||||||
is deprecated, this must be zero."
|
|
||||||
::= { rip2PeerEntry 2 }
|
|
||||||
|
|
||||||
rip2PeerLastUpdate OBJECT-TYPE
|
|
||||||
SYNTAX TimeTicks
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The value of sysUpTime when the most recent
|
|
||||||
RIP update was received from this system."
|
|
||||||
::= { rip2PeerEntry 3 }
|
|
||||||
|
|
||||||
rip2PeerVersion OBJECT-TYPE
|
|
||||||
SYNTAX INTEGER ( 0..255 )
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The RIP version number in the header of the
|
|
||||||
last RIP packet received."
|
|
||||||
::= { rip2PeerEntry 4 }
|
|
||||||
|
|
||||||
rip2PeerRcvBadPackets OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of RIP response packets from this
|
|
||||||
peer discarded as invalid."
|
|
||||||
::= { rip2PeerEntry 5 }
|
|
||||||
|
|
||||||
|
|
||||||
rip2PeerRcvBadRoutes OBJECT-TYPE
|
|
||||||
SYNTAX Counter32
|
|
||||||
MAX-ACCESS read-only
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The number of routes from this peer that were
|
|
||||||
ignored because the entry format was invalid."
|
|
||||||
::= { rip2PeerEntry 6 }
|
|
||||||
|
|
||||||
-- conformance information
|
|
||||||
|
|
||||||
rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 }
|
|
||||||
|
|
||||||
rip2Groups OBJECT IDENTIFIER ::= { rip2Conformance 1 }
|
|
||||||
rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 }
|
|
||||||
|
|
||||||
-- compliance statements
|
|
||||||
rip2Compliance MODULE-COMPLIANCE
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"The compliance statement "
|
|
||||||
MODULE -- this module
|
|
||||||
MANDATORY-GROUPS {
|
|
||||||
rip2GlobalGroup,
|
|
||||||
rip2IfStatGroup,
|
|
||||||
rip2IfConfGroup,
|
|
||||||
rip2PeerGroup
|
|
||||||
}
|
|
||||||
GROUP rip2GlobalGroup
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines global controls for RIP-II systems."
|
|
||||||
GROUP rip2IfStatGroup
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines interface statistics for RIP-II systems."
|
|
||||||
GROUP rip2IfConfGroup
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines interface configuration for RIP-II systems."
|
|
||||||
GROUP rip2PeerGroup
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines peer information for RIP-II systems."
|
|
||||||
::= { rip2Compliances 1 }
|
|
||||||
|
|
||||||
-- units of conformance
|
|
||||||
|
|
||||||
rip2GlobalGroup OBJECT-GROUP
|
|
||||||
OBJECTS {
|
|
||||||
rip2GlobalRouteChanges,
|
|
||||||
rip2GlobalQueries
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines global controls for RIP-II systems."
|
|
||||||
::= { rip2Groups 1 }
|
|
||||||
rip2IfStatGroup OBJECT-GROUP
|
|
||||||
OBJECTS {
|
|
||||||
rip2IfStatAddress,
|
|
||||||
rip2IfStatRcvBadPackets,
|
|
||||||
rip2IfStatRcvBadRoutes,
|
|
||||||
rip2IfStatSentUpdates,
|
|
||||||
rip2IfStatStatus
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines interface statistics for RIP-II systems."
|
|
||||||
::= { rip2Groups 2 }
|
|
||||||
rip2IfConfGroup OBJECT-GROUP
|
|
||||||
OBJECTS {
|
|
||||||
rip2IfConfAddress,
|
|
||||||
rip2IfConfAuthType,
|
|
||||||
rip2IfConfAuthKey,
|
|
||||||
rip2IfConfSend,
|
|
||||||
rip2IfConfReceive,
|
|
||||||
rip2IfConfDefaultMetric,
|
|
||||||
rip2IfConfStatus,
|
|
||||||
rip2IfConfSrcAddress
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines interface configuration for RIP-II systems."
|
|
||||||
::= { rip2Groups 3 }
|
|
||||||
rip2PeerGroup OBJECT-GROUP
|
|
||||||
OBJECTS {
|
|
||||||
rip2PeerAddress,
|
|
||||||
rip2PeerDomain,
|
|
||||||
rip2PeerLastUpdate,
|
|
||||||
rip2PeerVersion,
|
|
||||||
rip2PeerRcvBadPackets,
|
|
||||||
rip2PeerRcvBadRoutes
|
|
||||||
}
|
|
||||||
STATUS current
|
|
||||||
DESCRIPTION
|
|
||||||
"This group defines peer information for RIP-II systems."
|
|
||||||
::= { rip2Groups 4 }
|
|
||||||
END
|
|
@ -56,5 +56,3 @@ ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
|
|||||||
ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
|
ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
|
||||||
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||||
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la
|
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la
|
||||||
|
|
||||||
EXTRA_DIST += ripd/RIPv2-MIB.txt
|
|
||||||
|
Loading…
Reference in New Issue
Block a user