Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to divide bandwith?

i was asked in a interview how to give different user different bandwith like 1 get 256kbps and 2nd get 512 so on

so how to do that ? its related to isp maybe 

New Member

In the Cisco IOS on a

In the Cisco IOS on a Catalyst switch (not on a router), there's an Interface Mode command called shape round-robin queue bandwidth. More specifically, the command is srr-queue bandwidth.

This command has been around since IOS 12.2(25).

For example, let's say you have a 100-Mb Ethernet port on a Catalyst switch. You're selling the bandwidth on the port, and a customer has bought 10 Mb of bandwidth. Obviously, you want to limit the outbound bandwidth on the port to 10 Mb instead of the full 100 Mb.

To do so, go to Interface Configuration Mode on the switch port, and apply the srr-queue bandwidth limit command. Here's an example:

Switch(config)# interface FastEthernet 0/1
Switch(config-if)# srr-queue bandwidth limit 90

The 90 sets the outbound bandwidth limit on the port to 90 percent of the port speed. Since this is a 100-Mb port, this should limit the outbound traffic from the port to 10 Mb.

What if you're working with a Cisco router instead of a switch? Cisco routers don't support the srr-queue command. While there are several different QoS options that might accomplish the same thing, a common method that I've used is the rate-limit command.

For example, on a Cisco router when in Interface Mode, you could limit outbound bandwidth to 1 Mb using the following command:

Router(config-if)# rate-limit output 10000000 2000 2000 conform-action continue exceed-action drop
CreatePlease login to create content