[mrtg] Re: MRTG bandwidth measurment on a Catalyst 6509
patrckb at hotmail.com
Fri Nov 10 18:42:57 MET 2000
There is a MIB table to help you.
If you snmpwalk down ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName (AKA
.126.96.36.199.188.8.131.52.1.1.1) you can get the mod/port names for each index.
Here's the starting list from one of my switches:
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.1 = sc0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.2 = sl0
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.3 = 1/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.4 = 1/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.5 = 15/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.103 = VLAN-1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.104 = VLAN-1002
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.105 = VLAN-1004
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.106 = VLAN-1005
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.107 = VLAN-1003
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.108 = VLAN-10
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.109 = VLAN-15
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.208 = VLAN-2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.401 = 9/1
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.402 = 9/2
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.403 = 9/3
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.404 = 9/4
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.405 = 9/5
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.406 = 9/6
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.407 = 9/7
I query these and then store them in a perl hash and then use them in my CGI
scripts whenever I need to translate Mod/Port <-> Index.
Patrick Bartkus, CCNP Certified Sr. Network Support Analyst
Fleet Mortgage Group Columbia, SC
If truth was not absolute, how could there be justice?
>From: "Enerson, Marty" <menerso at marketwatch.com>
>To: 'Jonas Nylund' <jonas.nylund at norr.bredband.com>, mrtg at list.ee.ethz.ch
>Subject: [mrtg] Re: MRTG bandwidth measurment on a Catalyst 6509
>Date: Fri, 10 Nov 2000 10:25:49 -0600
>I just sent an email to this list asking the same question. I had to graph
>the individual ports on the CAT6509 that corresponded to the vlan uplinks.
>The fun part was getting the interface numbers for the specified ports.
>Since I have Cat6509 with a full set of 48 port blades, finding port 5/6
>8/32 and whatever else took awhile.
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg