Configuring Acl Classification - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring ACL Classification

Procedure
Step 1
Step 2
Step 3
Configuring ACL Classification
You can classify traffic by matching packets based on an existing access control list (ACL). Traffic is classified
by the criteria defined in the ACL. The permit and deny ACL keywords are ignored in the matching; even
if a match criteria in the access-list has a deny action, it is still used for matching for this class.
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
430
Command or Action
switch# configure terminal
switch(config)# class-map [type
{network-qos | qos | queuing}]
class-name
switch(config)# no class-map
[type {network-qos | queuing |
qos | queuing}] class-name
Command or Action
switch# configure terminal
switch(config)# class-map type qos
class-name
switch(config-cmap-qos)# match
access-group name acl-name
Purpose
Enters configuration mode.
Creates or accesses a named object that represents the specified
class of traffic. Class-map names can contain alphabetic,
hyphen, or underscore characters, are case sensitive, and can
be up to 40 characters.
The three class-map configuration modes are as follows:
• network-qos—Network-wide (global) mode. CLI prompt:
switch(config-cmap-nq)#
• qos—Classification mode; this is the default mode. CLI
prompt: switch(config-cmap-qos)#
• queuing—Queuing mode. CLI prompt:
switch(config-cmap-que)#
(Optional)
Deletes the specified class map.
Note
You cannot delete the two system-defined class maps:
class-fcoe and class-default.
Purpose
Enters configuration mode.
Creates a named object that represents a class of traffic.
Class-map names can contain alphabetic, hyphen, or
underscore characters, are case sensitive, and can be up to
40 characters.
Configures a traffic class by matching packets based on
the acl-name. The permit and deny ACL keywords are
ignored in the matching.
Note
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.
Configuring System Classes
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents