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