02-19-2009 01:35 PM
I am trying to get the ifAdminStatus of a switch port and compare that to the ifOperStatus of that same port to determine if a link is down. snmpget is reporting that the admin status as down, even when i physically remove the cable from the port. it reports exactly the same message as when i administratively disable the same port.
curiously enough, logging on to the switch and running a switchshow displays the correct status. that is, not disabled and NO_LIGHT. That condition should report adminstatus=up and operstatus=down. the two dumps below illustrate this issue: port 8 is physically disconnected, but administratively enabled and port 9 is the opposite, e.g. connected, but disabled.
this seems to me to be an issue with brocade's snmp vs. the internals of the switch.
has anyone else encountered this issue and is there a way to get the switch to report the ifAdminStatus correctly?
IF-MIB::ifAdminStatus.1073741832 = INTEGER: down(2)
IF-MIB::ifAdminStatus.1073741833 = INTEGER: down(2)
IF-MIB::ifOperStatus.1073741832 = INTEGER: down(2)
IF-MIB::ifOperStatus.1073741833 = INTEGER: down(2)
8 8 id N4 No_Light
9 9 id N4 No_Sync Disabled