hwBgpGRStatAddressFamily
HUAWEI-BGP-GR-MIB ·
.1.3.6.1.4.1.2011.5.25.138.1.4.1.1
Object
column AFIType
Address family of BGP( notspecified(1), ipv4(2), ipv6(3), vpls(25), l2vpn(196))
Context
- MIB
- HUAWEI-BGP-GR-MIB
- OID
.1.3.6.1.4.1.2011.5.25.138.1.4.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwBgpGRStatusInfoEntry
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 'HUAWEI-BGP-GR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-GR-MIB::hwBgpGRStatAddressFamily'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BGP-GR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-GR-MIB::hwBgpGRStatAddressFamily.<hwBgpGRStatAddressFamily>.<hwBgpGRStatSubAddressFamily>.<hwBgpGRStatInstanceID>.<hwBgpGRStatPeerAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BGP-GR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BGP-GR-MIB::hwBgpGRStatAddressFamily'