Documentation ¶
Overview ¶
An extension to the IETF BGP4 MIB module defined in RFC 1657.
Following is the terminology associated with Border Gateway Protocol(BGP).
UPDATE message
UPDATE messages are used to transfer routing information between BGP peers. An UPDATE message is used to advertise a single feasible route to a peer, or to withdraw multiple unfeasible routes from service.
Adj-RIBs-In
The Adj-RIBs-In store routing information that has been learned from inbound UPDATE messages. Their contents represent routes that are available as an input to the Decision Process.
Loc-RIB(BGP table)
The Loc-RIB contains the local routing information that the BGP speaker has selected by applying its local policies to the routing information contained in its Adj-RIBs-In.
Adj-RIBs-Out
The Adj-RIBs-Out store the information that the local BGP speaker has selected for advertisement to its peers. The routing information stored in the Adj-RIBs-Out will be carried in the local BGP speaker's UPDATE messages and advertised to its peers.
Path Attributes
A variable length sequence of path attributes is present in every UPDATE. Each path attribute is a triple <attribute type, attribute length, attribute value> of variable length.
Network Layer Reachability Information(NLRI)
A variable length field present in UPDATE messages which contains a list of Network Layer address prefixes.
Address Family Identifier(AFI)
Primary identifier to indicate the type of the Network Layer Reachability Information(NLRI) being carried.
Subsequent Address Family Identifier(SAFI)
Secondary identifier to indicate the type of the Network Layer Reachability Information(NLRI) being carried.
Index ¶
- type CISCOBGP4MIB
- type CISCOBGP4MIB_CbgpGlobal
- type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable
- type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry
- type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable
- type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry
- type CISCOBGP4MIB_CbgpPeer2CapsTable
- type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry
- type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode
- type CISCOBGP4MIB_CbgpPeer2Table
- type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry
- type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus
- type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState
- type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State
- type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable
- type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry
- type CISCOBGP4MIB_CbgpPeerAddrFamilyTable
- type CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry
- type CISCOBGP4MIB_CbgpPeerCapsTable
- type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry
- type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode
- type CISCOBGP4MIB_CbgpRouteTable
- type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry
- type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate
- type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin
- type CbgpSafi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CISCOBGP4MIB ¶
type CISCOBGP4MIB struct { EntityData types.CommonEntityData YFilter yfilter.YFilter CbgpGlobal CISCOBGP4MIB_CbgpGlobal // This table contains information about routes to destination networks from // all BGP4 peers. Since BGP4 can carry routes for multiple Network Layer // protocols, this table has the Address Family Identifier(AFI) of the // Network Layer protocol as the first index. Further for a given AFI, routes // carried by BGP4 are distinguished based on Subsequent Address Family // Identifiers(SAFI). Hence that is used as the second index. Conceptually // there is a separate Loc-RIB maintained by the BGP speaker for each // combination of AFI and SAFI supported by it. CbgpRouteTable CISCOBGP4MIB_CbgpRouteTable // This table contains the capabilities that are supported by a peer. // Capabilities of a peer are received during BGP connection establishment. // Values corresponding to each received capability are stored in this table. // When a new capability is received, this table is updated with a new // entry. When an existing capability is not received during the latest // connection establishment, the corresponding entry is deleted from the // table. CbgpPeerCapsTable CISCOBGP4MIB_CbgpPeerCapsTable // This table contains information related to address families supported by a // peer. Supported address families of a peer are known during BGP connection // establishment. When a new supported address family is known, this table is // updated with a new entry. When an address family is not supported any // more, corresponding entry is deleted from the table. CbgpPeerAddrFamilyTable CISCOBGP4MIB_CbgpPeerAddrFamilyTable // This table contains prefix related information related to address families // supported by a peer. Supported address families of a peer are known // during BGP connection establishment. When a new supported address family // is known, this table is updated with a new entry. When an address family // is not supported any more, corresponding entry is deleted from the table. CbgpPeerAddrFamilyPrefixTable CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable // BGP peer table. This table contains, one entry per BGP peer, information // about the connections with BGP peers. CbgpPeer2Table CISCOBGP4MIB_CbgpPeer2Table // This table contains the capabilities that are supported by a peer. // Capabilities of a peer are received during BGP connection establishment. // Values corresponding to each received capability are stored in this table. // When a new capability is received, this table is updated with a new entry. // When an existing capability is not received during the latest connection // establishment, the corresponding entry is deleted from the table. CbgpPeer2CapsTable CISCOBGP4MIB_CbgpPeer2CapsTable // This table contains information related to address families supported by a // peer. Supported address families of a peer are known during BGP connection // establishment. When a new supported address family is known, this table is // updated with a new entry. When an address family is not supported any more, // corresponding entry is deleted from the table. CbgpPeer2AddrFamilyTable CISCOBGP4MIB_CbgpPeer2AddrFamilyTable // This table contains prefix related information related to address families // supported by a peer. Supported address families of a peer are known during // BGP connection establishment. When a new supported address family is known, // this table is updated with a new entry. When an address family is not // supported any more, corresponding entry is deleted from the table. CbgpPeer2AddrFamilyPrefixTable CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable }
CISCOBGP4MIB
func (*CISCOBGP4MIB) GetEntityData ¶
func (cISCOBGP4MIB *CISCOBGP4MIB) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpGlobal ¶
type CISCOBGP4MIB_CbgpGlobal struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Indicates whether the specific notifications are enabled. If // notifsEnable(0) bit is set to 1, then the notifications defined in // ciscoBgp4NotificationsGroup1 are enabled; If notifsPeer2Enable(1) bit is // set to 1, then the notifications defined in // ciscoBgp4Peer2NotificationsGroup are enabled. The type is map[string]bool. CbgpNotifsEnable interface{} // The local autonomous system (AS) number. The type is interface{} with // range: 0..4294967295. CbgpLocalAs interface{} }
CISCOBGP4MIB_CbgpGlobal
func (*CISCOBGP4MIB_CbgpGlobal) GetEntityData ¶
func (cbgpGlobal *CISCOBGP4MIB_CbgpGlobal) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable ¶
type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry is identified by an AFI/SAFI pair and peer address. It contains // information associated with route prefixes belonging to an address family. // The type is slice of // CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry. CbgpPeer2AddrFamilyPrefixEntry []*CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry }
CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable This table contains prefix related information related to address families supported by a peer. Supported address families of a peer are known during BGP connection establishment. When a new supported address family is known, this table is updated with a new entry. When an address family is not supported any more, corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable) GetEntityData ¶
func (cbgpPeer2AddrFamilyPrefixTable *CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry ¶
type CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is InetAddressType. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2Type CbgpPeer2Type interface{} // This attribute is a key. The type is string with length: 0..255. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2RemoteAddr CbgpPeer2RemoteAddr interface{} // This attribute is a key. The type is InetAddressType. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry_CbgpPeer2AddrFamilyAfi CbgpPeer2AddrFamilyAfi interface{} // This attribute is a key. The type is CbgpSafi. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry_CbgpPeer2AddrFamilySafi CbgpPeer2AddrFamilySafi interface{} // Number of accepted route prefixes on this connection, which belong to an // address family. The type is interface{} with range: 0..4294967295. CbgpPeer2AcceptedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family, received on this connection is denied. It is initialized to // zero when the connection is undergone a hard reset. The type is interface{} // with range: 0..4294967295. CbgpPeer2DeniedPrefixes interface{} // Max number of route prefixes accepted for an address family on this // connection. The type is interface{} with range: 1..4294967295. CbgpPeer2PrefixAdminLimit interface{} // Prefix threshold value (%) for an address family on this connection at // which warning message stating the prefix count is crossed the threshold or // corresponding SNMP notification is generated. The type is interface{} with // range: 1..100. Units are percent. CbgpPeer2PrefixThreshold interface{} // Prefix threshold value (%) for an address family on this connection at // which SNMP clear notification is generated if prefix threshold notification // is already generated. The type is interface{} with range: 1..100. Units are // percent. CbgpPeer2PrefixClearThreshold interface{} // This counter is incremented when a route prefix, which belongs to an // address family is advertised on this connection. It is initialized to zero // when the connection is undergone a hard reset. The type is interface{} with // range: 0..4294967295. CbgpPeer2AdvertisedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family is suppressed from being sent on this connection. It is // initialized to zero when the connection is undergone a hard reset. The type // is interface{} with range: 0..4294967295. CbgpPeer2SuppressedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family, is withdrawn on this connection. It is initialized to zero // when the connection is undergone a hard reset. The type is interface{} with // range: 0..4294967295. CbgpPeer2WithdrawnPrefixes interface{} }
CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry An entry is identified by an AFI/SAFI pair and peer address. It contains information associated with route prefixes belonging to an address family.
func (*CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry) GetEntityData ¶
func (cbgpPeer2AddrFamilyPrefixEntry *CISCOBGP4MIB_CbgpPeer2AddrFamilyPrefixTable_CbgpPeer2AddrFamilyPrefixEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable ¶
type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry is identified by an AFI/SAFI pair and peer address. It contains // names associated with an address family. The type is slice of // CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry. CbgpPeer2AddrFamilyEntry []*CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry }
CISCOBGP4MIB_CbgpPeer2AddrFamilyTable This table contains information related to address families supported by a peer. Supported address families of a peer are known during BGP connection establishment. When a new supported address family is known, this table is updated with a new entry. When an address family is not supported any more, corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeer2AddrFamilyTable) GetEntityData ¶
func (cbgpPeer2AddrFamilyTable *CISCOBGP4MIB_CbgpPeer2AddrFamilyTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry ¶
type CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is InetAddressType. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2Type CbgpPeer2Type interface{} // This attribute is a key. The type is string with length: 0..255. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2RemoteAddr CbgpPeer2RemoteAddr interface{} // This attribute is a key. The AFI index of the entry. An implementation is // only required to support IPv4 unicast and VPNv4 (Value - 1) address // families. The type is InetAddressType. CbgpPeer2AddrFamilyAfi interface{} // This attribute is a key. The SAFI index of the entry. An implementation is // only required to support IPv4 unicast(Value - 1) and VPNv4( Value - 128) // address families. The type is CbgpSafi. CbgpPeer2AddrFamilySafi interface{} // Implementation specific Address Family name. The type is string. CbgpPeer2AddrFamilyName interface{} }
CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry An entry is identified by an AFI/SAFI pair and peer address. It contains names associated with an address family.
func (*CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry) GetEntityData ¶
func (cbgpPeer2AddrFamilyEntry *CISCOBGP4MIB_CbgpPeer2AddrFamilyTable_CbgpPeer2AddrFamilyEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2CapsTable ¶
type CISCOBGP4MIB_CbgpPeer2CapsTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Each entry represents a capability received from a peer with a particular // code and an index. When a capability is received multiple times with // different values during a BGP connection establishment, corresponding // entries are differentiated with indices. The type is slice of // CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry. CbgpPeer2CapsEntry []*CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry }
CISCOBGP4MIB_CbgpPeer2CapsTable This table contains the capabilities that are supported by a peer. Capabilities of a peer are received during BGP connection establishment. Values corresponding to each received capability are stored in this table. When a new capability is received, this table is updated with a new entry. When an existing capability is not received during the latest connection establishment, the corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeer2CapsTable) GetEntityData ¶
func (cbgpPeer2CapsTable *CISCOBGP4MIB_CbgpPeer2CapsTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry ¶
type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is InetAddressType. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2Type CbgpPeer2Type interface{} // This attribute is a key. The type is string with length: 0..255. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2RemoteAddr CbgpPeer2RemoteAddr interface{} // This attribute is a key. The BGP Capability Advertisement Capability Code. // The type is CbgpPeer2CapCode. CbgpPeer2CapCode interface{} // This attribute is a key. Multiple instances of a given capability may be // sent by a BGP speaker. This variable is used to index them. The type is // interface{} with range: 1..128. CbgpPeer2CapIndex interface{} // The value of the announced capability. This MIB object value is organized // as given below, Capability : Route Refresh Capability // 4-Byte AS Capability Null string Capability : // Multiprotocol Extensions +----------------------------------+ | // AFI(16 bits) | // +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ Capability : Graceful // Restart +----------------------------------+ | Restart Flags (4 // bits) | +----------------------------------+ | // Restart Time in seconds (12 bits)| // +----------------------------------+ | AFI(16 bits) // | +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ | Flags for Address // Family (8 bits)| +----------------------------------+ | ... // | +----------------------------------+ | AFI(16 bits) // | +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ | Flags for Address // Family (8 bits)| +----------------------------------+ Capability // : Additional Paths +----------------------------------+ | // AFI(16 bits) | // +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ | Send/Receive (8 bits) // | +----------------------------------+. The type is string with // length: 0..255. CbgpPeer2CapValue interface{} }
CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry Each entry represents a capability received from a peer with a particular code and an index. When a capability is received multiple times with different values during a BGP connection establishment, corresponding entries are differentiated with indices.
func (*CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry) GetEntityData ¶
func (cbgpPeer2CapsEntry *CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode ¶
type CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode string
CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode represents The BGP Capability Advertisement Capability Code.
const ( CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_multiProtocol CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "multiProtocol" CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_routeRefresh CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "routeRefresh" CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_gracefulRestart CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "gracefulRestart" CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_fourByteAs CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "fourByteAs" CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_addPath CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "addPath" CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode_routeRefreshOld CISCOBGP4MIB_CbgpPeer2CapsTable_CbgpPeer2CapsEntry_CbgpPeer2CapCode = "routeRefreshOld" )
type CISCOBGP4MIB_CbgpPeer2Table ¶
type CISCOBGP4MIB_CbgpPeer2Table struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Entry containing information about the connection with a BGP peer. The type // is slice of CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry. CbgpPeer2Entry []*CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry }
CISCOBGP4MIB_CbgpPeer2Table BGP peer table. This table contains, one entry per BGP peer, information about the connections with BGP peers.
func (*CISCOBGP4MIB_CbgpPeer2Table) GetEntityData ¶
func (cbgpPeer2Table *CISCOBGP4MIB_CbgpPeer2Table) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry ¶
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Represents the type of Peer address stored in // cbgpPeer2Entry. The type is InetAddressType. CbgpPeer2Type interface{} // This attribute is a key. The remote IP address of this entry's BGP peer. // The type is string with length: 0..255. CbgpPeer2RemoteAddr interface{} // The BGP peer connection state. The type is CbgpPeer2State. CbgpPeer2State interface{} // The desired state of the BGP connection. A transition from 'stop' to // 'start' will cause the BGP Manual Start Event to be generated. A transition // from 'start' to 'stop' will cause the BGP Manual 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. The type is CbgpPeer2AdminStatus. CbgpPeer2AdminStatus interface{} // The negotiated version of BGP running between the two peers. This entry // MUST be zero (0) unless the cbgpPeer2State is in the openconfirm or the // established state. Note that legal values for this object are between 0 // and 255. The type is interface{} with range: -2147483648..2147483647. CbgpPeer2NegotiatedVersion interface{} // The local IP address of this entry's BGP connection. The type is string // with length: 0..255. CbgpPeer2LocalAddr interface{} // The local port for the TCP connection between the BGP peers. The type is // interface{} with range: 0..65535. CbgpPeer2LocalPort interface{} // The local AS number for this session. The type is interface{} with range: // 0..4294967295. CbgpPeer2LocalAs interface{} // The BGP Identifier of this entry's BGP peer. The type is string with // pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. CbgpPeer2LocalIdentifier interface{} // The remote port for the TCP connection between the BGP peers. Note that // the objects cbgpPeer2LocalAddr, cbgpPeer2LocalPort, cbgpPeer2RemoteAddr, // and cbgpPeer2RemotePort provide the appropriate reference to the standard // MIB TCP connection table. The type is interface{} with range: 0..65535. CbgpPeer2RemotePort interface{} // The remote autonomous system number received in the BGP OPEN message. The // type is interface{} with range: 0..4294967295. CbgpPeer2RemoteAs interface{} // The BGP Identifier of this entry's BGP peer. This entry MUST be 0.0.0.0 // unless the cbgpPeer2State is in the openconfirm or the established state. // The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. CbgpPeer2RemoteIdentifier interface{} // The number of BGP UPDATE messages received on this connection. The type is // interface{} with range: 0..4294967295. CbgpPeer2InUpdates interface{} // The number of BGP UPDATE messages transmitted on this connection. The type // is interface{} with range: 0..4294967295. CbgpPeer2OutUpdates interface{} // The total number of messages received from the remote peer on this // connection. The type is interface{} with range: 0..4294967295. CbgpPeer2InTotalMessages interface{} // The total number of messages transmitted to the remote peer on this // connection. The type is interface{} with range: 0..4294967295. CbgpPeer2OutTotalMessages interface{} // 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. The type is string with length: 2..2. CbgpPeer2LastError interface{} // The total number of times the BGP FSM transitioned into the established // state for this peer. The type is interface{} with range: 0..4294967295. CbgpPeer2FsmEstablishedTransitions interface{} // 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 when the router // is booted. The type is interface{} with range: 0..4294967295. Units are // seconds. CbgpPeer2FsmEstablishedTime interface{} // Time interval (in seconds) for the ConnectRetry timer. The suggested value // for this timer is 120 seconds. The type is interface{} with range: // 1..65535. Units are seconds. CbgpPeer2ConnectRetryInterval interface{} // Time interval (in seconds) for the Hold Timer established with the peer. // The value of this object is calculated by this BGP speaker, using the // smaller of the values in cbgpPeer2HoldTimeConfigured and the Hold Time // received in the OPEN message. This value must be at least three seconds if // it is not zero (0). If the Hold Timer has not been established with the // peer this object MUST have a value of zero (0). If the // cbgpPeer2HoldTimeConfigured object has a value of (0), then this object // MUST have a value of (0). The type is interface{} with range: 0..0 | // 3..65535. Units are seconds. CbgpPeer2HoldTime interface{} // 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 cbgpPeer2HoldTime, it has the same proportion that // cbgpPeer2KeepAliveConfigured has, compared with // cbgpPeer2HoldTimeConfigured. If the KeepAlive timer has not been // established with the peer, this object MUST have a value of zero (0). If // the of cbgpPeer2KeepAliveConfigured object has a value of (0), then this // object MUST have a value of (0). The type is interface{} with range: // 0..21845. Units are seconds. CbgpPeer2KeepAlive interface{} // 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 // (cbgpPeer2HoldTime) with the peer. This value must not be less than three // seconds if it is not zero (0). If it is zero (0), the Hold Time is NOT to // be established with the peer. The suggested value for this timer is 90 // seconds. The type is interface{} with range: 0..0 | 3..65535. Units are // seconds. CbgpPeer2HoldTimeConfigured interface{} // 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 // cbgpPeer2HoldTimeConfigured; the actual time interval for the KEEPALIVE // messages is indicated by cbgpPeer2KeepAlive. A reasonable maximum value // for this timer would be one third of that of cbgpPeer2HoldTimeConfigured. // 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. The type is interface{} with // range: 0..21845. Units are seconds. CbgpPeer2KeepAliveConfigured interface{} // Time interval (in seconds) for the MinASOriginationInterval timer. The // suggested value for this timer is 15 seconds. The type is interface{} with // range: 1..65535. Units are seconds. CbgpPeer2MinASOriginationInterval interface{} // Time interval (in seconds) for the MinRouteAdvertisementInterval timer. The // suggested value for this timer is 30 seconds for EBGP connections and 5 // seconds for IBGP connections. The type is interface{} with range: 1..65535. // Units are seconds. CbgpPeer2MinRouteAdvertisementInterval interface{} // Elapsed time (in seconds) since the last BGP UPDATE message was received // from the peer. Each time cbgpPeer2InUpdates is incremented, the value of // this object is set to zero (0). The type is interface{} with range: // 0..4294967295. Units are seconds. CbgpPeer2InUpdateElapsedTime interface{} // Implementation specific error description for bgpPeerLastErrorReceived. The // type is string. CbgpPeer2LastErrorTxt interface{} // The BGP peer connection previous state. The type is CbgpPeer2PrevState. CbgpPeer2PrevState interface{} }
CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry Entry containing information about the connection with a BGP peer.
func (*CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry) GetEntityData ¶
func (cbgpPeer2Entry *CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus ¶
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus string
CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus represents authentication.
const ( CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus_stop CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus = "stop" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus_start CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2AdminStatus = "start" )
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState ¶
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState string
CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState represents The BGP peer connection previous state.
const ( CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_none CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "none" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_idle CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "idle" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_connect CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "connect" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_active CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "active" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_opensent CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "opensent" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_openconfirm CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "openconfirm" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState_established CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2PrevState = "established" )
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State ¶
type CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State string
CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State represents The BGP peer connection state.
const ( CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_idle CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "idle" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_connect CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "connect" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_active CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "active" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_opensent CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "opensent" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_openconfirm CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "openconfirm" CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State_established CISCOBGP4MIB_CbgpPeer2Table_CbgpPeer2Entry_CbgpPeer2State = "established" )
type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable ¶
type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry is identified by an AFI/SAFI pair and peer address. It contains // information associated with route prefixes belonging to an address family. // The type is slice of // CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry. CbgpPeerAddrFamilyPrefixEntry []*CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry }
CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable This table contains prefix related information related to address families supported by a peer. Supported address families of a peer are known during BGP connection establishment. When a new supported address family is known, this table is updated with a new entry. When an address family is not supported any more, corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable) GetEntityData ¶
func (cbgpPeerAddrFamilyPrefixTable *CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry ¶
type CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. // Refers to bgp4_mib.BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerRemoteAddr BgpPeerRemoteAddr interface{} // This attribute is a key. The type is InetAddressType. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry_CbgpPeerAddrFamilyAfi CbgpPeerAddrFamilyAfi interface{} // This attribute is a key. The type is CbgpSafi. Refers to // cisco_bgp4_mib.CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry_CbgpPeerAddrFamilySafi CbgpPeerAddrFamilySafi interface{} // Number of accepted route prefixes on this connection, which belong to an // address family. The type is interface{} with range: 0..4294967295. CbgpPeerAcceptedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family, received on this connection is denied. It is initialized // to zero when the connection is undergone a hard reset. The type is // interface{} with range: 0..4294967295. CbgpPeerDeniedPrefixes interface{} // Max number of route prefixes accepted for an address family on this // connection. The type is interface{} with range: 1..4294967295. CbgpPeerPrefixAdminLimit interface{} // Prefix threshold value (%) for an address family on this connection at // which warning message stating the prefix count is crossed the threshold or // corresponding SNMP notification is generated. The type is interface{} with // range: 1..100. CbgpPeerPrefixThreshold interface{} // Prefix threshold value (%) for an address family on this connection at // which SNMP clear notification is generated if prefix threshold notification // is already generated. The type is interface{} with range: 1..100. CbgpPeerPrefixClearThreshold interface{} // This counter is incremented when a route prefix, which belongs to an // address family is advertised on this connection. It is initialized to zero // when the connection is undergone a hard reset. The type is interface{} // with range: 0..4294967295. CbgpPeerAdvertisedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family is suppressed from being sent on this connection. It is // initialized to zero when the connection is undergone a hard reset. The type // is interface{} with range: 0..4294967295. CbgpPeerSuppressedPrefixes interface{} // This counter is incremented when a route prefix, which belongs to an // address family, is withdrawn on this connection. It is initialized to zero // when the connection is undergone a hard reset. The type is interface{} with // range: 0..4294967295. CbgpPeerWithdrawnPrefixes interface{} }
CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry An entry is identified by an AFI/SAFI pair and peer address. It contains information associated with route prefixes belonging to an address family.
func (*CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry) GetEntityData ¶
func (cbgpPeerAddrFamilyPrefixEntry *CISCOBGP4MIB_CbgpPeerAddrFamilyPrefixTable_CbgpPeerAddrFamilyPrefixEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerAddrFamilyTable ¶
type CISCOBGP4MIB_CbgpPeerAddrFamilyTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An entry is identified by an AFI/SAFI pair and peer address. It contains // names associated with an address family. The type is slice of // CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry. CbgpPeerAddrFamilyEntry []*CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry }
CISCOBGP4MIB_CbgpPeerAddrFamilyTable This table contains information related to address families supported by a peer. Supported address families of a peer are known during BGP connection establishment. When a new supported address family is known, this table is updated with a new entry. When an address family is not supported any more, corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeerAddrFamilyTable) GetEntityData ¶
func (cbgpPeerAddrFamilyTable *CISCOBGP4MIB_CbgpPeerAddrFamilyTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry ¶
type CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. // Refers to bgp4_mib.BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerRemoteAddr BgpPeerRemoteAddr interface{} // This attribute is a key. The AFI index of the entry. An implementation is // only required to support IPv4 unicast and VPNv4 (Value - 1) address // families. The type is InetAddressType. CbgpPeerAddrFamilyAfi interface{} // This attribute is a key. The SAFI index of the entry. An implementation is // only required to support IPv4 unicast(Value - 1) and VPNv4( Value - 128) // address families. The type is CbgpSafi. CbgpPeerAddrFamilySafi interface{} // Implementation specific Address Family name. The type is string. CbgpPeerAddrFamilyName interface{} }
CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry An entry is identified by an AFI/SAFI pair and peer address. It contains names associated with an address family.
func (*CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry) GetEntityData ¶
func (cbgpPeerAddrFamilyEntry *CISCOBGP4MIB_CbgpPeerAddrFamilyTable_CbgpPeerAddrFamilyEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerCapsTable ¶
type CISCOBGP4MIB_CbgpPeerCapsTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Each entry represents a capability received from a peer with a particular // code and an index. When a capability is received multiple times with // different values during a BGP connection establishment, corresponding // entries are differentiated with indices. The type is slice of // CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry. CbgpPeerCapsEntry []*CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry }
CISCOBGP4MIB_CbgpPeerCapsTable This table contains the capabilities that are supported by a peer. Capabilities of a peer are received during BGP connection establishment. Values corresponding to each received capability are stored in this table. When a new capability is received, this table is updated with a new entry. When an existing capability is not received during the latest connection establishment, the corresponding entry is deleted from the table.
func (*CISCOBGP4MIB_CbgpPeerCapsTable) GetEntityData ¶
func (cbgpPeerCapsTable *CISCOBGP4MIB_CbgpPeerCapsTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry ¶
type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. // Refers to bgp4_mib.BGP4MIB_BgpPeerTable_BgpPeerEntry_BgpPeerRemoteAddr BgpPeerRemoteAddr interface{} // This attribute is a key. The BGP Capability Advertisement Capability Code. // The type is CbgpPeerCapCode. CbgpPeerCapCode interface{} // This attribute is a key. Multiple instances of a given capability may be // sent by a BGP speaker. This variable is used to index them. The type is // interface{} with range: 1..128. CbgpPeerCapIndex interface{} // The value of the announced capability. This MIB object value is organized // as given below, Capability : Route Refresh Capability // Null string Capability : Multiprotocol Extensions // +----------------------------------+ | AFI(16 bits) // | +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ Capability : Graceful // Restart +----------------------------------+ | Restart Flags (4 // bits) | +----------------------------------+ | // Restart Time in seconds (12 bits)| // +----------------------------------+ | AFI(16 bits) // | +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ | Flags for Address // Family (8 bits)| +----------------------------------+ | ... // | +----------------------------------+ | AFI(16 bits) // | +----------------------------------+ | SAFI (8 bits) // | +----------------------------------+ | Flags for Address // Family (8 bits)| +----------------------------------+. The type is // string with length: 0..255. CbgpPeerCapValue interface{} }
CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry Each entry represents a capability received from a peer with a particular code and an index. When a capability is received multiple times with different values during a BGP connection establishment, corresponding entries are differentiated with indices.
func (*CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry) GetEntityData ¶
func (cbgpPeerCapsEntry *CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode ¶
type CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode string
CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode represents The BGP Capability Advertisement Capability Code.
const ( CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode_multiProtocol CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode = "multiProtocol" CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode_routeRefresh CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode = "routeRefresh" CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode_gracefulRestart CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode = "gracefulRestart" CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode_routeRefreshOld CISCOBGP4MIB_CbgpPeerCapsTable_CbgpPeerCapsEntry_CbgpPeerCapCode = "routeRefreshOld" )
type CISCOBGP4MIB_CbgpRouteTable ¶
type CISCOBGP4MIB_CbgpRouteTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Information about a path to a network received from a peer. The type is // slice of CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry. CbgpRouteEntry []*CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry }
CISCOBGP4MIB_CbgpRouteTable This table contains information about routes to destination networks from all BGP4 peers. Since BGP4 can carry routes for multiple Network Layer protocols, this table has the Address Family Identifier(AFI) of the Network Layer protocol as the first index. Further for a given AFI, routes carried by BGP4 are distinguished based on Subsequent Address Family Identifiers(SAFI). Hence that is used as the second index. Conceptually there is a separate Loc-RIB maintained by the BGP speaker for each combination of AFI and SAFI supported by it.
func (*CISCOBGP4MIB_CbgpRouteTable) GetEntityData ¶
func (cbgpRouteTable *CISCOBGP4MIB_CbgpRouteTable) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry ¶
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Represents Address Family Identifier(AFI) of the // Network Layer protocol associated with the route. An implementation is only // required to support IPv4 unicast and VPNv4 (Value - 1) address families. // The type is InetAddressType. CbgpRouteAfi interface{} // This attribute is a key. Represents Subsequent Address Family // Identifier(SAFI) of the route. It gives additional information about the // type of the route. An implementation is only required to support IPv4 // unicast(Value - 1) and VPNv4( Value - 128) address families. The type is // CbgpSafi. CbgpRouteSafi interface{} // This attribute is a key. Represents the type of Network Layer address // stored in cbgpRoutePeer. An implementation is only required to support IPv4 // address type(Value - 1). The type is InetAddressType. CbgpRoutePeerType interface{} // This attribute is a key. The Network Layer address of the peer where the // route information was learned. An implementation is only required to // support an IPv4 peer. The type is string with length: 0..255. CbgpRoutePeer interface{} // This attribute is a key. A Network Address prefix in the Network Layer // Reachability Information field of BGP UPDATE message. This object is a // Network Address containing the prefix with length specified by // cbgpRouteAddrPrefixLen. Any bits beyond the length specified by // cbgpRouteAddrPrefixLen are zeroed. The type is string with length: 0..255. CbgpRouteAddrPrefix interface{} // This attribute is a key. Length in bits of the Network Address prefix in // the Network Layer Reachability Information field. The type is interface{} // with range: 0..2040. CbgpRouteAddrPrefixLen interface{} // The ultimate origin of the route information. The type is CbgpRouteOrigin. CbgpRouteOrigin interface{} // 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;. // The type is string with length: 0..255. CbgpRouteASPathSegment interface{} // The Network Layer address of the border router that should be used for the // destination network. The type is string with length: 0..255. CbgpRouteNextHop interface{} // Indicates the presence/absence of MULTI_EXIT_DISC attribute for the route. // The type is bool. CbgpRouteMedPresent interface{} // This metric is used to discriminate between multiple exit points to an // adjacent autonomous system. The value of this object is irrelevant if the // value of of cbgpRouteMedPresent is false(2). The type is interface{} with // range: 0..4294967295. CbgpRouteMultiExitDisc interface{} // Indicates the presence/absence of LOCAL_PREF attribute for the route. The // type is bool. CbgpRouteLocalPrefPresent interface{} // The degree of preference calculated by the local BGP4 speaker for the // route. The value of this object is irrelevant if the value of // cbgpRouteLocalPrefPresent is false(2). The type is interface{} with range: // 0..4294967295. CbgpRouteLocalPref interface{} // Whether or not the local system has selected a less specific route without // selecting a more specific route. The type is CbgpRouteAtomicAggregate. CbgpRouteAtomicAggregate interface{} // The AS number of the last BGP4 speaker that performed route aggregation. A // value of zero (0) indicates the absence of this attribute. The type is // interface{} with range: 0..65535. CbgpRouteAggregatorAS interface{} // Represents the type of Network Layer address stored in // cbgpRouteAggregatorAddr. The type is InetAddressType. CbgpRouteAggregatorAddrType interface{} // The Network Layer address of the last BGP4 speaker that performed route // aggregation. A value of all zeros indicates the absence of this attribute. // The type is string with length: 0..255. CbgpRouteAggregatorAddr interface{} // An indication of whether or not this route was chosen as the best BGP4 // route. The type is bool. CbgpRouteBest interface{} // 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. Each path attribute is a // triple <attribute type, attribute length, attribute value> of variable // length. Attribute Type is a two-octet field that consists of the Attribute // Flags octet followed by the Attribute Type Code octet. If the Extended // Length bit of the Attribute Flags octet is set to 0, the third octet of // the Path Attribute contains the length of the attribute data in octets. If // the Extended Length bit of the Attribute Flags octet is set to 1, then the // third and the fourth octets of the path attribute contain the length of // the attribute data in octets. The remaining octets of the Path Attribute // represent the attribute value and are interpreted according to the // Attribute Flags and the Attribute Type Code. The type is string with // length: 0..255. CbgpRouteUnknownAttr interface{} }
CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry Information about a path to a network received from a peer.
func (*CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry) GetEntityData ¶
func (cbgpRouteEntry *CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry) GetEntityData() *types.CommonEntityData
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate ¶
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate string
CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate represents route.
const ( CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate_lessSpecificRouteNotSelected CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate = "lessSpecificRouteNotSelected" CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate_lessSpecificRouteSelected CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteAtomicAggregate = "lessSpecificRouteSelected" )
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin ¶
type CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin string
CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin represents The ultimate origin of the route information.
const ( CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin_igp CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin = "igp" CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin_egp CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin = "egp" CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin_incomplete CISCOBGP4MIB_CbgpRouteTable_CbgpRouteEntry_CbgpRouteOrigin = "incomplete" )