Purpose
Command or Action
Configures a traffic class by matching packets based on
the
acl-name
. The
permit
and
deny
ACL keywords are
ignored in the matching.
switch(config-cmap-qos)#
match
access-group name acl-name
Step 3
You can only define a single ACL in a class map.
You cannot add any other match criteria to a class
with a
match access-group
defined.
Note
(Optional)
Removes the match from the traffic class.
switch(config-cmap-qos)#
no match
access-group name acl-name
Step 4
This example shows how to classify traffic by matching packets based on existing ACLs:
switch#
configure terminal
switch(config)#
class-map type qos class_acl
switch(config-cmap-qos)#
match access-group name acl-01
Use the
show class-map
command to display the ACL class-map configuration:
switch#
show class-map class_acl
Verifying the Classification Configuration
Use one of the following commands to verify the configuration:
Purpose
Command
Displays the class maps defined on the switch.
show class-map
Displays the policy maps defined on the switch.
Optionally, you can display the named policy only.
show policy-map
[
name
]
Displays information about the running configuration
for QoS.
running-config ipqos
Displays information about the startup configuration
for QoS.
startup-config ipqos
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
16
OL-26657-01
Configuring Classification
Verifying the Classification Configuration