Avatar of tinhnho
tinhnho asked on

Check bandwidth from cisco router 2811 ?

Hi guys,

I have a cisco router 2811 connected direct to ISP, is there any command to check the current bandwidth (up/down load) from command line ?. Thanks
RoutersCiscoNetwork Operations

Avatar of undefined
Last Comment
rajeev7086

8/22/2022 - Mon
enbit

nothing fancy, but if you do a show interface it will show you.


3745#sh int s2/0:2
Serial2/0:2 is up, line protocol is up
  Hardware is M32X with CSU/DSU
!
  5 minute input rate 15000 bits/sec, 29 packets/sec
  5 minute output rate 50000 bits/sec, 40 packets/sec
!
Default is 5 minute average, but you can change that with the load-interval command

3745(config-if)#load-interval ?
  <30-600>  Load interval delay in seconds

3745(config-if)#load-interval 30

  30 second input rate 18000 bits/sec, 35 packets/sec
  30 second output rate 39000 bits/sec, 48 packets/sec


ASKER
tinhnho

By the way, is there anyway to know what ip is taking how much bandwidth ?

Here is my network diagram:
ISP---cisco 2811-->switch

I have 5 servers plug in the switch right now with public IPs. They all go direct to Internet without NAT or anything.

I think one of them is sucking a lot of bandwidth right now but not sure how to trace it from cisco 2811. Thanks
Robert Sutton Jr

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Robert Sutton Jr

Or, you can just look at your interface statistics on the switch for every device that connects to it... This is assuming that your switch is serving ALL network device connections. The numbers should show you which one has the most activity...
ASKER
tinhnho

The switch i have right now is not cisco switch, it's Linksys EF4116 and not sure how to log in to see the interface statistic on the switch :(.
enbit

If you want long term I would look at something like the BQM above or even NTOP.
If you just need to see what is going outbound on an interface now and get it stopped, you can turn on ip accounting.


3745(config)#int s2/0:2
ENB_Grimsby_3745(config-if)#ip accounting output-packets
!
ENB_Grimsby_3745#sh ip accoun
   Source           Destination              Packets               Bytes
 172.16.101.10    192.0.16.3                       2                 152
 192.0.1.6        192.0.16.44                      4                 212
 192.0.1.6        192.0.16.101                    55                6943
 192.0.1.5        192.0.16.103                    15                 663
 192.0.1.6        192.0.16.109                    30               11037
 192.0.1.6        192.0.16.108                     4                 212

Accounting data age is 0

Just turn it off when done
!
3745(config)#int s2/0:2
3745(config-if)#no ip accounting output-packets
3745(config-if)#^Z
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
tinhnho

Hi,

at the end i got this:

Accounting data age is 4
cisco2811#

is this normal ?

by the way, when i am running "sh ip accoun" command ,  does it give me a live statistic ?

just curiosity, how come do i have to turn "ip accounting output-packets" off after used ? does is take alot of memory ?

Thanks alot.
ASKER
tinhnho

Hi again,

i just ran "sh ip accoun" and got this:

Accounting data age is 11
Accounting threshold exceeded for 36572 packets and 46143411 bytes

Sorry, what do 2 lines above mean ? Thanks.
enbit

That is how log you have been running it for
11 Minutes

Accounting threshold exceeded for 36572 packets and 46143411 bytes
I think this means it is having trouble accounting all the packets.

I usually turn it off, as it has seemed to cause some CPU/memory issues on some of my older routers.

If I want to monitor and keep results, I send netflow to NTOP.
let me know how you make out, I need to sign off for a while now


This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER
tinhnho

Hi enbit,

do you mind if i contact you thru YIM or AIM ? my YIM is andyjh55416. Thanks.
Alan Huseyin Kayahan

 I would strongly recommend you to setup MRTG. I check all my ASA firewall and switcport utilizations via it. It has a tiny usefull web based graphic interface which shows daily weekly monthly and yearly utilization
http://oss.oetiker.ch/mrtg/
    Feel free to ask any questions about installing or using
ASKER CERTIFIED SOLUTION
enbit

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
tinhnho

Thanks a lot for the info
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
rajeev7086

use prtg , it can be installed on windows machine and you can configure graphs for all ur switch port and alos the rotuer port connecting to ur isp .
 
Hope ur linksys is managble and u can setup community string on SNMP.
 
or one more good tool - http://www.mikrotik.com  download dude , it is good tool for making ur network map and also configuring /bw .