01-05-2021 12:33 AM
Hello team,
I was hoping if anyone could assist me with the below issue I ran into this morning.
On my Cisco 3440 switch, I am trying to configure a new policy-map, using the existing class-maps but when I am adding a policer I am getting the error config below.
(config-pmap-c)#police cir 400000000
Configuration failed. Police action cannot be configured along with the other configured action
(config-pmap-c)#
This policy-map has not been applied to any interface yet using a service policy, however for some reason the system will not accept it. The policy-map below, without a policer, is working just fine, but we need to add policing to enforce slower bitrates for a particular interface.
policy-map OUT-1G-QOS-BASED
class qos-Real-Time
priority
class qos-Video
bandwidth remaining percent 20
class qos-Business
bandwidth remaining percent 60
class class-default
bandwidth remaining percent 20
Any ideas/suggestions of what am i doing wrong here?
Thanks in advance,
George
Solved! Go to Solution.
01-05-2021 02:02 AM
Hello,
looking at the guidelines in the QoS guide linked below:
--> To configure priority with unconditional policing, configure the priority queue by using the priority policy-map class configuration command and the police policy-map class configuration command to unconditionally rate-limit the priority queue. In this case, you can configure the other traffic classes with bandwidth or shape average, depending on requirements.
I think only the 'bandwidth percent' is allowed.
Try this:
policy-map OUT-1G-QOS-BASED
class qos-Real-Time
priority
--> police cir 400000000
class qos-Video
--> bandwidth percent 20
class qos-Business
--> bandwidth percent 60
class class-default
--> bandwidth percent 20
Better yet, use shaping instead of policing:
policy-map OUT-1G-QOS-BASED
class qos-Real-Time
priority
--> shape average 400000000
class qos-Video
--> bandwidth percent 20
class qos-Business
--> bandwidth percent 60
class class-default
--> bandwidth percent 20
01-05-2021 02:02 AM
Hello,
looking at the guidelines in the QoS guide linked below:
--> To configure priority with unconditional policing, configure the priority queue by using the priority policy-map class configuration command and the police policy-map class configuration command to unconditionally rate-limit the priority queue. In this case, you can configure the other traffic classes with bandwidth or shape average, depending on requirements.
I think only the 'bandwidth percent' is allowed.
Try this:
policy-map OUT-1G-QOS-BASED
class qos-Real-Time
priority
--> police cir 400000000
class qos-Video
--> bandwidth percent 20
class qos-Business
--> bandwidth percent 60
class class-default
--> bandwidth percent 20
Better yet, use shaping instead of policing:
policy-map OUT-1G-QOS-BASED
class qos-Real-Time
priority
--> shape average 400000000
class qos-Video
--> bandwidth percent 20
class qos-Business
--> bandwidth percent 60
class class-default
--> bandwidth percent 20
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: