10-08-2011 03:21 AM - edited 03-04-2019 01:52 PM
hi,
i have cisco 2960. One user is connected to fa0/15 and browsing the internet.
i want to c how much traffic is incoming and outgoing. how can i do this?
Solved! Go to Solution.
10-11-2011 01:37 PM
Show int fa0/15 should atleast show last 5 minute input / output rate in bits/second on that interface.
Sent from Cisco Technical Support iPad App
10-12-2011 12:20 AM
Adding to Kristian,
You can also change the default timer of 5 minutes. Use command "load-interval X" where X are seconds in interface configuration mode.
Example hot to change it to 30 sec:
conf t
int fa0/15
load 30
end
show int fa0/15
FastEthernet0/15 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 0012.437e.3f08 (bia 0012.437e.3f08)
MTU 9000 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseLX SFP
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 301129
Queueing strategy: fifo
Output queue: 0/40 (size/max)
30 seconds input rate 264000 bits/sec, 158 packets/sec <======= In rate
30 seonds output rate 3987000 bits/sec, 648 packets/sec <======= Out rate
187451816 packets input, 42715889911 bytes, 0 no buffer
Received 2159938 broadcasts (1771426 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 1771426 multicast, 0 pause input
0 input packets with dribble condition detected
992415764 packets output, 576069827154 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
Nik
10-08-2011 04:08 AM
Hi,
#sh interface fa0/15 cmd out put wl give lots of information.
10-10-2011 03:23 AM
hi,
there is one command which shows how much user traffic is generating currently...
10-10-2011 03:28 AM
Hi Vishal,
That is "show ip accounting"
Please rate the helpful posts.
Regards,
Naidu.
10-10-2011 05:54 AM
hi Latchum,
this is the output-
sw#sh int gig6/7 accounting
GigabitEthernet6/7
Protocol Pkts In Chars In Pkts Out Chars Out
Spanning Tree 0 0 909841 54590460
CDP 30343 11803427 30344 14504432
now how can i read this??
10-10-2011 05:59 AM
Hi Vishal,
use only show ip accounting the output will be like below... In which you can find the source and destination and the bandwidth usage in Bytes.
lpar561#sh ip accounting
Source Destination Packets Bytes
10.10.10.2 192.168.0.0 3352 4657488
Please rate the helpful posts.
Regards,
Naidu.
10-10-2011 06:04 AM
hi,
i dont get anything after giving sh ip accounting command
10-10-2011 02:41 PM
Use show interface summary . . If you need port utilization you can use sh controllers utilization .
10-10-2011 10:21 PM
thank you glen,
but i want the output as send/receive format. can i do see that with the help of command?
10-11-2011 01:37 PM
Show int fa0/15 should atleast show last 5 minute input / output rate in bits/second on that interface.
Sent from Cisco Technical Support iPad App
10-12-2011 12:20 AM
Adding to Kristian,
You can also change the default timer of 5 minutes. Use command "load-interval X" where X are seconds in interface configuration mode.
Example hot to change it to 30 sec:
conf t
int fa0/15
load 30
end
show int fa0/15
FastEthernet0/15 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 0012.437e.3f08 (bia 0012.437e.3f08)
MTU 9000 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseLX SFP
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 301129
Queueing strategy: fifo
Output queue: 0/40 (size/max)
30 seconds input rate 264000 bits/sec, 158 packets/sec <======= In rate
30 seonds output rate 3987000 bits/sec, 648 packets/sec <======= Out rate
187451816 packets input, 42715889911 bytes, 0 no buffer
Received 2159938 broadcasts (1771426 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 1771426 multicast, 0 pause input
0 input packets with dribble condition detected
992415764 packets output, 576069827154 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
Nik
10-13-2011 03:21 AM
thats awsum,
thanks kristian and nik..... this is wat i wanted. thank u
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide