Traffic Utilization on Cisco and Juniper Devices

ciscojuniper

I'd like to check current traffic utilization (how much Mb/s is used per interface) on port on cisco switch and Juniper SRX device – any ideas where I can look up for this informations?

Thank you for all answers.
mfx

Best Answer

For Cisco devices, you can type

show interface x/y

You'll get a response like this

Router>show interface tengigabit 0/0/0
TenGigabitEthernet0/0/0 is up, line protocol is up 
  Hardware is SPA-1X10GE-L-V2, address is 0000.0000.0000 (bia 0000.0000.0000)
  Description: Sample Circuit
  Internet address is 1.2.3.4/31
  MTU 9178 bytes, BW 10000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 9/255, rxload 11/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported 
  Full Duplex, 10000Mbps, link type is force-up, media type is 10GBase-LR
  output flow-control is on, input flow-control is on
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:29, output 00:00:04, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 456145000 bits/sec, 85866 packets/sec
  5 minute output rate 356961000 bits/sec, 79293 packets/sec
     405059988918 packets input, 267595313186384 bytes, 0 no buffer
     Received 2 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles 
     832 input errors, 677 CRC, 155 frame, 0 overrun, 0 ignored
     0 watchdog, 3635928 multicast, 0 pause input
     381317901828 packets output, 215556748770785 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 unknown protocol drops
     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
Router>

For simple utilization, txload and rxload will give you the answer (6th line down). The values are expressed as fractional utilization out of 255. So 0/255 is 0 load, 128/255 is 50% load and 255/255 is 100% load. In this case, 9/255 is a little over 3%. For actual byte counts, look at the 5 minute input and output rates. Although it should be obvious, it bears repeating that these numbers are 5 minute averages.