33-59
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 33 Configuring QoS
Configuring Standard QoS
Beginning in privileged EXEC mode, follow these steps to modify the IP-precedence-to-DSCP map.
This procedure is optional.
To return to the default map, use the
no mls qos ip-prec-dscp
global configuration command.
This example shows how to modify and display the IP-precedence-to-DSCP map:
Switch(config)#
mls qos map ip-prec-dscp 10 15 20 25 30 35 40 45
Switch(config)#
end
Switch#
show mls qos maps ip-prec-dscp
IpPrecedence-dscp map:
ipprec: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 10 15 20 25 30 35 40 45
Configuring the Policed-DSCP Map
You use the policed-DSCP map to mark down a DSCP value to a new value as the result of a policing
and marking action.
The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP
value.
Beginning in privileged EXEC mode, follow these steps to modify the policed-DSCP map. This
procedure is optional.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos map ip-prec-dscp
dscp1...dscp8
Modify the IP-precedence-to-DSCP map.
For
dscp1...dscp8
, enter eight DSCP values that correspond to the IP
precedence values 0 to 7. Separate each DSCP value with a space.
The DSCP range is 0 to 63.
Step 3
end
Return to privileged EXEC mode.
Step 4
show mls qos maps ip-prec-dscp
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos map policed-dscp
dscp-list
to
mark-down-dscp
Modify the policed-DSCP map.
•
For
dscp-list
, enter up to eight DSCP values separated by spaces.
Then enter the
to
keyword.
•
For
mark-down-dscp
, enter the corresponding policed (marked down)
DSCP value.
Step 3
end
Return to privileged EXEC mode.
Step 4
show mls qos maps policed-dscp
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...