612
Configuring QoS
Configuring QoS
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
policy-map
policy-map-name
Create a policy map by entering the policy map name, and enter
policy-map configuration mode. By default, no class maps are
defined.
3.
class
{
class-map-name
|
class-default
}
Enter a class-map name or
class-default
to match all unclassified
packets, and enter policy-map class configuration mode.
If you enter a class-map name, you must have already created the
class map by using the
class-map
global configuration command.
4.
police
{
rate-bps |
cir
cir-bps
} [
burst-bytes
|
bc
burst-bytes
]
Define a policer for the class of traffic.
By default, no policer is defined.
For
rate-bps,
specify average traffic rate in bits per second
(bps). The range is 8000 to 1000000000.
For
cir
cir-bps,
specify a committed information rate (CIR) in
bits per second (bps). The range is 8000 to 1000000000.
For
burst-bytes
(optional)
,
specify the normal burst size in
bytes. The range is 8000 to 1000000.
For
bc
burst-bytes
(optional)
,
specify the conformed burst (bc)
or the number of acceptable burst bytes. The range is 8000 to
1000000.
5.
conform-action cos
{
cos_value |
cos
[
table
table-map-name
]
|
dscp
[
table
table-map-name
]
|
precedence
[
table
table-map-name
]}
or
conform-action
[
ip
]
dscp
{
dscp_value
|
cos
[
table
table-map-name
]
|
dscp
[
table
table-map-name
]
|
precedence
[
table
table-map-name
]}
or
conform-action
[
ip
]
precedence
{
precedence_value
|
cos
[
table
table-map-name
]
|
dscp
[
table
table-map-name
]
|
precedence
[
table
table-map-name
]}
or
conform-action
qos-group
value
or
transmit
(Optional) Enter the action to be taken on packets that conform to
the CIR.
For
cos
cos_value,
enter a new CoS value to be assigned to the
classified traffic. The range is 0 to 7.
For [
ip
]
dscp
dscp_value
, enter a new DSCP value to be
assigned to the classified traffic. The range is 0 to 63.
For [
ip
]
precedence
precedence_value,
enter a new
IP-precedence value to be assigned to the classified traffic.
The range is 0 to 7.
Or you can configure a CoS, DSCP, or IP precedence table and
optionally enter the table name. If you do not enter
table
table-map name
, the table map default behavior is
copy
. See
Configuring Table Maps, page 608
.
For
qos-group
value,
identify a QoS group to be used at egress
to identify specific packets. The range is from 0 to 99.
Note:
You can enter a single conform-action as part of the
command string following the police command. You can also press
Enter after the
police
command to enter policy-map class police
configuration mode, where you can enter multiple actions. In
policy-map class police configuration mode, you must enter an
action to take.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...