bgpPeerPeeringType
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.58
Object
The type of peering relationship associated with this peer. Setting this to 'biLateral' will stop the advertisement of routes with the NOPEER community to this peer, and also filter out routes with the NOPEER community received from the peer. Setting the field to other values is currently only for information. This field only applies to EBGP peers. If this field is set for an IBGP peer, the setting will have no effect and will still return 'unspecified'.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.58- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpPeerEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerPeeringType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpPeerPeeringType.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpPeerPeeringType'
Syntax
- Source
- BgpPeeringType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unspecified |
1 | provider |
2 | customer |
3 | biLateral |
Conformance
Member of