SNMP interface MIB ifindex

Posted on 2010-01-08
Medium Priority
Last Modified: 2012-05-08
I am trying to find out the ifindex on the Cisco 2950 switch but can't find the command to do so. I need to monitor this switch's interface via SNMP. I know on cisco WS-C6506-E ,  the command that returns the ifindex is as follows: sh snmp mib ifmib ifindex gigabitEthernet 1/1.
But this command is not supported in Cisco 2950.  Can anyone help?
Question by:thunder8080
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 21

Assisted Solution

from_exp earned 200 total points
ID: 26273078
I would suggest to take snmp walk on a 2950 device. you can use ireasoning mib browser to do that.

Author Comment

ID: 26274026
Thx from_exp. Could you please eleborate further as I am not able to unsderstand what you mean.

LVL 17

Accepted Solution

rochey2009 earned 400 total points
ID: 26275919


OID Tree

You are currently viewing your object with levels of hierarchy above your object.
. iso (1) . org (3) . dod (6) . internet (1) . mgmt (2) . mib-2 (1) . interfaces (2)
    - -- ifTable (2)
       - -- ifEntry (1)
         | --   ifIndex (1) object Details
LVL 23

Assisted Solution

Mysidia earned 400 total points
ID: 26280465
I would normally use snmpwalk from a remote UNIX/Linux machine with net-snmp-utils installed
snmpwalk -v1 -c  public  ifDescr  

snmpwalk -v1 -c  (COMMUNITY)  (Switch-IP)  ifAlias
snmpwalk -v1 -c  (COMMUNITY)  (Switch-IP)  ifDescr


snmpwalk -v1 -c  (COMMUNITY)  (Switch-IP) .

If you prefer.

SNMP is not a local management interface,  it's a remote management protocol.   I  believe  'show snmp mib',  and the ability to locally see snmp indexes  is a new feature, first introduced in  12.2(2)T. it's listed as avail under 12.2(28)SB, 12.2(33)SRA, 12.2SX

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question