bgp4V2PrefixGaugesAfi
BGP4V2-MIB ·
.1.3.6.1.3.5.1.1.8.1.1
Object
The AFI index of the per-peer, per prefix counters
Context
- MIB
- BGP4V2-MIB
- OID
.1.3.6.1.3.5.1.1.8.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- bgp4V2PrefixGaugesEntry
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 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2PrefixGaugesAfi'
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::bgp4V2PrefixGaugesAfi.<bgp4V2PeerInstance>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>.<bgp4V2PrefixGaugesAfi>.<bgp4V2PrefixGaugesSafi>'
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::bgp4V2PrefixGaugesAfi'
Syntax
- Source
- BGP4V2-TC-MIBBgp4V2AddressFamilyIdentifierTC
- Base type
Enumeration
Values & Constraints
Type Values
1 | ipv4 |
2 | ipv6 |