⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 draft-ietf-idr-bgp4-mibv2-00.txt

📁 BCAST Implementation for NS2
💻 TXT
📖 第 1 页 / 共 5 页
字号:
        "Information about a path to a network."            INDEX {         bgp4PathAttrAddrPrefixType,        bgp4PathAttrAddrPrefixSafi,        bgp4PathAttrAddrPrefix,        bgp4PathAttrAddrPrefixLen,        bgp4PathAttrPeerType,        bgp4PathAttrPeer                    }            ::= { bgp4PathAttrTable 1 }        Bgp4PathAttrEntry ::= SEQUENCE {        bgp4PathAttrPeerType        InetAddressType,            bgp4PathAttrPeer                InetAddress,        bgp4PathAttrAddrPrefixType            InetAddressType,        bgp4PathAttrAddrPrefixSafi        BgpSafi,        Various Authors      Expires July  13, 2002             [Page 27]Internet Draft              BGP-MIB v2              July 13, 2001				bgp4PathAttrAddrPrefixType        InetAddressType,            bgp4PathAttrAddrPrefix                InetAddress,            bgp4PathAttrAddrPrefixLen                Integer32,            bgp4PathAttrOrigin                INTEGER,            bgp4PathAttrASPathSegment                OCTET STRING,            bgp4PathAttrNextHop                InetAddress,        bgp4PathAttrMultiExitDiscPresent        TruthValue,            bgp4PathAttrMultiExitDisc                Unsigned32,        bgp4PathAttrLocalPrefPresent        TruthValue,            bgp4PathAttrLocalPref                Unsigned32,               bgp4PathAttrAtomicAggregate                INTEGER,            bgp4PathAttrAggregatorAS                Integer32,            bgp4PathAttrAggregatorAddr                BgpIdentifer,        bgp4PathAttrCalcLocalPrefPresent        TruthValue,            bgp4PathAttrCalcLocalPref                Unsigned32,               bgp4PathAttrOriginatorId        OCTET STRING,        bgp4PathAttrClusterList        OCTET STRING,        bgp4PathAttrCommunity        OCTET STRING,        bgp4PathAttrExtCommunity        OCTET STRING,            bgp4PathAttrBest                TruthValue,            bgp4PathAttrUnknown                OCTET STRING        }        bgp4PathAttrPeerType OBJECT-TYPE            SYNTAX     InetAddressType            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "The AFI of the address of the peer from which the        path information was learned."            ::= { bgp4PathAttrEntry 1 }        Various Authors      Expires July  13, 2002             [Page 28]Internet Draft              BGP-MIB v2              July 13, 2001				bgp4PathAttrPeer OBJECT-TYPE            SYNTAX     InetAddress            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "The address of the peer where the path        information was learned."            ::= { bgp4PathAttrEntry 2 }        bgp4PathAttrIpAddrPrefixType OBJECT-TYPE            SYNTAX     InetAddressType            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "The address family of the prefix for this NLRI."            ::= { bgp4PathAttrEntry 3 }    bgp4PathAttrIpAddrPrefixSafi OBJECT-TYPE        SYNTAX     BgpSafi        MAX-ACCESS read-only        STATUS     current        DESCRIPTION        "The subsequent address family of the prefix for        this NLRI"        REFERENCE        "RFC 2858 - Multiprotocol Extensions for BGP-4"        ::= { bgp4PathAttrEntry 4 }        bgp4PathAttrIpAddrPrefix OBJECT-TYPE            SYNTAX     InetAddress            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."-- jmh this doesn't encode very small on the wire?              ::= { bgp4PathAttrEntry 5 }    bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE            SYNTAX     Integer32             MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "Length in bits of the IP address prefix in         the Network Layer Reachability         Information field."            ::= { bgp4PathAttrEntry 6 }    Various Authors      Expires July  13, 2002             [Page 29]Internet Draft              BGP-MIB v2              July 13, 2001		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 7 }        bgp4PathAttrASPathSegment OBJECT-TYPE            SYNTAX     OCTET STRING (SIZE (2..4096))-- jmh could be shorter - find a reasonable ceiling            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.             3      CONFED_SEQUENCE: ordered set of ASs                     a route has traversed within                     a confederation.  These MUST                     occur before AS_SETs and                     AS_SEQUENCES             4      CONFED_SET: unordered set of ASs                     a route has traversed within                     a confederation.  These MUST                     occur before AS_SETs and                     AS_SEQUENCES            Other types may be defined in the future and will            be displayed in this variable.                    The length is a 1-octet field containing the                    number of ASs in the value field.-- jmh - this is a spec error                    					Various Authors      Expires July  13, 2002             [Page 29]Internet Draft              BGP-MIB v2              July 13, 2001															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:            If the bgpAsSize is twoOctet:                        first-byte-of-pair = ASNumber / 256;                        second-byte-of-pair = ASNumber & 255;            If the bgpAsSize is fourOctet:                        first-byte-of-quad = (ASNumber / 16777216);                        second-byte-of-quad = (ASNumber / 65536) & 255;            third-byte-of-quad = (ASNumber / 256) & 255;            fourth-byte-of-quad = ASNumber & 255;"            ::= { bgp4PathAttrEntry 8 }-- jmh we need the new_as_path here now        bgp4PathAttrNextHop OBJECT-TYPE            SYNTAX     InetAddress            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "The address of the border router that         should be used for the destination         network.  This address is the nexthop         address received in the UPDATE packet.        The address family of this object will be the        same as that of the prefix in this row."            ::= { bgp4PathAttrEntry 9 }        bgp4PathAttrMultiExitDiscPresent OBJECT-TYPE        SYNTAX     TruthValue        MAX-ACCESS read-only        STATUS     current        DESCRIPTION        "Whether or not the MED value is present.        If it is not present, the bgp4PathAttrMultiExitDisc        object has no useful value and should be set to 0."        ::= { bgp4PathAttrEntry 10 }        bgp4PathAttrMultiExitDisc OBJECT-TYPE            SYNTAX     Unsigned32            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "This metric is used to discriminate        between multiple exit points to an         adjacent autonomous system."            ::= { bgp4PathAttrEntry 11 }        		Various Authors      Expires July  13, 2002             [Page 30]Internet Draft              BGP-MIB v2              July 13, 2001				bgp4PathAttrLocalPrefPresent OBJECT-TYPE        SYNTAX     TruthValue        MAX-ACCESS read-only        STATUS     current        DESCRIPTION        "Whether or not the LOCAL_PREF value is present.        If it is not present, the bgp4PathAttrLocalPref         object has no useful value and should be set to 0."        ::= { bgp4PathAttrEntry 12 }        bgp4PathAttrLocalPref OBJECT-TYPE                    SYNTAX     Unsigned32            MAX-ACCESS read-only            STATUS     current            DESCRIPTION        "The originating BGP4 speaker's degree of        preference for an advertised route."            ::= { bgp4PathAttrEntry 13 }        bgp4PathAttrAtomicAggregate OBJECT-TYPE            SYNTAX     INTEGER {        lessSpecificRouteNotSelected(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 14 }        bgp4PathAttrAggregatorAS OBJECT-TYPE            SYNTAX     BgpAutonomousSystemNumber            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 15 }        bgp4PathAttrAggregatorAddr OBJECT-TYPE            SYNTAX     BgpIdentifier            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.        Note propagation of AS of zero is illegal in         the Internet."            ::= { bgp4PathAttrEntry 16 }Various Authors      Expires July  13, 2002             [Page 31]Internet Draft              BGP-MIB v2              July 13, 2001        bgp4PathAttrCalcLocalPrefPresent OBJECT-TYPE        SYNTAX     TruthValue        MAX-ACCESS read-only        STATUS     current        DESCRIPTION        "Whether or not the bgp4PathAttrCalcLocalPref is present."        ::= { bgp4PathAttrEntry 17 }        bgp4PathAttrCalcLocalPref OBJECT-TYPE            SYNTAX     Unsigned32            MAX-ACCESS read-only                             STATUS     current            DESCRIPTION        "The degree of preference calculated by the        receiving BGP4 speaker for an advertised         route."            ::= { bgp4PathAttrEntry 18 }        bgp4PathAttrOriginatorId OBJECT-TYPE            SYNTAX      BgpIdentifier            MAX-ACCESS  read-only            STATUS      current            DESCRIPTION                    "The Originator-ID identifying the router that initially                     advertised this destination to a Route Reflector.  A                     value of 0.0.0.0 indicates the absence of this attribute."        REFERENCE         "This attribute is defined in [RFC2796]."            ::= { bgp4PathAttrEntry 19 }        bgp4PathAttrClusterList OBJECT-TYPE            SYNTAX      OCTET STRING (SIZE(0..4096))            MAX-ACCESS  read-only            STATUS      current            DESCRIPTION        "A sequence of four octet long values representing the         reflection path that the route has passed.  Each four         octet long value represents the ID of a cluster that         the route has traversed.  A length of zero (0) indicates         the absence of this attribute."        REFERENCE         "This attribute is defined in [RFC2796]."            ::= { bgp4PathAttrEntry 20 }        												Various Authors      Expires July  13, 2002             [Page 32]Internet Draft              BGP-MIB v2              July 13, 2001				bgp4PathAttrCommunity OBJECT-TYPE            SYNTAX      OCTET STRING (SIZE(0..4096))            MAX-ACCESS  read-only            STATUS      current            DESCRIPTION        "A list of 4-octet long values, each representing a         community.  Size zero (0) indicates the absence of         such attributes.  Octets beyond the maximum size, if         any, are not recorded by this object.  There are certain         4-octet long values that carry additional semantics."            REFERENCE        "RFC 1997 - BGP Communities Attribute"          

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -