09-22-2010 03:43 AM - edited 03-06-2019 01:07 PM
Is there a way to limit bandwith on an access port? For example based on the configuration below:
interface fastethernet0/1
description Server
switchport mode access
switch acc vlan 10
speed 100
duplex full
spanning-tree portfast
I'm familiar with rate limiting and QoS at the layer 3 level, but would like to do it at the switch port level.
Thanks in advance.
Solved! Go to Solution.
09-22-2010 02:09 PM
Hi,
Check 'Campus QoS Design' section in this doc.
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoSDesign.html
The untrust model configuration has examples of policing.
HTH,
Lei Tian
09-22-2010 02:40 PM
hi David,
This is how i do it ...
make a policy
policy-map 10Mbps-LIMIT
class class-default
police cir 10000000 bc 1000000 be 1000000 conform-action transmit exceed-action drop
then on layer 2 switch port..
int x/x
service-policy input 10Mbps-LIMIT
one caveat, i think you can only do in (IN) direction only
im not an expert by any means , but i spent ages trying to find a way that actually works.
try it out and let me kno.
09-22-2010 05:47 AM
Hi,
Most switches support ingress policing on physical access port; what platform are you using?
Regards,
Lei Tian
09-22-2010 10:55 AM
Cat3560, Cat4506, and Cat6506. Sample config wuold be appreciated. Thanks.
09-22-2010 02:09 PM
Hi,
Check 'Campus QoS Design' section in this doc.
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoSDesign.html
The untrust model configuration has examples of policing.
HTH,
Lei Tian
09-22-2010 02:40 PM
hi David,
This is how i do it ...
make a policy
policy-map 10Mbps-LIMIT
class class-default
police cir 10000000 bc 1000000 be 1000000 conform-action transmit exceed-action drop
then on layer 2 switch port..
int x/x
service-policy input 10Mbps-LIMIT
one caveat, i think you can only do in (IN) direction only
im not an expert by any means , but i spent ages trying to find a way that actually works.
try it out and let me kno.
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: