cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6500
Views
0
Helpful
7
Replies

Bandwidth restriction per a port for Cisco Catalyst 3560 Series

hemin.essa
Level 1
Level 1

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

7 Replies 7

andrew.prince
Level 10
Level 10

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

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 ?

Please any more help on limiting the bandwidth on a port !

majed.balsharaf
Level 1
Level 1

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).

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

Is that working with Mega Byte, because there is difference between Mega bit and Mega byte, is that working ?

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.