IF-MIB :: ifAdminStatus

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsIF-MIBifAdminStatus

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.2interfacesCHECKPOINT-MIB-2
1.3.6.1.2.1.2.2ifTableCHECKPOINT-MIB-2
1.3.6.1.2.1.2.2.1ifEntryCHECKPOINT-MIB-2
Numeric OIDNameModule
1.3.6.1.2.1.2.2.1.7ifAdminStatusIF-MIB