cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
309
Views
0
Helpful
1
Replies

converting QoS marking ?

pfrancis3
Level 1
Level 1

Hello, on my router I am currently identifying 'cs6' marked outgoing traffic and re-marking to 'ef'.

Vice versa, when incoming 'ef' traffic comes back in to my interface, I want to convert it back to 'cs6'. Would my code below achieve this ?

Thank you for any help.

 


class-map match-all VOIP
 match ip dscp cs6

class-map match-all matchEF
match ip dscp ef

policy-map SUB-LEVEL
 class VOIP
    shape average percent 95
    bandwidth percent 30
    fair-queue
  set dscp cs6
 class class-default
    fair-queue
    bandwidth percent 10
    shape average percent 95
  set ip precedence 0
policy-map TOP-LEVEL
 class SHAPE-ALL
    shape average 4900000 200000
    bandwidth 4900
  service-policy SUB-LEVEL

policy-map SETcs6Toef
  class matchEF
  set dscp ef

interface FastEthernet4
 description Routerport PHYSICAL
 bandwidth 5000
 no ip address
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 service-policy output TOP-LEVEL
 service-policy input SETcs6Toef

 

 

 

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

No, it wouldn't.

PS:

If you would like to know what needs changing. . .

policy-map SETefTOcs6
  class matchEF
  set dscp cs6

policy-map SUB-LEVEL
 class VOIP
    shape average percent 95
    bandwidth percent 30
    fair-queue
  set dscp ef

BTW, are you sure you want to do this?  It's a rather unusual mutation.

PPS:

Some other suggestions:

policy-map SUB-LEVEL
 class VOIP
    shape average percent 95
    priority percent 30
    fair-queue
  set dscp cs6
 class class-default
    fair-queue
    bandwidth remaining percent 100
    shape average percent 95
  set dscp BE

Review Cisco Networking for a $25 gift card