Friday, January 25, 2019

OID for Configured Duplex, Not Current Connected Duplex State

Hello everyone. I have some Cisco 2960s and I am trying to find the specific OID for an SNMP walk to pull the configured duplex, not the state of the connection. On the switch CLI I would run show int gi0/0 status. But I am making a script to pull the configured duplex across a few switches for testing. I have googled the heck out of this and looked through many a OID tree trying to find the right one. The closest I got was an OID that returned a result only if something was connected and the unconnected ports were unknown.

Thanks for your help!



No comments:

Post a Comment