SNMP: ifAdminStatus vs ifOperStatus

I have a question about ifAdminStatus and ifOperStatus. Here is the status output of my network interface using ifAdminStatus:

snmpwalk -Os -c public -v 1 192.168.1.1 1.3.6.1.2.1.2.2.1.7ifAdminStatus.1 = INTEGER: up(1)

ifAdminStatus.12 = INTEGER: down(2)
ifAdminStatus.13 = INTEGER: up(1)
ifAdminStatus.14 = INTEGER: up(1)

And here is the same list using ifOperStatus:

snmpwalk -Os -c public -v 1 192.168.1.1 1.3.6.1.2.1.2.2.1.8

ifOperStatus.12 = INTEGER: down(2)
ifOperStatus.13 = INTEGER: down(2)
ifOperStatus.14 = INTEGER: down(2)

As you can see ifAdminStatus reports that # 13 and # 14, but ifOperStatus tells them about it. I know that # 13 supports and transmits packets, although it is (my PPPoE interface for connecting to the Internet). According to cisco documentation, β€œ If ifAdminStatus is not working (2), then ifOperStatus should be down (2). ” Which doesn't look like this here ...

My question is why status messages are different, and is it safe to use only ifAdminStatus to find out if the interface is running and running instead of ifOperStatus?

thank!

snmpwalk :

snmpwalk -Os -c public -v 1 192.168.1.1 1.3.6.1.2.1.2.2.1
[.....]
ifIndex.12 = INTEGER: 12    
ifIndex.13 = INTEGER: 13
ifIndex.14 = INTEGER: 14
[.....]
ifDescr.12 = STRING: etherip0
ifDescr.13 = STRING: ppp0
ifDescr.14 = STRING: tun1
[.....]
ifType.12 = INTEGER: ethernetCsmacd(6)
ifType.13 = INTEGER: ppp(23)
ifType.14 = INTEGER: other(1)
+5
1

ifAdminStatus ,

ifOperStatus , .

, ifAdminStatus=down ifOperStatus=down. : ifIndex 12.

ifAdminStatus ifIndex 13 14 . , Cisco, . , . , .

, , , Cisco IOS. snmpwalk, Linksys

sysDescr.0 = STRING: Linux Linksys E4200 2.6.24.111 #8614 
    Tue Dec 20 05:09:38 CET 2011 mips

, , ifOperStatus PPPoE; ​​ SNMP- Linksys.

+7

All Articles