Can anyone point me in the direction of the OID or MIBs to get the current Duplex of a given interface on a catalyst switch using SNMP?
CISCO-STACK-MIB::portDuplex and CISCO-C2900-MIB::c2900PortDuplexState show what the port is set to - but I am interested in what the port is actually using to communicate. eg, Half, Full, Auto-Half, Auto-Full
I thought one of those was the administered state and the other was the operational state. My NMC (Spectrum) seems to be able to read two values, but unfortunately I cannot get at the OIDs. (Spectrum works on database attributes rather than letting you see the OID directly.)
However, I do know that the attribute it calls "Duplex State" has three enumerations: halfduplex, fullduplex, or autoNegotiate. The attribute it calls "Duplex Status" has only two enumerations: halfduplex or fullduplex. And I guess those are the IODs you mentioned in your posting.
You could try setting up a switch to auto and connecting it to a PC that has forced full duplex. You should see '3' (autoNegotiate) on the administrative state and '1' (half duplex) on the operational state.
Yes you are correct. It looks like I would have to query two SNMP values to get the info I want.
I found one other value which is the CISCO-C2900-MIB::c2900PortDuplexStatus. However, this only applies to 2900, 2950 and 3500 switches. It seems to be dropped in 3560 and 3750 switches - I guess as it has been replaced by the STACK MIB. But I can't find a status section of the STACK MIB.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...