cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2746
Views
0
Helpful
3
Replies

SNMP oid to differentiate between Fast and Gig interfaces

prakashrj
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

dave.keith
Level 1
Level 1

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

View solution in original post

3 Replies 3

cisco
Level 1
Level 1

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

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.

dave.keith
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: