📄 draft-ietf-idr-bgp4-mibv2-01.txt
字号:
of AFI and SAFI qualifiers, the logical addressing of a row in the bgp4PathAttrClusterTable (for example) would extend out some 50 bytes if there was no direct index linkage to the "governing" bgp4PathAt- trTable, and bgpPeerTable entries. For this reason, the tables are structured in such a way that, where there is such a linkage to a "dependent" table (where, for example, the bgpPrefixCountersTable "depends on" the bgpPeerTable), a table will contain a per-row numeric index (e.g., bgpPeerIndex), which the "dependent" table will use as one of its own row index values. These indices are manufactured by the agent, and are otherwise opaque to the management application (or, for that matter, even to theVarious Authors Expires May 21, 2002 [Page 7]Internet Draft BGP-MIB v2 November 21, 2001 organization of the "dependent" table[s]).4. Definitions BGP4-V2-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Counter32, Gauge32, mib-2, Unsigned32 FROM SNMPv2-SMI InetAddressType, InetAddress FROM INET-ADDRESS-MIB TEXTUAL-CONVENTION, TruthValue, DisplayString, RowStatus FROM SNMPv2-TC MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF; bgp MODULE-IDENTITY LAST-UPDATED "200111200000Z" ORGANIZATION "IETF IDR Working Group" CONTACT-INFO "E-mail: idr@merit.net Jeff Haas (Editor) 517 W. William Street Ann Arbor, MI 48103-4943 Tel: +1 734 973-2200 Fax: +1 734 615-3241 E-mail: jhaas@nexthop.com" DESCRIPTION "This MIB module defines management objects for the Border Gateway Protocol, Version 4." ::= { mib-2 XXX } BgpIdentifier ::= TEXTUAL-CONVENTION DISPLAY-HINT "1d:" -- jmh - is this right? STATUS current DESCRIPTION "The representation of a BGP Identifier." SYNTAX OCTET STRING(SIZE (4)) BgpSafi ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTIONVarious Authors Expires May 21, 2002 [Page 8]Internet Draft BGP-MIB v2 November 21, 2001 "The representation of a BGP Safi" SYNTAX Unsigned32(0..255) BgpAutonomousSystemNumber ::= TEXTUAL-CONVENTION -- JMH - how is Cisco et al. representing the 4byte -- versions? DISPLAY-HINT "d" STATUS current DESCRIPTION "An autonomous System Number. If bgpAsSize is two-octet, the range is 0..65535. If it is four-octet, it is the full range of Unsigned32." SYNTAX Unsigned32 bgpBaseScalars OBJECT IDENTIFIER ::= { bgp 1 } bgpBaseNotifications OBJECT IDENTIFIER ::= { bgpBaseScalars 0 } bgpEstablished NOTIFICATION-TYPE OBJECTS { bgpPeerLocalAddrType, bgpPeerLocalAddr, bgpPeerRemoteAddrType, bgpPeerRemoteAddr, bgpPeerLastError, bgpPeerState } STATUS current DESCRIPTION "The BGP Established event is generated when the BGP FSM enters the ESTABLISHED state." ::= { bgpBaseNotifications 1 } bgpBackwardTransition NOTIFICATION-TYPE OBJECTS { bgpPeerLocalAddrType, bgpPeerLocalAddr, bgpPeerRemoteAddrType, bgpPeerRemoteAddr, bgpPeerLastError, bgpPeerState } STATUS current DESCRIPTIONVarious Authors Expires May 21, 2002 [Page 9]Internet Draft BGP-MIB v2 November 21, 2001 "The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower numbered state." ::= { bgpBaseNotifications 2 } bgpVersion OBJECT IDENTIFIER ::= { bgpBaseScalars 1 } -- -- BGP Supported Version Table -- bgpVersionTable OBJECT-TYPE SYNTAX SEQUENCE OF BgpVersionEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of supported BGP versions." ::= { bgpVersion 1 } bgpVersionEntry OBJECT-TYPE SYNTAX BgpVersionEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Entry containing data on a given supported version of the Border Gateway Protocol and the level of support provided. It is expected that any agent implementation supporting this MIB module will report support for Version 4 of the Border Gateway Protocol at the very minimum." INDEX { bgpVersionIndex } ::= { bgpVersionTable 1 } BgpVersionEntry ::= SEQUENCE { bgpVersionIndex Unsigned32, bgpVersionSupported TruthValue } bgpVersionIndex OBJECT-TYPE SYNTAX Unsigned32(0..255) MAX-ACCESS read-only STATUS current DESCRIPTION "The version number of the BGP Protocol." ::= { bgpVersionEntry 1 }Various Authors Expires May 21, 2002 [Page 10]Internet Draft BGP-MIB v2 November 21, 2001 bgpVersionSupported OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "This value is TRUE if the version of the BGP protocol identified in 'bgpVersionIndex' is supported." ::= { bgpVersionEntry 2 } bgpSupportedAuthentication OBJECT IDENTIFIER ::= { bgpBaseScalars 2 } -- -- Supported authentication mechanisms -- bgpSupportedAuthTable OBJECT-TYPE SYNTAX SEQUENCE OF BgpSupportedAuthEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The supported BGP authentication mechanisms." ::= { bgpSupportedAuthentication 1 } bgpSupportedAuthEntry OBJECT-TYPE SYNTAX BgpSupportedAuthEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Entry containing information whether a given BGP authentication mechanism is supported by this implementation." INDEX { bgpSupportedAuthCode } ::= { bgpSupportedAuthTable 1 } BgpSupportedAuthEntry ::= SEQUENCE { bgpSupportedAuthCode Unsigned32, bgpSupportedAuthValue TruthValue } bgpSupportedAuthCode OBJECT-TYPE SYNTAX Unsigned32(0..255) MAX-ACCESS read-only STATUS current DESCRIPTIONVarious Authors Expires May 21, 2002 [Page 11]Internet Draft BGP-MIB v2 November 21, 2001 "The BGP authentication code." ::= { bgpSupportedAuthEntry 1 } bgpSupportedAuthValue OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "This value is TRUE if a given authentication method is supported by the local implementation." ::= { bgpSupportedAuthEntry 2 } bgpSupportedCapabilities OBJECT IDENTIFIER ::= { bgpBaseScalars 3 } -- -- Supported BGP Capabilities -- bgpCapabilitySupportAvailable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This variable determines whether BGP-4 capabilities are supported in this implementation. This variable may be set to false to disable capability support." ::= { bgpSupportedCapabilities 1 } bgpSupportedCapabilitiesTable OBJECT-TYPE SYNTAX SEQUENCE OF BgpSupportedCapabilityEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of supported BGP-4 capabilities." ::= { bgpSupportedCapabilities 2 } bgpSupportedCapabilitiesEntry OBJECT-TYPE SYNTAX BgpSupportedCapabilityEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Information about supported capabilities indexed by capability number."Various Authors Expires May 21, 2002 [Page 12]Internet Draft BGP-MIB v2 November 21, 2001 INDEX { bgpSupportedCapabilityIndex } ::= { bgpSupportedCapabilitiesTable 1 } BgpSupportedCapabilityEntry ::= SEQUENCE { bgpSupportedCapabilityIndex Unsigned32, bgpSupportedCapability TruthValue } bgpSupportedCapabilityIndex OBJECT-TYPE SYNTAX Unsigned32 (0..255) MAX-ACCESS read-only STATUS current DESCRIPTION "Index of supported capability. The index directly corresponds with the BGP-4 Capability Advertisement Capability Code." ::= { bgpSupportedCapabilitiesEntry 1 } bgpSupportedCapability OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "This value is True if this capability is supported, False otherwise." ::= { bgpSupportedCapabilitiesEntry 2 } bgpAsSize OBJECT-TYPE SYNTAX INTEGER { twoOctet(1), fourOctet(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The size of the AS value in this implementation. The semantics of this are determined as per the as-4bytes draft." REFERENCE "draft-ietf-idr-as4bytes-04"Various Authors Expires May 21, 2002 [Page 13]Internet Draft BGP-MIB v2 November 21, 2001 ::= { bgpBaseScalars 4 } bgpLocalAs OBJECT-TYPE SYNTAX BgpAutonomousSystemNumber MAX-ACCESS read-write STATUS current DESCRIPTION "The local autonomous system number. If the bgpAsSize is twoOctet, then the range is constrained to be 0-65535." ::= { bgpBaseScalars 5 } bgpLocalIdentifier OBJECT-TYPE SYNTAX BgpIdentifier MAX-ACCESS read-write STATUS current DESCRIPTION "The BGP Identifier of the local system. Current practice is trending away from this value being
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -