Page 1 of 1

Interface bandwidth utilization

Posted: 10 May 2015 22:23
by kent2612
Is there a way I can find out the amount of bandwidth i'm using on a particular interface? I am trying to calculate the percentage usage on the interface.

Re: Interface bandwidth utilization

Posted: 11 May 2015 02:49
by devnull
Show interfaces [1/x] counters
Will give you the Bits/s for a 5sec sampling interval

Re: Interface bandwidth utilization

Posted: 11 May 2015 23:33
by kent2612
Switch-> show interfaces gigaethernet 1/3 counters
1/3 ,
InOctets = 64542361795305, OutOctets = 70578553864309,
InUcastPkts = 84953389119, OutUcastPkts = 90884864240,
InMcastPkts = 0, OutMcastPkts = 903531746,
InBcastPkts = 47912484, OutBcastPkts = 596583578,
InPauseFrames = 0, OutPauseFrames = 0,
Sampling Interval 5 seconds
InPkts/s = 1, OutPkts/s = 53,
InBits/s = 128, OutBits/s = 85584

Are you referring to InBits/s = 128, OutBits/s = 85584
As the interface bandwidth is 1000 Megabits (1000000000 Bits) is the % usage
[(128+85584)/1000000000] x 100 = 0.0085712%

Re: Interface bandwidth utilization

Posted: 12 May 2015 01:56
by devnull
Oh.. i see.
there you see the absolute usage, not percentage.
You would need to calculate as you did, but a gigabit interface can negotiate as 10/100 as well, then the %-bandwidth is higher.
I would probably prefer to calculate in and out traffic seperate, you don't have to deal with 150% utilization if inbound and outbound ist e.g. at 750/Mbit each

(if you script it do a "show intercace status" and get the speed

I do not think alcatel has something similar to the bandwidth/255 as cisco has in show interface.