01-18-2015 12:59 PM - edited 03-05-2019 12:35 AM
Hello,
When configuring the bandwidth command, e.g as below
policy-map TEST
Class Data_Critical
bandwidth percent 40
This "percent 40". Is this 40% of the Interface BW that the Policy Map is applied to, or is it related to a certain queue size? What exactly does the bandwidth command relate to?
01-18-2015 01:08 PM
It relates to the interface's bandwidth.
PSTN-RTR#show interface gig 0/0
GigabitEthernet0/0 is up, line protocol is up
Hardware is CN Gigabit Ethernet, address is 2c54.2d2b.d950 (bia 2c54.2d2b.d950)
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 9/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set
Keepalive set (10 sec)
So, it will be 40% of 100000.
01-19-2015 03:27 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
Aedamasceno is correct, but also keep in mind it's relative to all your allocations.
For example if you had:
policy-map TEST
Class Data_Critical
bandwidth percent 40
class Another
bandwidth percent 20
Discounting the implicit class-default class, Data_Critical (on most platforms - I understand ASRs are different) effectively gets 2/3 of the bandwidth because only 60% has been defined. Bandwidth ratios are 40:20 or 2:1.
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