All MIBs › IF-MIB › ifOperStatus
ifOperStatus
Module: IF-MIB
OID (symbolic): IF-MIB::ifOperStatus
OID (numeric): 1.3.6.1.2.1.2.2.1.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description:
The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. If ifAdminStatus is down(2) then ifOperStatus should be down(2). If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic; it should change to dormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection); it should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state; it should remain in the notPresent(6) state if the interface has missing (typically, hardware) components.
What is ifOperStatus?
This OID reports the current operational status of a network interface: up (ready), down (offline), testing (running diagnostics), or dormant (waiting for external activation). It shows whether the interface can actually send and receive traffic right now. A network technician checks this first when a device isn't reachable on the network.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.2.2.1.8 snmpwalk -v2c -c public <target> IF-MIB::ifOperStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.2.2.1.8.1 snmpget -v2c -c public <target> IF-MIB::ifOperStatus.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 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 |
| 1.3.6.1.2.1.2.2.1.8 | ifOperStatus | IF-MIB |