12-03-2005 12:33 PM - edited 03-03-2019 11:08 AM
Hello,
I would like to know a bandwidtch utilization and trffic on my router 1751, it is possible ?
Thank you.
12-03-2005 12:54 PM
Hello,
depending on your IOS level, your router might support NBAR, try to turn it on with the global command:
ip nbar protocol-discovery
Once you have that turned on, you can view the output with the command ´show ip nbar protocol-discovery´, it will give you the protocol, packet count, and byte count for each protocol used on your router.
If your IOS does not support that, you could try Netflow accounting, which is enabled on an interface with the (interface) command ´ip route-cache flow´. The output can be viewed with the command ´show ip cache flow´, which also gives you per-protocol utilization data.
Also, there is a freeware application called MRTG available at www.mrtg.org, which lets you measure bandwidth utilization on router interfaces.
If you decide to use that, and if you are having problems implementing it, let me know...
Regards,
GP
12-03-2005 01:30 PM
mu ios is c1700-advsecurityk9-mz.123-14.T4
and when i tape command ip nbar protocol-discovery
i have an error.Invalid input detected at
config)#ip nbar ?
custom Custom PDL (protocol description language) Module
pdlm PDL (protocol description language) Module
port-map Map well-known port of a protocol to a new port
resources Configure memory usage for tracking Stateful sessions
12-03-2005 02:25 PM
Hello,
my OS is Winxp pro.
can you help me for installing mrtg and perl ?
i have download mrtg and perl but i don't understand this program to run.
i make a path for c:\perl\bin but it's KO when type in windows DOS c:\perl mrtg.
Why ?
thank
12-03-2005 02:48 PM
Hello Fabrice,
I assume you have followed these instructions ?
INSTALLATION
I suggest you do the following from the machine that will be running MRTG, which, in this case, is also a web server. All examples are for doing things to a LOCAL machine.
First
Unzip MRTG to C:\mrtg-2.13.0rc4 on the Windowsmachine of your choice.
Next
Install Perl on the same Windows machine. You might want to make sure that the Perl binary directory is listed in your system path.
C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;...You can manually check this by going to [Control Panel]->[System]->[Environment]
To see if everything is installed properly you can open a Command Shell and go into c:\mrtg-2.13.0rc4\bin. Type:
perl mrtgThis should give you a friendly error message complaining about the missing mrtg configuration file. Now, you have successfully installed mrtg and perl.
---------
You have to type ´perl mrtg´ from the directory where MRTG is installed in...
This link gives you a brief instruction for a basic setup:
Win32 MRTG Installation Guide
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-nt-guide.html
Regards,
GP
12-03-2005 03:13 PM
for installation, its ok but now i have another problem:
C:\>perl cfgmaker public@10.10.10.253 --global "WorkDir: c:\www\mrtg" --output m
rtg.cfg
Can't open perl script "cfgmaker": No such file or directory
Can you help me please.
thank
12-04-2005 12:41 PM
when you drop to a command prompt type path=c:\perl\bin
and then try the command again from the (your mrtg dir)/bin
12-04-2005 02:55 PM
Thank you very much, it's ok for PERL and MRTG.
On my router, i must active a SNMP :
snmp-server community xxx RW
is it correct ?
12-04-2005 10:55 PM
Hello,
exactly. Actually, you only need a read-only community, but the read-write community works as well...
Have you got everything working meanwhile ?
Regards,
GP
12-05-2005 05:07 AM
Hello,
Yes,everything working, but did you say if by default
the max speed it's correct ?
1250 Kbytes/sec for ethernet interface
and for connection ADSL a line at 8 MO/s.
on the page web, it is indicate max speed:88.00 kbytes/s for this interface.
Regards
12-05-2005 05:52 AM
Hello,
the default for Ethernet is indeed 1250Kbytes, which equals 10MB. I guess when MRTG was first developed, 10MB Ethernet was the standard. You can change those values to whatever you have, it just changes the paramters of the X and Y axis.
You can also measure in bits, by adding the line:
Options[_]: growright, bits
to the interface output file.
You can also generate two graphs, one for the incoming, and one for the outgoing graph, by adding:
MaxBytes1[myrouter]: 1250000
MaxBytes2[myrouter]: 1250000
I am not sure anymore which is which, that is, if MaxBytes 1 is incoming or outgoing...;)
Regards,
GP
12-06-2005 01:16 PM
Hello,
In my mrtg.con, there are maxBytes: 125000 for Ethernet interface.
And for my ATM interface there are MaxBytes[cisco1700_1]: 88000
is it normal ?
because my speed line adsl on my provider Internet, it's 8 Megabits/s.
Regards,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: