07-17-2011 12:38 AM - edited 03-07-2019 01:14 AM
Iam working in a company as an IT and heve been provided with 106 MegaByte Dedicated band , the company is providing WiMax for a city, and is now providing 100 MB for WiMAx customers, we have Cisco 3560 G for that purpose. so 6 MB will remain
my question is how I can select a port for example interface gigabitethrnet 0/3 to provide only 3 MB not more for the company branch.
could you help me on doing the necessary confirgurations for that swtich
07-17-2011 01:41 AM
Read the below
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_20_se/configuration/guide/swqos.html
http://www.cisco.com/univercd/cc/td/doc/solution/esm/qossrnd.pdf
Sent from Cisco Technical Support iPad App
07-17-2011 07:12 AM
is that a whole document, I was thinking you could write only bandwidth command on the desired interface, should I have to go read all the article, or specified part of that ?
07-17-2011 07:20 AM
Please any more help on limiting the bandwidth on a port !
07-17-2011 10:40 AM
Hi Hemin
Use this command:
Switch(config)# interface gig 0/3
Switch(config-if)# srr-queue bandwidth ?
limit --------> Configure bandwidth-limit for this interface
shape -----> Configure shaping on transmit queues
share ------> Configure shared bandwidth
Switch(config-if)# srr-queue bandwidth limit 97
97sets the outbound bandwidth limit on the port to 97 percent of the port speed. Since this is a 1gig port, this should limit the outbound traffic from the port to 3mb.
shape round-robin queue (srr- queue).
07-17-2011 05:00 PM
to limit the interface bandwidth to 6 M use the bellow comands
interface gigx/x
speed 10
srr-queue bandwidth limit 60 -- 60% of the 10 Mg above ! but make sure the other end accept the hard coded speed of 10M
otherwise you maight use policing but in the inbound direction of your network to the switch !!
good luck
if helpful rate
07-18-2011 11:28 PM
Is that working with Mega Byte, because there is difference between Mega bit and Mega byte, is that working ?
07-19-2011 02:26 AM
Hi Hemin,
Hope you have a seperate Vlan's for Network-A and Network-B. If you have then it would be possible to allocate bandwidth under the vlan's
See the below two individual steps may help in your scenario.
STEP-1:
Apply rate-limit on each L3 vlan interface in your 2851
Example (for 1024kbits for vlan 2):
Router# conf t
Router(config)# int vlan 2
Router(config-if)#rate-limit input 1000000 187500 375000 conform-action transmit exceed-action drop
Router(config-if)#rate-limit output 1000000 187500 375000 conform-action transmit exceed-action drop
STEP-2:
Policy a specific VLAN number on VLAN interface.
class-map vlan5
match vlan 5
match class-map class-default
policy-map vlan5-limit
class vlan5
police 2000000 250000 exceed-action drop
int vlan5
service-policy input vlan5-limit
After you apply this configuration, the traffic with VLAN 5 coming from any will be policed at 2Mbps.
Hope this will help you.
Please rate the helpfull posts.
Regards,
Naidu.
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