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...
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
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.
I assume you have followed these instructions ?
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.
Unzip MRTG to C:\mrtg-2.13.0rc4 on the Windowsmachine of your choice.
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
for installation, its ok but now i have another problem:
C:\>perl cfgmaker email@example.com --global "WorkDir: c:\www\mrtg" --output m
Can't open perl script "cfgmaker": No such file or directory
Can you help me please.
when you drop to a command prompt type path=c:\perl\bin
and then try the command again from the (your mrtg dir)/bin
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 ?
exactly. Actually, you only need a read-only community, but the read-write community works as well...
Have you got everything working meanwhile ?
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.
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:
I am not sure anymore which is which, that is, if MaxBytes 1 is incoming or outgoing...;)
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.