hh3cIfOperStatus
HH3C-IF-EXT-MIB ·
.1.3.6.1.4.1.25506.2.40.2.3.2.1.9
Object
column Enumeration
Current status of the interface. In testing state, no operational packets can be forwarded. If ifAdminStatus is down, hh3cIfOperStatus should be admindown. If ifAdminStatus is changed to up, hh3cIfOperStatus should change to up if the interface is ready to send and receive network traffic; otherwise, it should stay in down state.
Context
- MIB
- HH3C-IF-EXT-MIB
- OID
.1.3.6.1.4.1.25506.2.40.2.3.2.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cIfEntry
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 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-IF-EXT-MIB::hh3cIfOperStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-IF-EXT-MIB::hh3cIfOperStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-IF-EXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-IF-EXT-MIB::hh3cIfOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |
3 | testing |
4 | admindown |