12-27-2012 09:41 AM - edited 03-07-2019 10:47 AM
hi ,
i have a snmp tool that give me the bandwidth of interface after 40 sec .
but i want from router to know the real time bw utilization
how to verify it from router ????
regards
Solved! Go to Solution.
12-27-2012 10:15 AM
Hi,
You can see utilization of interface by running command
show interfaces g1/0/19
And output something like:
GigabitEthernet1/0/19 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:14, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 380
Queueing strategy: fifo
Output queue: 0/40 (size/max)
1 minute input rate 5175000 bits/sec, 516 packets/sec
1 minute output rate 180000 bits/sec, 296 packets/sec
56938680451 packets input, 80932479911971 bytes, 0 no buffer
Received 5973846 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2529878 multicast, 0 pause input
0 input packets with dribble condition detected
31254785516 packets output, 5084065295630 bytes, 0 underruns
0 output errors, 0 collisions, 1 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
You can also change default 5 min load interval to minimum 30 second.
conf t
int g1/0/19
load-interval 30
Changes the length of time for which data is used to compute load statistics. |
https://supportforums.cisco.com/thread/149119
http://packetlife.net/blog/2008/jun/21/tweaking-interface-load-interval/
Hope it will help.
12-27-2012 10:15 AM
Hi,
You can see utilization of interface by running command
show interfaces g1/0/19
And output something like:
GigabitEthernet1/0/19 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:14, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 380
Queueing strategy: fifo
Output queue: 0/40 (size/max)
1 minute input rate 5175000 bits/sec, 516 packets/sec
1 minute output rate 180000 bits/sec, 296 packets/sec
56938680451 packets input, 80932479911971 bytes, 0 no buffer
Received 5973846 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2529878 multicast, 0 pause input
0 input packets with dribble condition detected
31254785516 packets output, 5084065295630 bytes, 0 underruns
0 output errors, 0 collisions, 1 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
You can also change default 5 min load interval to minimum 30 second.
conf t
int g1/0/19
load-interval 30
Changes the length of time for which data is used to compute load statistics. |
https://supportforums.cisco.com/thread/149119
http://packetlife.net/blog/2008/jun/21/tweaking-interface-load-interval/
Hope it will help.
12-27-2012 10:29 AM
thanks very much ,
but in my opinion 30 seconds is long !!!!
is there less than 30 sec interval ???
regards
12-27-2012 10:34 AM
Unfortunately, the load interval can be only between 30 and 600 seconds, specified in increments of 30 seconds. It is good to have something than nothing .
Abzal.
12-27-2012 10:44 AM
Abzal Sembay wrote:
Unfortunately, the load interval can be only between 30 and 600 seconds, specified in increments of 30 seconds. It is good to have something than nothing .
Abzal.
sure
thanks
regards
12-27-2012 11:12 AM
Hi,
i think you should ask on the EEM forum for an EEM applet code snippet, this way you could retrieve the value inbound/outbound bytes on an interface every x seconds with SNMP and let EEM do the math and output the result.
Regards.
Alain
Don't forget to rate helpful posts.
12-27-2012 01:12 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
For infrequent usage, you could also manually issue the show interface command more than once. Note the approximate time between entering the show interface commands. Note bytes values for input and output (see below). Determine the delta byte values between the show commands. Divide by the time between entering commands.
GigabitEthernet1/0/19 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:14, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 380
Queueing strategy: fifo
Output queue: 0/40 (size/max)
1 minute input rate 5175000 bits/sec, 516 packets/sec
1 minute output rate 180000 bits/sec, 296 packets/sec
56938680451 packets input, 80932479911971 bytes, 0 no buffer
Received 5973846 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2529878 multicast, 0 pause input
0 input packets with dribble condition detected
31254785516 packets output, 5084065295630 bytes, 0 underruns
0 output errors, 0 collisions, 1 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
12-27-2012 11:01 PM
JosephDoherty wrote:
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
For infrequent usage, you could also manually issue the show interface command more than once. Note the approximate time between entering the show interface commands. Note bytes values for input and output (see below). Determine the delta byte values between the show commands. Divide by the time between entering commands.
GigabitEthernet1/0/19 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:14, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 380
Queueing strategy: fifo
Output queue: 0/40 (size/max)
1 minute input rate 5175000 bits/sec, 516 packets/sec
1 minute output rate 180000 bits/sec, 296 packets/sec
56938680451 packets input, 80932479911971 bytes, 0 no buffer
Received 5973846 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 2529878 multicast, 0 pause input
0 input packets with dribble condition detected
31254785516 packets output, 5084065295630 bytes, 0 underruns
0 output errors, 0 collisions, 1 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
good idea , but it seems i must accurate when i press on the cli so that i calculate the delta time
thanks
regards
12-28-2012 04:43 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
CSCO12006413 wrote:
good idea , but it seems i must accurate when i press on the cli so that i calculate the delta time
Correct, but that's true of any polling. For example, how precise is a SNMP poller (even EEM)? Although likely more precise than manual counting, how much precision do you need?
Again, it's just a technique to get a ballpark estimate when you want to know bandwidth utilization over a second or few seconds and you haven't anything else set up to provide more accurate information. There's a reason I noted "infrequent".
So for approximate bandwidth utilization, over a few seconds, try something like type show command, press enter, start saying one Mississippi, two Mississippi, ..., five Mississippi, and while counting press up arrow, and at end of one of the Mississippis, press the enter key again.
08-29-2019 05:04 PM
On switch Nexus, try using the command: show interface ethernet 1/11 | inc rate
LABSP-N5K01-RK04# show interface ethernet 1/11 | inc rate
30 seconds input rate 5919584 bits/sec, 1304 packets/sec
30 seconds output rate 312 bits/sec, 0 packets/sec
input rate 5.91 Mbps, 1.30 Kpps; output rate 200 bps, 0 pps
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