10-18-2010 12:02 AM - edited 03-06-2019 01:34 PM
I was wondering if it is possible to apply a class base policing on a vlan rather than a port in Catalyst 3750-24T (IP Base) for marking rather than port.
the switch is operating in layer 2 mode (only layer 3 address is for management).
Additionally, i made a simple test policy map for marking dns and ntp traffic with Cos4, but it doesn't seem to work. I have enabled QoS globally. See below......
Is it configuration mistake, does it need a restart after enabling qos or is it a License issue (because i use ip-base)
!
mls qos
!
class-map match-all Class-dns-traffic
match access-group name dns-traffic
class-map match-all Class-ntp-traffic
match access-group name ntp-traffic
!
!
policy-map Test-Policy
class Class-dns-traffic
set dscp cs4
class Class-ntp-traffic
set dscp cs4
class class-default
set dscp default
!
ip access-list extended dns-traffic
permit udp any any eq domain
!
ip access-list extended ntp-traffic
permit udp any any eq ntp
!
interface range GigabitEthernet1/0/1 - 24
service-policy input Test-Policy
10-18-2010 05:15 AM
pavlosd wrote:
I was wondering if it is possible to apply a class base policing on a vlan rather than a port in Catalyst 3750-24T (IP Base) for marking rather than port.
the switch is operating in layer 2 mode (only layer 3 address is for management).
Additionally, i made a simple test policy map for marking dns and ntp traffic with Cos4, but it doesn't seem to work. I have enabled QoS globally. See below......
Is it configuration mistake, does it need a restart after enabling qos or is it a License issue (because i use ip-base)
!
mls qos
!
class-map match-all Class-dns-traffic
match access-group name dns-trafficclass-map match-all Class-ntp-traffic
match access-group name ntp-traffic
!
!
policy-map Test-Policy
class Class-dns-traffic
set dscp cs4
class Class-ntp-traffic
set dscp cs4
class class-default
set dscp default!
ip access-list extended dns-traffic
permit udp any any eq domain!
ip access-list extended ntp-traffic
permit udp any any eq ntp!
interface range GigabitEthernet1/0/1 - 24
service-policy input Test-Policy
Yes it is possible. Have a look at the configuration guide which gives an example of exactly how to do that -
Jon
11-01-2010 01:16 AM
I was hoping for an actual example, not a documentation example.
Another thing is that the reason i couldn't get the qos to work in 3750 is that I found out through other forums that the command
"show policy-map interface" is not working (BUG???) and should be replaced with "sh mls qos interface
So it was a bit of missleading....
For the VLAN based configuration, i followed a nice example....
11-01-2010 03:03 AM
I was hoping for an actual example, not a documentation example.
Oh i see. You just wanted to be told how to do it, you didn't actually want to have to do anything. I gave a link to the dccumentation because you asked if it could be done and i thought that by providing you with the link you would learn about vlan based QOS.
Jon
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