31-12
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 31 Configuring QoS
Configuring Standard QoS
If DSCP transparency is enabled by using the
no mls qos rewrite ip dscp
command, the switch does not
modify the DSCP field in the incoming packet, and the DSCP field in the outgoing packet is the same as
that in the incoming packet.
Regardless of the DSCP transparency configuration, the switch modifies the internal DSCP value of the
packet, which the switch uses to generate a CoS value that represents the priority of the traffic. The
switch also uses the internal DSCP value to select an egress queue and a threshold.
Beginning in privileged EXEC mode, follow these steps to enable DSCP transparency on a switch:
To configure the switch to modify the DSCP value based on the trust setting by disabling DSCP
transparency, use the
mls qos rewrite ip dscp
global configuration command.
If you disable QoS by using the
no mls qos
global configuration command, the CoS and DSCP values
are not changed (the default QoS setting).
If you enter the
no
mls qos rewrite ip dscp
global configuration command to enable DSCP transparency
and then enter the
mls qos trust
cos
interface configuration command, DSCP transparency is still
enabled.
Configuring Ingress Queue Characteristics
Depending on the complexity of your network and your QoS solution, you might need to perform all of
the tasks in the next sections. You will need to make decisions about these characteristics:
•
Which packets are assigned by CoS value to each queue?
•
Is there traffic (such as voice) that should be given high priority?
These sections contain this configuration information:
•
Mapping CoS Values to an Ingress Queue, page 31-12
(optional)
•
Configuring the Ingress Priority Queue, page 31-13
(optional)
Mapping CoS Values to an Ingress Queue
You can prioritize traffic by placing packets with particular CoSs into certain queues and adjusting the
queue thresholds so that packets with lower priorities are dropped.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos
Enable QoS globally.
Step 3
no mls qos rewrite ip dscp
Enable DSCP transparency. The switch is configured to not modify the
DSCP field of the IP packet.
Step 4
end
Return to privileged EXEC mode.
Step 5
show mls qos interface
[
interface-id
] Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание Catalyst 2928
Страница 28: ...Contents xxviii Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...
Страница 32: ...xxx Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Preface ...
Страница 496: ...26 14 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 26 Configuring SPAN Displaying SPAN Status ...
Страница 534: ...29 18 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 29 Configuring SNMP Displaying SNMP Status ...
Страница 700: ...Index IN 36 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...