Configuring Layer 3 Packet Length Classification
Command or Action
Step 2
class-map [type qos] [match-any | match-all] class-name
Example:
switch(config)# class-map class_protocol
Step 3
match [not] protocol {arp | bridging | cdp | dhcp | isis}
Example:
switch(config-cmap-qos)# match protocol isis
Step 4
exit
Example:
switch(config-cmap-qos)# exit
switch(config)#
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Example
This example shows how to display the protocol class-map configuration:
switch# show class-map class_protocol
Configuring Layer 3 Packet Length Classification
You can classify Layer 3 traffic based on various packet lengths.
Note
This feature is designed for IP packets only.
SUMMARY STEPS
1. configure terminal
2. class-map [type qos] [match-any | match-all] class-name
3. match [not] packet length packet-length-list
4. exit
5. copy running-config startup-config
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
66
Purpose
Creates or accesses the class map named class-name and
then enters class-map mode. The class-map name can
contain alphabetic, hyphen, or underscore characters, and
can be up to 40 characters.
Configures the traffic class by matching packets based on
the specified protocol. Use the not keyword to match on
protocols that do not match the protocol specified.
Exits global class-map queuing mode and enters global
configuration mode.
(Optional) Saves the running configuration to the startup
configuration.
Configuring Classification