52-48
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
IP ACEs for UDP Traffic
To create or modify an IP ACE for the UDP traffic, perform this task in privileged mode:
For the
port
parameter keyword options, see the
“IP ACE Layer 4 UDP Classification Criteria” section
on page 52-19
.
This example shows how to create an IP ACE for the UDP traffic:
Console> (enable)
set qos acl ip my_IPacl trust-ipprec microflow my-micro aggregate my-agg
udp any any
my_IPacl editbuffer modified. Use ‘commit’ command to apply changes.
Console> (enable)
IP ACEs for ICMP Traffic
To create or modify an IP ACE for the ICMP traffic, perform this task in privileged mode:
For the
icmp_code
and
icmp_type
parameter keyword options, see the
“IP ACE Layer 4 ICMP
Classification Criteria” section on page 52-19
.
This example shows how to create an IP ACE for ICMP
echo
traffic:
Console> (enable)
set qos acl ip my_IPacl trust-ipprec microflow my-micro aggregate my-agg
icmp any any echo
my_IPacl editbuffer modified. Use ‘commit’ command to apply changes.
Console> (enable)
Task
Command
Step 1
Create or modify an IP ACE for the UDP traffic.
set qos acl ip
{
acl_name
} {{
dscp
dscp_value
} |
trust-cos
|
trust-ipprec
|
trust-dscp
}
[
microflow
microflow_name
] [
aggregate
aggregate_name
]
udp
{
src_ip_spec
} [{
operator
}
{
port
} [
port
]] {
dest_ip_spec
} [{
operator
} {
port
}
[
port
]] [
precedence
precedence_value
|
dscp-field
dscp
] [
before
editbuffer_index
|
modify
editbuffer_index
]
Step 2
Verify the configuration.
show qos acl info
{
acl_name
|
all
}
editbuffer
[
editbuffer_index
]
Task
Command
Step 1
Create or modify an IP ACE for the ICMP traffic.
set qos acl ip
acl_name
{
dscp
dscp
|
trust-cos
|
trust-ipprec
|
trust-dscp
} [
microflow
microflow_name
] [
aggregate
aggregate_name
]
icmp
src_ip_spec
dest_ip_spec
[
icmp_type
[
icmp_code
] |
icmp_message
]
[
precedence
precedence
|
dscp-field
dscp
]
[
before
editbuffer_index
|
modify
editbuffer_index
]
Step 2
Verify the configuration.
show qos acl info
{
acl_name
|
all
}
editbuffer
[
editbuffer_index
]