08-15-2015 08:55 PM - edited 03-17-2019 04:00 AM
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
08-16-2015 01:11 AM
Hi, does not seem quite right to me.
class-map match-all VOIP
match ip dscp cs6
so matches packets set to cs6
then in the policy map
policy-map SUB-LEVEL
class VOIP
shape average percent 95
bandwidth percent 30
fair-queue
set dscp cs6 <<<< already matched cs6 surely this should be set dscp ef
the same logic applies to
class-map match-all matchEF
match ip dscp ef
policy-map SETcs6Toef
class matchEF
set dscp ef <<<< already matched ef surely this should be set dscp cs6
08-27-2015 03:11 AM
I think you made mistake for your config.
what's your platform , on sup720, in my memory there is problem when doing qos remark
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