Configuring Classification
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
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
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.
Purpose
Enters global configuration mode.
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.
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
Configuring Layer 3 Packet Length Classification
63