01-03-2011 04:15 PM - edited 03-06-2019 02:48 PM
Hi Experts
I want to classify traffic by using class-maps in a Catalyst C2960S but it doesn't work (class-maps doesn´t match any traffic)
RH0A01-SW1#show policy-map interface GigabitEthernet1/0/34
GigabitEthernet1/0/34
Service-policy input: QoS_Standard
Class-map: VoIP (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-VoIP
Class-map: VideoConferencia (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-VideoConferencia
Class-map: CCTV (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-CCTV
Class-map: Servicios_Criticos (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-Servicios_Criticos
Class-map: Gestion (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-Gestion
Class-map: Resto (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name trafico-Resto
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
0 packets, 0 bytes
5 minute rate 0 bps
MODEL: WS-C2960S-48LPS-L
IOS: c2960s-universalk9-mz.122-53.SE2.bin
CONFIGURATION:
mls qos
ip access-list extended trafico-VoIP
permit ip x.x.x.x 0.0.3.255 any
ip access-list extended trafico-VideoConferencia
permit ip X.X.X.X 0.0.0.255 any
ip access-list extended trafico-CCTV
permit ip X.X.X.X 0.0.0.127 any
ip access-list extended trafico-Gestion
permit ip any X.X.X.X 0.0.15.255
ip access-list extended trafico-Servicios_Criticos
permit ip any host X.X.X.X
permit udp any any eq domain
permit tcp any any eq domain
ip access-list extended trafico-Resto
permit ip any any
class-map match-all VoIP
match access-group name trafico-VoIP
class-map match-all VideoConferencia
match access-group name trafico-VideoConferencia
class-map match-all Gestion
match access-group name trafico-Gestion
class-map match-all CCTV
match access-group name trafico-CCTV
class-map match-all Servicios_Criticos
match access-group name trafico-Servicios_Criticos
class-map match-all Resto
match access-group name trafico-Resto
policy-map QoS_Standard
class VoIP
set dscp ef
police 320000 8000 exceed-action policed-dscp-transmit
class VideoConferencia
set dscp af41
police 400000 8000 exceed-action policed-dscp-transmit
class CCTV
set dscp af21
class Servicios_Criticos
set dscp af31
class Gestion
set dscp cs7
class Resto
set dscp 0
interface range GigabitEthernet1/0/1 - 48
priority-queue out
service-policy input QoS_Standard
srr-queue bandwidth share 10 30 6 54
Why are class-maps not matching any traffic?
Thank you in advance.
Solved! Go to Solution.
01-03-2011 06:02 PM
Please refer to:
"show policy-map interface" in 2960, 2970, 3560, 3750 should give error | |
Symptom: "show policy-map interface" shows no matches Conditions: This command is run on one of the following switches: 2950 2960 2970 3550 3560 3750 Workaround: This is a hardware limitation and these switches do not support this output. There is no workaround. |
01-04-2011 07:14 AM
If it matches the ACL, it should.
You can verify this by spanning the egress port on this switch and sniff the packets.
The packets should contain the corresponding markings.
Regards,
Edison
01-03-2011 06:02 PM
Please refer to:
"show policy-map interface" in 2960, 2970, 3560, 3750 should give error | |
Symptom: "show policy-map interface" shows no matches Conditions: This command is run on one of the following switches: 2950 2960 2970 3550 3560 3750 Workaround: This is a hardware limitation and these switches do not support this output. There is no workaround. |
01-04-2011 12:17 AM
Thank you for your answer Edison.
Although the "show policy-map interface" command is not supported, my QoS policy is working. Isn`t it ?
Thank you
01-04-2011 07:14 AM
If it matches the ACL, it should.
You can verify this by spanning the egress port on this switch and sniff the packets.
The packets should contain the corresponding markings.
Regards,
Edison
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