Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Viewing interface traffic on 2621 router

Viewing interface traffic on 2621 router 10 years 7 months ago #13143

Hi, It would be great if someone could answer this query of mine. Is there anyway to view the source of and amount of traffic entering a particular interface of the router.
The administrator has disabled public write access.

Re: Viewing interface traffic on 2621 router 10 years 7 months ago #13150

  • havohej
  • havohej's Avatar
  • Offline
  • Distinguished Member
  • Posts: 152
  • Karma: 0
hi.

of course you can.

first to look the amount of inpout and output total traffic traversing the interface you must do the shot interfaces command and it shows you info like these:

Serial1/1 is up, line protocol is up
Hardware is PowerQUICC Serial
Description: xxxxxxx
Internet address is xxxx.xxxx.xxxx.xxxx
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 2/255, rxload 4/255
Encapsulation PPP, LCP Open
Listen: CDPCP
Open: IPCP, loopback not set
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 17w3d
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 3049721
Queueing strategy: weighted fair
Output queue: 0/1000/64/3049721 (size/max total/threshold/drops)
Conversations 0/256/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 25000 bits/sec, 24 packets/sec
5 minute output rate 16000 bits/sec, 26 packets/sec
327473141 packets input, 2586425468 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 1 giants, 0 throttles
327 input errors, 180 CRC, 48 frame, 0 overrun, 0 ignored, 99 abort
391623214 packets output, 737041323 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets


the second question is that you want to see the flow, these command is very helpul for troubleshooting when someone int the lan is using most of the bandwidth and it is affecting all other users that are sharing the same wan bandwith.

first, you must enable the ip accounting output in the lan interface

router(config)#int fastEthernet 0/0
router(config-if)#ip accounting output-packets

then you can look at the conversation between local and external hosts and a brief accounting of how manye packets and bytes are transmitting between them:

router#show ip accounting
Source Destination Packets Byte
192.168.1.1 192.168.20.10 224 2061
192.168.1.2 172.16.31.5 13 367
192.168.1.3 14.14.14.2 1 9
192.168.1.4 172.16.97.1 1 4
192.168.1.5 192.168.20.20 142 5214
The administrator has disabled public write access.

Re: Viewing interface traffic on 2621 router 10 years 6 months ago #13446

Thanks a lot.

The reply has served the purpose.
The administrator has disabled public write access.
Time to create page: 0.076 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup