[mrtg] Re: MRTG with Cisco 2900 series switch

McDonald, Dan Dan.McDonald at austinenergy.com
Wed Jan 15 03:50:09 MET 2003


Right, because the ifspeed is zero...

That's because the ports auto-negotiate speed.  And since the speed can
change, Cisco does't set the ifspeed value until the port is connected.

So, what to do?  You can set the bandwidth parameter before you run
cfgmaker, e.g.:

config t
int range fas 0/1 - 24
bandwidth 100000
^z

(this assumes that you are running recent code on your switch.  Otherwise
you will need to set the bandwidth on each switch individually...)


Daniel J McDonald, CCIE #2495, CNX
Lan/Wan Integrator
Austin Energy
1.512.322.6739
dan.mcdonald at austinenergy.com


-----Original Message-----
From: Jerry Hsieh [mailto:jerry at intervideo.com]
Sent: Tuesday, January 14, 2003 7:42 PM
To: Mitchell, Warrick (CSC at Alcoa); mrtg
Subject: [mrtg] Re: MRTG with Cisco 2900 series switch



Hi Warrick,

Thanks for the reply. I tried with the options but the configuration still
commented out

i.e.
### Interface 4 >> Descr: 'FastEthernet0/3' | Name: 'Fa0/3' | Ip: '' | Eth:
'00-03-6b-95-63-83' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#
# Target[192.168.0.130_4]: 4:public at 192.168.0.130:
# SetEnv[192.168.0.130_4]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/3"
# MaxBytes[192.168.0.130_4]: 0
# Title[192.168.0.130_4]: Traffic Analysis for 4 -- ciscosw1
# PageTop[192.168.0.130_4]: <H1>Traffic Analysis for 4 -- ciscosw1</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>ciscosw1 in </TD></TR>
#    <TR><TD>Maintainer:</TD> <TD></TD></TR>
#    <TR><TD>Description:</TD><TD>FastEthernet0/3  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD>Fa0/3</TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 bits/s</TD></TR>

The 2900 running-config is in the following:
...
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
......

Is there anything I need to do on the switch? Thanks again.

Regards,

Jerry Hsieh


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Mitchell, Warrick (CSC at Alcoa)
Sent: Tuesday, January 14, 2003 5:22 PM
To: 'Jerry Hsieh'; mrtg
Subject: [mrtg] Re: MRTG with Cisco 2900 series switch



Hi Jerry,

If you run cfgmaker without any arguments, it will display it's help, in the
help it has the following options to solve your problem:

  --no-down         do not look at admin or opr status of interfaces

  --show-op-down    show interfaces which are operatively down

i.e. cfgmaker --show-op-down public at my.router.com

Which will produce a config file which has all ports that are not
administratively set to shutdown shown.

If you want all ports regardless of their state, i.e. up, down,
administratively down, use the --no-down option.

Kind regards,
Warrick Mitchell
Network Engineer

ALCOA World Alumina of Australia
* Phone:  9316 5160  Fax:  9316 5228
* E-mail:  <mailto:Warrick.Mitchell at alcoa.com.au>


-----Original Message-----
From: Jerry Hsieh [mailto:jerry at intervideo.com]
Sent: Wednesday, January 15, 2003 09:15
To: mrtg
Subject: [mrtg] MRTG with Cisco 2900 series switch



Hi all,

I am trying to use MRTG to monitor traffic on Cisco 2900 switches. When I
run cfgmaker, the cfg file will comment out the ports are not activate(no
system connected). Is there any way to enable this? Thanks for your time.

Regards,

Jerry Hsieh

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list