02-14-2012 11:30 PM - edited 03-07-2019 04:56 AM
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
02-15-2012 01:29 AM
Hi,
you can't do policing on the 2960 but configuring storm control for unicast may be a workaround:
Regards.
Alain
02-15-2012 04:45 AM
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.
02-15-2012 04:52 AM
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
02-15-2012 05:52 AM
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.
02-15-2012 11:58 PM
hi latchum,
there is no such command(match vlan 5) in 4506e
06-02-2013 02:46 AM
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
and assign all ports to vlan 2 except the trunk ports.
Message was edited by: Chanchal M.P
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: