12-28-2005 10:18 AM
Hi,
I have used ifIndex in IF-MIB and portType in CISCO-STACK-MIB to get the type of port on a switch.
But is there a oid that can differentiate between Ethernet, Fast and Gig interfaces.
Thanks,
Prakash.
Solved! Go to Solution.
12-29-2005 08:26 AM
ifDescr will tell you FastEthernet or GigabitEthernet for sure (just checked) and likely Ethernet (we have none, couldn't check).
.1.3.6.1.2.1.2.2.1.2
Dave
12-28-2005 02:13 PM
ifSpeed will tell you exactly that. Or you can use the various OID's under the following;
.1.3.6.1.4.1.9.5.1.4.1.1
This will also give you type, duplex, status and lots of other fun stuff. (portType is one of these and does give the different port types, check the MIB description)
bcbv
12-28-2005 08:55 PM
ifSpeed tells me the current speed setting. For example if a Fast/Gig Etherenet is set to 10 Mbps... ifSpeed shows the port speed setting as 10 Mbps.
12-29-2005 08:26 AM
ifDescr will tell you FastEthernet or GigabitEthernet for sure (just checked) and likely Ethernet (we have none, couldn't check).
.1.3.6.1.2.1.2.2.1.2
Dave
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide