Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to get ports information from a switch ?

I am in a big problem Well we have Cisco Catalyst 2950 switch. I have to write a application which will automatically fill up the database with the ports information from the switch (the switch can be any Cisco Switch but presently its Catalyst 2950 switch). The documentation says that I can get all the ports information from “.iso.org.dod.internet.mgmt.mib-2.dot1dBridge.dot1dBase.dot1dBasePortTable” now when I walk through this OID it gives me information about only the Active ports in the switch. I.e. for the ports which is connected to some computer but I need to get all the ports with their information. “.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable” won’t do as it gives the interfaces from the switch and I need to get the ports information.

Please help.

thanks for investing your time.

Sunil

1 REPLY
New Member
142
Views
0
Helpful
1
Replies
CreatePlease login to create content