
95
(config)# qos map dscp-ingress-translation 1 to 5
(config)# qos map dscp-ingress-translation 2 to 8
! Enable DSCP Remark at egress on Port 3
(config)# interface GigabitEthernet 1/3
(config-if)# qos trust dscp
(config-if)# qos dscp-remark rewrite
(config-if)# exit
(config-if)# end
Example
: Classify all DSCP values at ingress on Port 2, rewrite enabled on Port 3.
Classifying All DSCP at Ingress Using WebGUI
To classify all DSCP values at ingress on Port 2, rewrite enabled on Port 3, perform the following steps.
1.
Click
Configuration
>
QoS
>
Port Classification
, and select the
DSCP Based
option as shown in the following
illustration.
Enable All DSCP Classification and DSCP Rewrite
2.
Click
Configuration
>
QoS
>
Port DSCP
, and set the values as shown in the following illustration.
Set Up All DSCP Ingress Classification and DSCP Egress Rewrite
The equivalent ICLI commands are:
# configure terminal
! Enable DSCP classification for all DSCP values at ingress Port 2
(config)# interface GigabitEthernet 1/2
(config-if)# qos trust dscp
(config-if)# qos dscp-classify any
(config-if)# exit
! Enable DSCP Remark at egress on Port 3
(config)# interface GigabitEthernet 1/3