hwbgpAcctDirection
HUAWEI-BGP-ACCOUNTING-MIB ·
.1.3.6.1.4.1.2011.5.25.39.1.1.1.3
Object
An integer value greater than 0, that uniquely identifies BGP accounting the inbound traffic or outbound traffic. 1 is inbound ,2 is outbound, and 3 is both inbound and outbound
Context
- MIB
- HUAWEI-BGP-ACCOUNTING-MIB
- OID
.1.3.6.1.4.1.2011.5.25.39.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwBgpAcctCfgEntry
- 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 'HUAWEI-BGP-ACCOUNTING-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-ACCOUNTING-MIB::hwbgpAcctDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BGP-ACCOUNTING-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-ACCOUNTING-MIB::hwbgpAcctDirection.<hwbgpAcctCfgIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BGP-ACCOUNTING-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BGP-ACCOUNTING-MIB::hwbgpAcctDirection'
Syntax
- Source
- DirectionType
- Base type
Enumeration
Values & Constraints
Type Values
0 | invalid |
1 | inbound |
2 | outbound |
3 | inboundAndOutbound |
Conformance
Member of