I am trying to find a way to set the IP Precedence on traffic leaving one SVI and received on another. I’ve tried all kind of things. So many I can’t even remember the details any more. lol. I don’t care if it’s an output or an input policy. I just have not been able to find one that works for traffic on the same SW from one SVI to another.
I do have traffic going all the way through with the IP prec set. So this is not a matter of the qos getting stripped off. Right now I have a policy on R1 setting the ip prec to 3. On R4 I have another policy setting the IP prec to 4. I’m trying to get svi to svi MQC to work here.
This didn’t work as either an input or output. As an output the sw took the config, but it didn’t show up on the interface.
Policy-map TEST
class class-default
set ip prec 2
interface vlan 234
service-policy input TEST
OR
interface vlan 234
service-policy output TEST
This didn’t work. I got an error stating that the child policy can only match a physical input interface.
class-map match-all vlan
match input-interface Vlan234
Policy-map CHILD
class vlan
Policy-map PARENT
class class-default
set ip prec 2
service-policy CHILD
interface vlan 234
service-policy input TEST
This didn’t work as an output on the physical interface. That is not permitted.
Policy-map TEST
class class-default
set ip prec 2
the topology
rR4—Sw1—Sw2—(vl 234) Sw3/Sw4 (vl 243) —Sw1— R3 – that’s the physical topology
R4—Sw1—Sw3/Sw4—R3 is the logical topology
R4
class-map match-all test1
!
!
policy-map test1
class test1
class class-default
set ip precedence 3
Sw1
class-map match-all test1
match access-group 199
!
!
policy-map test
class test1
class class-default
set precedence 4
Serentiy NOW!!
thanks for the input!
LG
