All MIBs › IF-MIB › ifAdminStatus
ifAdminStatus
Module: IF-MIB
OID (symbolic): IF-MIB::ifAdminStatus
OID (numeric): 1.3.6.1.2.1.2.2.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.2.2.1.7 snmpwalk -v2c -c public <target> IF-MIB::ifAdminStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.2.2.1.7.1 snmpget -v2c -c public <target> IF-MIB::ifAdminStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.2.2.1.7.1 i <value>
Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifAdminStatus OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.2 | interfaces | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2.2 | ifTable | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.2.2.1 | ifEntry | CHECKPOINT-MIB-2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.2.2.1.7 | ifAdminStatus | IF-MIB |