Sorry if this is a stupied question, but I was thinking this should work.
R1 works with the policy that are set on SW2 match acl class-map and
"set dscp and police-dscp-transmit"
R2 does not work. I am trying on SW2 match on dscp and set dscp and
policed-dscp-transmit
R2#show policy-map int fas 0/0
FastEthernet0/0
Service-policy output: TST
Class-map: class-default (match-any)
557 packets, 57418 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
QoS Set
dscp af22
Packets marked 100
SW1#
QoS is disabled
QoS ip packet dscp rewrite is enabled
SW2#
QoS is enabled
QoS ip packet dscp rewrite is enabled
Current configuration : 143 bytes
!
interface FastEthernet1/0/19
switchport trunk encapsulation dot1q
switchport mode trunk
mls qos trust dscp / Have tried diffrent option
service-policy input TST
end
!
SW2#show class-map
Class Map match-any class-default (id 0)
Match any
Class Map match-all R2 (id 2)
Match ip dscp af22 (20)
Class Map match-all R1 (id 1)
Match access-group 101
SW2#show policy-map
Policy Map TST
Class R1
set dscp af11
police 100000 25000 exceed-action policed-dscp-transmit / OK
Class R2
police 200000 50000 exceed-action policed-dscp-transmit / Not
OK, when traffic is policed it goes to default class not to d2
SW2#show mls qos maps policed-dscp
Policed-dscp map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
---------------------------------------
0 : 00 01 02 03 04 05 06 07 08 09
1 : 01 11 12 13 14 15 16 17 18 19
2 : 02 21 22 23 24 25 26 27 28 29
3 : 30 31 32 33 34 35 36 37 38 39
4 : 40 41 42 43 44 45 46 47 48 49
5 : 50 51 52 53 54 55 56 57 58 59
6 : 60 61 62 63
Blogs and organic groups at http://www.ccie.net
Received on Tue Jan 17 2012 - 13:12:43 ART
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 11:52:51 ART