52-46
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
ACE Name, Marking Rule, Policing, and Filtering Syntax
The ACE command syntax is organized as follows:
ACL_command
ACL_type_and_name
marking_rule
policing_rule
filtering
For example, in an IP ACE, the command syntax is as follows:
set qos acl ip
acl_name
{
dscp
dscp_value
|
trust-cos
|
trust-ipprec
|
trust-dscp
} [
microflow
microflow_name
] [
aggregate
aggregate_name
]
src_ip_spec
[
precedence
precedence
|
dscp-field
dscp
]
[
before
editbuffer_index
|
modify
editbuffer_index
]
•
set qos acl ip
acl_name
—Creates a named ACL of the specified type or adds the ACE to the ACL
if it already exists. See the
“ACL Names” section on page 52-45
.
•
{
dscp
dscp_value
|
trust-cos
|
trust-ipprec
|
trust-dscp
}—Selects a marking rule. See the
“Marking Rules” section on page 52-23
.
•
[
microflow
microflow_name
] [
aggregate
aggregate_name
]—Optionally configures policing in the
ACE. See the
“Policers” section on page 52-24
.
•
src_ip_spec
[
precedence
precedence
|
dscp-field
dscp
]—The rest of the parameters, except the
editbuffer
keywords, configure filtering.
Named IP ACLs
These sections describe how to create or modify the IP ACLs:
•
Source and Destination IP Addresses and Masks, page 52-46
•
Port Operator Parameters, page 52-47
•
Precedence Parameter Options, page 52-47
•
IP ACEs for TCP Traffic, page 52-47
•
IP ACEs for UDP Traffic, page 52-48
•
IP ACEs for ICMP Traffic, page 52-48
•
IP ACEs for IGMP Traffic, page 52-49
•
IP ACLs for Other Layer 4 Protocols, page 52-49
•
IP ACEs for Any IP Traffic, page 52-50
Source and Destination IP Addresses and Masks
In the IP ACEs, specify the source and destination IP addresses and masks (represented by the
src_ip_spec
and
dest_ip_spec
parameters in the following sections) in the form
ip_address
mask
. The
mask is mandatory. Use one bits, which need not be contiguous, where you want the wildcards.
Use any of the following formats for the address and mask:
•
Four-part dotted-decimal 32-bit values
•
The keyword
any
as an abbreviation for a wildcard address and wildcard mask of 0.0.0.0
255.255.255.255
•
The abbreviation
host
ip_address
for an address and wildcard mask of
ip_address
0.0.0.0