cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1583
Views
3
Helpful
8
Replies

Unable to enable Policy-Map on interface (QOS)

s.kanth
Level 1
Level 1

Hi ,

Class and Policy maps are defined properly but when I am going to apply the policy-map on interface ,throwing an error as "'set' command is not supported in a 2nd level policymap".

Class/Policy map configuration given below ....

class-map match-any cm_traffic_control

  match access-group name acl_traffic_control

class-map match-any BE

  match access-group name be

class-map match-any cm_af4x

  match ip precedence 6

  match ip precedence 7

  match ip precedence 4

  match ip dscp cs6

  match ip dscp cs7

  match access-group name acl_af4x

  match protocol telnet

  match protocol citrix

  match protocol tftp

class-map match-any cm_af2x

  match access-group name acl_af2x

class-map match-any cm_af3x

  match protocol sqlnet

  match protocol sqlserver

  match access-group name acl_af3x

class-map match-any cm_voice

  match  dscp ef

  match ip precedence 5

  match ip rtp 16384 16383

  match access-group name acl_voice

!

!

policy-map pmmpls5

  class cm_voice

   set dscp ef

   police cir 8000

     conform-action transmit

     exceed-action set-dscp-transmit af41

   priority 8

  class cm_traffic_control

   police cir percent 20

     conform-action set-dscp-transmit af41

     exceed-action set-dscp-transmit af31

  class cm_af4x

   set dscp af41

   bandwidth remaining percent 40

  class cm_af3x

   set dscp af31

   bandwidth remaining percent 40

  class cm_af2x

   set dscp af21

   bandwidth remaining percent 15

  class BE

   set dscp default

   bandwidth remaining percent 5

policy-map traffic_Shaper

  description includes Exchange Traffic

  class class-default

   shape average percent 95

   service-policy pmmpls5

---------------------

Model of the router : cisco 1760 (Version 12.2(15)T1)

Thanks in advance