Cisco Systems 3560 사용자 설명서

다운로드
페이지 1288
 
34-42
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34      Configuring QoS
Configuring Standard QoS
To return a port to its non-trusted state, use the no mls qos trust interface configuration command. To 
return to the default DSCP-to-DSCP-mutation map values, use the no mls qos map dscp-mutation 
dscp-mutation-name global configuration command.
This example shows how to configure a port to the DSCP-trusted state and to modify the 
DSCP-to-DSCP-mutation map (named gi0/2-mutation) so that incoming DSCP values 10 to 13 are 
mapped to DSCP 30:
Switch(config)# mls qos map dscp-mutation gi0/2-mutation 10 11 12 13 to 30
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# mls qos trust dscp
Switch(config-if)# mls qos dscp-mutation gi0/2-mutation
Switch(config-if)# end
Configuring a QoS Policy
Configuring a QoS policy typically requires classifying traffic into classes, configuring policies applied 
to those traffic classes, and attaching policies to ports.
For background information, see the 
 and the 
. For configuration guidelines, see the 
These sections describe how to classify, police, and mark traffic. Depending on your network 
configuration, you must perform one or more of these tasks:
  •
  •
  •
  •
  •
Step 7
show mls qos maps dscp-mutation
Verify your entries.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose