cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6363
Views
0
Helpful
9
Replies

Which model Cisco switch can control bandwidth on ports?

rechard_hk
Level 1
Level 1

Dear All,

I would like to ask you some question that i would like to limite port Cisco switch, i mean that normaly on port F0/0 speed 10/100 but i would like to limite speed 512kbps/ per port, So which Cisco switch that can limite like this, and how to configure on this?

Best Regards,

Rechard

9 Replies 9

dlakkaraju
Level 1
Level 1

Use Cisco Layer 3 switches, using which you can control speed of any ports.

Shashank Singh
Cisco Employee
Cisco Employee

Hi Rechard,

All switches which support policing can acheive this. AFAIK, all switches including and above 2960 support policing (at least for ingress). Please visit the following link to see how policer is configured on these switches.

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_25_see/configuration/guide/swqos.html

Cheers,

Shashank

P.S. Please rate if this helped answer your question.

Dear Shashank,

I would like to confirm from you that on port 0/1 i want to limit only 20 Mbps, i mean that transfer and receive i allow speed only 20 Mbps, is it correct if i follow command as below?

i have many user and would like to control speed like this....

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

Please help to advice on this!!!!

Best Regards,

Rechard

Hi Rechard,

This command affects only the egress throughput on the port and not the ingress. This means that the maximum bandwidth for outgoing traffic will be restricted to 20 mbps on this port.

Cheers,

Shashank

Please rate helpful posts

Dear Shashank,

Thanks you for your help!!!!

i have one more question to ask you that, if i want to controll bandwidth 256kbps i mean that on port F0/1 i want to allow dowload 256kbps and upload 256 kbps, Which command that i can do on this? and how can i know that command that we pass on port is working?

Best Regards,

Rechard

Hi rechard,

i have one more question to ask you that, if i want to controll bandwidth 256kbps i mean that on port F0/1 i want to allow dowload 256kbps and upload 256 kbps, Which command that i can do on this? and how can i know that command that we pass on port is working?

Best Regards,

Rechard

The answer to the above is either you can use rate limiting on the ports or by configuring Qos map and then apply to the port.

Please find the below link for rate limiting

http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd8.html#wp1037428

to check the port usage you can use " sh interface x/y rate-limit" and  "sh interface x/y | i rate"

and for the Qos map config. The below config will limit your traffic to 256kbps

class-map match-all LIMIT-TRAFFIC

match access-group 101

policy-map LIMIT-TRAFFIC

class LIMIT-TRAFFIC

bandwidth 256

police 256000 256000 exceed-action drop

access-list 101 permit any any

interface FastEthernet1/15

  ip address 192.168.2.1 255.255.255.0

no ip redirects

service-policy output LIMIT

service-policy input LIMIT

The command to see if its working is " sh policy-map interface 1/15" . This will show whether you are exceeding the traffic and also you can use "sh interface fa1/15 | i rate "  as well to see how much traffic is being passing through

HTH,

Regards,

Kishore

Please rate if helpful.

Dear Kishore,

Thanks you for you support me!!!!

The command as below that you showed me i think that it can support Cisco switch 3560 and Router cisco right?

how about Cisco Switch 2960 some command it cannot support as below:

Switch(config)#policy-map LIMIT-TRAFFIC
Switch(config-pmap)#?
QoS policy-map configuration commands:
  class        policy criteria
  description  Policy-Map description
  exit         Exit from QoS policy-map configuration mode
  no           Negate or set default values of a command
 

Switch(config-pmap)#class LIMIT-TRAFFIC
QoS policy-map class configuration commands:
  exit    Exit from QoS class action configuration mode
  no      Negate or set default values of a command
  police  Police
  set     Set QoS values
  trust   Set trust value for the class
 

Switch(config-pmap-c)#

Switch(config-pmap-c)#police ?
  <1000000-10000000000>  Bits per second (postfix k, m, g optional; decimal
                         point allowed)
  aggregate              Choose aggregate policer for current class

--------------------------------------------

Does Cisco switch 2960 can support command that we control port Bandwidth?

Let me tell you my requiremet: i have Firber optic with converter that i want to share bandwidth to my subcriber then i need to control bandwidth, some subcriber use speed upload 256kbps, down 256kbps and subcriber 2 use speed upload 512 kbps and down 1Mbps.

and i want to buy cisco switch 2960, so how can i control the speed on cisco switch.

Best Regards,

Rechard

Hi Nareth

Which command is not working? From what I can see its all working from your post or am I blind

HTH,

Regards,

Please rate if helpful

Dear Sir,

The command on switch don't have

1- Bandwidth

2- police 256000 256000 exceed-action drop

3- service-policy output LIMIT-TRAFFIC

Please kindly see in the message as below:

Switch(config-pmap)#class LIMIT-TRAFFIC
class map LIMIT-TRAFFIC not configured
Switch(config-pmap)#
Switch(config-pmap)#bandwidth 256
                    ^
% Invalid input detected at '^' marker.

Switch(config-pmap)#
Switch(config-pmap)#police 256000 256000 exceed-action drop
                    ^
% Invalid input detected at '^' marker.

Switch(config-pmap)#

-----------------------------------------------

Switch(config-if)#service-policy output LIMIT-TRAFFIC
Warning: Assigning a policy map to the output side of an interface not supported

Service Policy attachment failed
Warning: Assigning a policy map to the output side of an interface not supported

Switch(config-if)#

I'm worry 2960 it not fully support for control bandwidth on port?

---------------

Best Regards and thanks

Review Cisco Networking products for a $25 gift card