11-01-2018 05:26 PM
Running 3850 with IOSXE 16.9.1 at IPServices licensing. All kinds of documentation show nesting of Class-Maps inside of Class-Maps. But that option is not available at the command line (Lord their is A LOT of different, conflicting and aged documentation on this subject on the Cisco web site!!). How do I list more than the allowed 16 "match" statements under a single QoS class-map? Where can I nest? Nesting of Policy Maps also does not appear to be available.
11-01-2018 06:07 PM
Hello
You can apply hierarchical policies with nested class-maps, meaning you have a child and parent policy-maps
Example
class-map 1
match ip dscp xx
class-map 2
match class 1
policy-map child
class 2
priority xxx
class class-default
fair queue
policy-map parent
class class-default
shape average xxxx
service-policy child
int x/x
service policy output parent
11-02-2018 10:09 AM
Hey Paul,
Thanks for the prompt reply.
The first part of your answer solves my problem perfectly.
class-map 1
match ip dscp xx
class-map 2
match class 1
You are nesting class-maps. I have read about this exact capability.
Except, as I mentioned, this option is not available to me. To use your example, when I go to create class-map 2, the options available to me are as follows (copied, pasted and redacted right out of the console session of my 3850 switch)
sw1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
sw1(config)#class-map match-any 2 <---using your example
sw1(config-cmap)#match ?
access-group Access group
cos IEEE 802.1Q/ISL class of service/user priority values
dscp Match DSCP in IPv4 and IPv6 packets
group-object Match object-group
ip IP specific values
mpls Multi Protocol Label Switching specific values
precedence Match Precedence in IPv4 and IPv6 packets
protocol Protocol
qos-group Qos-group
vlan VLANs to match
sw1(config-cmap)#match
Note the list. There is no option to enter class-map.
My response to your second option will be in my next post.
Thanks.
11-03-2018 12:36 PM
Hi,
Here's a link to an awesome book on Cisco QoS by Odom Wendell.
Really cheap if you buy second-hand!
Regards,
Azam
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