cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2018
Views
0
Helpful
11
Replies

port traffic

vishalpatil86
Level 1
Level 1

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?

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

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

HTH,
Niko

View solution in original post

11 Replies 11

shehinpm1
Level 1
Level 1

Hi,

#sh interface fa0/15 cmd out put wl give lots of information.

hi,

there is one command which shows how much user traffic is generating currently...

Hi Vishal,

That is "show ip accounting"


Please rate the helpful posts.
Regards,
Naidu.

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??

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.

hi,

i dont get anything after giving sh ip accounting command

Use show interface summary .  .  If you need port utilization you can use sh controllers utilization .

thank you glen,

but i want the output as send/receive format. can i do see that with the help of command?

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

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

HTH,
Niko

thats awsum,

thanks kristian and nik..... this is wat i wanted. thank u

Review Cisco Networking for a $25 gift card