04-17-2012 07:26 AM - edited 03-07-2019 06:10 AM
Hello All,
I was wondering if someone could provide some assistance. I have a 4500 and 6500 that I'd like to be able to limit the bandwidth of layer 2 switchports. So for instance I have all GB blades but certain servers I'd like only to have connections of about 5 Mb per second or 15 Mb per second etc. Can someone how I can accomplish this? Thanks
Solved! Go to Solution.
04-17-2012 09:35 AM
Hi,
May be this will work.
For the 5Meg port try this :-
!
access-list 101 permit any any
!
class-map match-any TEST5M
match access-group 101
!
!
policy map TEST5M
class TEST5M
police 5000000 conform transmit exceed drop
!
!
interface fastethernet 4/1
desc *** TEST 5 MEG INPUT ***
service policy input TEST5M
!
For the 15Meg port try adding this:-
!
class-map match-any TEST15M
match access-group 101
!
!
policy map TEST15M
class TEST15M
police 15000000 conform transmit exceed drop
!
!
interface fastethernet 4/2
desc *** TEST 15 MEG INPUT ***
service policy input TEST15M
!
Regards
Alex
04-17-2012 09:35 AM
Hi,
May be this will work.
For the 5Meg port try this :-
!
access-list 101 permit any any
!
class-map match-any TEST5M
match access-group 101
!
!
policy map TEST5M
class TEST5M
police 5000000 conform transmit exceed drop
!
!
interface fastethernet 4/1
desc *** TEST 5 MEG INPUT ***
service policy input TEST5M
!
For the 15Meg port try adding this:-
!
class-map match-any TEST15M
match access-group 101
!
!
policy map TEST15M
class TEST15M
police 15000000 conform transmit exceed drop
!
!
interface fastethernet 4/2
desc *** TEST 15 MEG INPUT ***
service policy input TEST15M
!
Regards
Alex
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