SNMP: ifAdminStatus vs ifOperStatus

こ雲淡風輕ζ 提交于 2019-12-03 16:11:35

ifAdminStatus reveals whether the interface is enabled for operation

ifOperStatus reveals whether the interface has successfully formed a link.

The documentation you cited only asserts that ifAdminStatus=down means ifOperStatus=down. That much is true with ifIndex 12.

ifAdminStatus reports ifIndex 13 and 14 as up. Therefore, the guidance you quoted from Cisco's documentation doesn't apply. The operational status of those interfaces can still be down, even if they are enabled to operate. One simple case would be if no cable was plugged into them.

EDIT

The whole time I have been answering this question, I thought you had a Cisco router running IOS. Based on your snmpwalk, this is in fact a Linksys

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

Based on the evidence I have seen, you just cant monitor ifOperStatus for your PPPoE connection; they didnt code that much functionality into the SNMP agent on the Linksys.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!