That table DOES tell you what speed the interface is configured for.
Your real question is WHICH interface instance is used to connect
to a specific site. Those look like subinterfaces to me. Your list
does not show the complete ifDescr. Those Ethernet1/ entries
have been truncated. I would do this:
1) Expand the mib application PhysAddr (Monitor...MIB Values...
Interface Info) to include the field ifIndex. Caution: if the devices has
lots and lots of interfaces, say over 100, the mib appl may no longer
return all of the rows. In that case, go back in and delete a few of the
columns (like ifInErrors and ifOutErrors) until you get all of the
interfaces.
Widen the colum for ifDescr while you are in there. This is done
with Tools...MIB Application Builder.
2) Now pull up both the Address application (Monitor...Network
Configuration....Addresses) and the Interface application
(Monitor...MIB Values...Interface Info). The index number in the
address table maps to the index number in the interface table.
You should be able to tell from your map which addressed link
goes to the remote site. See the index number in the address table,
and check for that index number in the interface table. Now you
will know that you are interested in Ethernet1/0/1, for instance,
and that is ifIndex 8, for instance.
3) Now you know which index number you need to poll, and
what speed that 'interface' is configured for.
This is a good exercise for increasing understanding of
SNMP MIB II information.
If you are going to do this from a script with the mibtable command,
expand that '10' to something larger, and include the ifIndex field.
And keep in mind the warning that mibtable will fail to return all
of the rows if you select too many columns.
There is another field for ifDescr in snmpV2 that may contain
more site-specific information, depending on the device. Try
this table: .1.3.6.1.2.1.31.1.1.1
and these fields: ifName=1:17,ifDescr=18:50
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
"Carnegie, Martin"
<Martin.Carnegie@at To: Leslie
Clark/Southfield/IBM@IBMUS
coitek.com> cc:
Subject: RE: [nv-l]
router/switch speeds
05/10/2002 10:33 AM
What I am trying to find out is the line speed out to a certain location.
For example
/usr/OV/bin/mibtable -table .1.3.6.1.2.1.2.2.1 -fields
ifDescr=2:10,ifSpeed=5:10 -node xxx.xxx.1.1
User Specified MIB Table for xxx.xxx.1.1
ifDescr ifSpeed
FastEthern 100000000
Ethernet1/ 10000000
Ethernet1/ 10000000
Ethernet1/ 10000000
Ethernet1/ 10000000
FastEthern 100000000
FastEthern 100000000
Serial3/0 1544000
Serial3/1 1152000
Serial3/2 768000
Serial3/3 56000
Serial4/0 1544000
Serial4/1 1544000
Serial4/2 1544000
Serial4/3 1544000
TokenRing6 16000000
TokenRing6 16000000
TokenRing6 16000000
TokenRing6 16000000
Null0 4294967295
Serial3/0. 1544000
Serial3/0. 1544000
By looking at Ethernet1 (This is what we were told to use) it should tell
us
the speed at which the device is configured.
We use mostly Nortel devices but we also have some Cabletron. Is there not
some common attribute to look at to determine the configured speed?
----------------------------------------------
Martin Carnegie
ATCO I-Tek
Phone: 780.420.5068
Pager: 780.671.2895
mailto:martin.carnegie@atcoitek.com
----------------------------------------------
The information transmitted is intended only for the addressee and may
contain confidential, proprietary and/or privileged material. Any
unauthorized review, distribution or other use of or the taking of any
action in reliance upon this information is prohibited. If you receive this
in error, please contact the sender and delete or destroy this message and
any copies.
> -----Original Message-----
> From: Leslie Clark [SMTP:lclark@us.ibm.com]
> Sent: Friday, May 10, 2002 6:29 AM
> To: nv-l@lists.tivoli.com
> Subject: Re: [nv-l] router/switch speeds
>
> Does not return the same information as what? That is the interface
> speed specified by the manufacturer as the maximum possible.
> It is also possible that the link is going over a service provider
> line that is being throttled by the service provider, so the effective
> maximum may be lower. You have to apply that factor later.
>
> Tell us what you are really trying to find out, and I'm sure
> someone will be able to help.
>
> Cordially,
>
> Leslie A. Clark
> IBM Global Services - Systems Mgmt & Networking
> Detroit
>
>
>
>
> "Carnegie, Martin"
>
> <Martin.Carnegie@at To:
> nv-l@lists.tivoli.com
> coitek.com> cc:
>
> Subject: [nv-l]
> router/switch speeds
> 05/08/2002 11:22 AM
>
>
>
>
>
>
>
>
> Hi All,
>
> We are trying to write a script that queries the mib table on our network
> devices for the speeds they are configured for. We are currently using
>
> /usr/OV/bin/mibtable -table .1.3.6.1.2.1.2.2.1 -fields
> ifDescr=2:10,ifSpeed=5:10 -node <ipaddress>. Unfortunately this does not
> seem to return the same information. What I would hope is that there is
> some mib that would give me the exact speed for a device.
>
> As I am not really a network person, this is about the best I can give
for
> a
> description, but if you need more info, just ask and I can get it to you.
>
> Thanks
>
>
> ----------------------------------------------
> Martin Carnegie
> ATCO I-Tek
> Phone: 780.420.5068
> Pager: 780.671.2895
> mailto:martin.carnegie@atcoitek.com
> ----------------------------------------------
>
> The information transmitted is intended only for the addressee and may
> contain confidential, proprietary and/or privileged material. Any
> unauthorized review, distribution or other use of or the taking of any
> action in reliance upon this information is prohibited. If you receive
> this
> in error, please contact the sender and delete or destroy this message
and
> any copies.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
> For additional commands, e-mail: nv-l-help@lists.tivoli.com
>
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
> For additional commands, e-mail: nv-l-help@lists.tivoli.com
>
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
|