ifAdminStatus
OBS ✓
IF-MIB ·
.1.3.6.1.2.1.2.2.1.7
Object
column r/w
Enumeration
The desired state of the interface. The testing(3) state indicates that no operational packets can be passed. When a managed system initializes, all interfaces start with ifAdminStatus in the down(2) state. As a result of either explicit management action or per configuration information retained by the managed system, ifAdminStatus is then changed to either the up(1) or testing(3) states (or remains in the down(2) state).
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Ports
Explore Observium network monitoring
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 'IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IF-MIB::ifAdminStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IF-MIB::ifAdminStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IF-MIB::ifAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |
3 | testing |
Conformance
Member of
Compliance refinements
Values:
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).
testing(3).
Values:
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).
testing(3).
Values:
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).
testing(3).