cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1507
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

8 Replies 8

Jose Bogantes
Level 1
Level 1

Hello,

This behavior is expected for 'set' command is not supported in a nested policy.

Regards,

But same policy map is configured in multiple sites routers, no issues found (on 2800 routers ).

Hello,

This could be related to the IOS for 12.2(15)T1 is a pretty old IOS release (deferred release). It is indeed a Pre-HQF image and it would be the root of the problem. I guess the working routers (2800) are using an HQF image and the policy works fine because of this fact. We have to remember that HQF was introduced with 12.4(20)T and it seems to be there are no HQF images available for 1760s (latest release is 12.4.15T1) probably because this router is already an end-of-life product:

http://www.cisco.com/en/US/prod/collateral/routers/ps221/prod_end-of-life_notice0900aecd8044473f.html

HQF:

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/qos_frhqf_support.html

However, I guess that you could directly apply the policy-map pmmpls5 under the interface and it will work for it will not be a CHILD policy-map. The only limitation is that the shaping mechanism of the traffic_Shaper policy-map will not be available for you (shape average percent 95).

Regards,

Thanks Jose, I will upgrade the IOS on the router and try to implement the QOS.

New IOS loaded into flash of router (cisco 1760) and gave two IOS on boot system...

boot system flash c1700-k9o3sy7-mz.124-15.T14.bin   ---- ( New IOS )

boot system flash c1700-k9o3sy7-mz.122-15.T1.bin   ---- ( Old IOS )

But router is loading with the Old IOS. Any guess idea why the router is not loading with new IOS.

Thanks

Sri

Hi

I think it should be like below.

boot system flash:c1700-k9o3sy7-mz.124-15.T14.bin

I suggest u remove the old boot statement and enter the new one.

Thanks

we can not take the rest ,as we log into the device remotely.( Router is located in other region of the globe)

If the router is not loaded with the new IOS ,then it's gone :-(

Thanks

Sri

Hello S.kanth,

My main concern is that there are no HQF images for this router so the best option will be directly applying the 2nd level policy-map. Remember that HQF was introduced with 12.4(20)T.

Regards.

Review Cisco Networking for a $25 gift card