ifAdminStatus
IF-TRAP ·
.1.3.6.1.4.1.42359.2.2.2.1.3.1.3
Object
scalar 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)
Context
- MIB
- IF-TRAP
- OID
.1.3.6.1.4.1.42359.2.2.2.1.3.1.3- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- ifEntities
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IF-TRAP' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IF-TRAP::ifAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IF-TRAP' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IF-TRAP::ifAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |
3 | testing |