cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2391
Views
0
Helpful
3
Replies

3850 QoS class-map match-all?

kchan
Level 1
Level 1

I would like to create a QoS marking policy that re-marks packet to CS5 if the inbound traffic is SIP *and* if it is marked CS3 when it comes in.  I would have expected the configuration listed below will work.  I only found out when I tried to apply the config that, unlike other IOS devices, "class-map match-all" does not exist in 3850 3.3.x code.  It can only do "class-map match-any" Can anyone suggest a work-around config for 3850 to achieve the same end result?

ip   access-list extended ACL-QOS-SIP
permit tcp any range 5060 5061 any
permit tcp any any range 5060 5061

ip   access-list extended ACL-QOS-CS3
permit ip any any dscp cs3

class-map   match-all CM-QOS-CS5
  match access-group name ACL-QOS-CS3

  match access-group name ACL-QOS-SIP

policy-map   PM-QOS-MARKING

class CM-QOS-CS5
     set ip dscp cs5

Any suggestions would be appreciated.

3 Replies 3

jlkeys
Level 1
Level 1

I have also noticed this and haven't ran across an equivalent match-all command.  Has anyone else ran across this?

jlkeys,  below is configuration I ended up using to resolve the issue:


ip access-list extended ACL-QOS-SIP
 permit tcp any range 5060 5061 any dscp cs3

class-map match-any CM-QOS-CS5
  match access-group name ACL-QOS-SIP

policy-map   PM-QOS-MARKING
 class CM-QOS-CS5
   set ip dscp cs5

 

 

 

 

 

 

alam
Level 1
Level 1

Since 3850 / 3650 IOS XE changed the class-map style, it supports one match command per class map on ingress only.

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/3e/qos/command_reference/b_qos_3e_3650_cr/b_qos_3se_3650_cr_chapter_010.html#wp3591356185

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/118629-technote-qos-00.html

Review Cisco Networking for a $25 gift card