cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
785
Views
0
Helpful
6
Replies

bandwidth limit

vishalpatil86
Level 1
Level 1

HI,

I HAVE 4506E SWITCH CONNECTED TO 2960 EDGE SWITCH

GIG2/6 OF 4506E CONNECT ON PORT GIG0/1 OF 2960

I WANT TO LIMIT BANDWIDTH TO 5 MBPS FOR USERS CONNECTED TO 2960

TOTAL BANDWIDTH FLOWING FROM 4506E IS 10 MB

HOW CAN DO IT

PLS HELP ON THIS

6 Replies 6

cadet alain
VIP Alumni
VIP Alumni

Hi,

you can't do policing on the 2960 but configuring storm control for unicast may be a workaround:

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

Regards.

Alain

Don't forget to rate helpful posts.

Hi Vishal,

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.
You can change the values as per your requirement.


Please rate all the helpfull posts.
Regards,
Naidu.

Hi Naidu,

where have you seen a 2851 in the original post ? But indeed CB-Policing on the 4506 would  be possible as you showed.

I was stuck on the 2960 

Regards.

Alain

Don't forget to rate helpful posts.

Hi Alain,

I just provided the above as a example.
What he, Vishal can do is if he have vlan configured in 4506 he can follow the STEP-2 actually.


Please rate all the helpfull posts.
Regards,
Naidu.

hi latchum,

there is no such command(match vlan 5) in 4506e

chanchal_mp
Level 1
Level 1

Create a Vlan for the users on 2960 switch in your core 4506E and also in 2960

apply policy map to limit the bandwidh

see the below configuration :-

4506E< config>#vlan 2

create an access list to match your 2960 user network

ip access-list extended userson2960

  permit ip a.b.c.d  x.x.x.x  any     (Ex. 172.16.1.0 0.0.0.255  )

  permit ip any a.b.c.d  x.x.x.x     

class-map match-all 2960user

  match access-group name useron2960

policy-map P2960user

  class 2960user

  police 5m 100k conform-action transmit exceed-action drop

int vlan 2

  service-policy output P2960user

2960#vlan 2

and assign all ports to vlan 2 except the trunk ports.

Message was edited by: Chanchal M.P

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: