bgp4V2PeerRemoteAddrType

OBS ✓
BGP4V2-MIB · .1.3.6.1.3.5.1.1.2.1.4

Object

The address family of the remote end of the peering
session.
              
An implementation is required to support IPv4 peering
sessions in which case the length of this object is 4.
An implementation MAY support IPv6 peering
sessions in which case the length of this object is 16.
IPv6 link-local peering sessions MAY be supported by
this MIB.  In this case the length of this object is 20.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Routing
Explore Observium network monitoring

Context

MIB
BGP4V2-MIB
OID
.1.3.6.1.3.5.1.1.2.1.4
Type
column
Access
noaccess
Status
current
Parent
bgp4V2PeerEntry

Walk 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 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2PeerRemoteAddrType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2PeerRemoteAddrType.<bgp4V2PeerInstance>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4V2-MIB::bgp4V2PeerRemoteAddrType'

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn