cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
334
Views
0
Helpful
3
Replies

How do I measure traffic on a SET based switch?

xxcaligulaxx
Level 1
Level 1

What I am looking to do is to measure the traffic over a giving period of time from one interface on a set based switch. Is this possible without mirroring a port and using additional software?

sh interface gig 3/4 on an IOS based switch will display the following

**************************************************

5 minute output rate 0 bits/sec, 0 packets/sec

3451 packets input, 220902 bytes, 0 no buffer

Received 2874 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

0 input packets with dribble condition detected

14195 packets output, 922168 bytes, 0 underruns

0 output errors, 0 collisions, 0 interface resets

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier

0 output buffer failures, 0 output buffers swapped out

****************************************************

Can you change the default from 5 minute output to 60 mins or greater?

Is there a comparable command within the SET based switches?

sh port 3/4 does not display as much useful information.

Thanks in advance!

3 Replies 3

dnewell24
Level 1
Level 1

show port counters [mod[/port]]

That command is what I think you’re looking for.

http://www.cisco.com/en/US/products/hw/switches/ps708/products_command_reference_chapter09186a00801dd605.html

I'm not sure about the command to change 5 minute output/input rate. You could do a little math to get the number you seek.

5 minute output rate 0 bits/sec, 0 packets/sec

3451 packets input, 220902 bytes,

14195 packets output, 922168 bytes,

The 5 minute output rate is just an average over 5 minutes. You have the total number of bytes (8 bits) and packets received on the interface. Just clear counters on that interface and wait 60 minutes. Divide your total input or output packets by 3600sec and you have the packets per second. For bits per second multiply total output/input bytes by 8b and the divide by 3600sec and that will give you your average bps. Now you have bps and pps over a 1 hour time period.

HTH

Ryan

Unfortunatly the sh port counters only shows collisions, runts giants etc. It does not have a comarable output to the sh interface gig 3/4 hence my query?

Review Cisco Networking for a $25 gift card