Switch port should be configured under the interface.
The QoS remark DSCP is applicable for L2 Switch Port only. Remark DSCP can be enabled on physical interface after configuring the Switch Port. After the QoS Remark DSCP is enabled on Switch port, you can configure traffic-class-to-DSCP map that can be applied on the Switch Port interface.
If the IP header is present for packet that is getting L2 forwarded, then the outgoing packet IP DSCP will be remarked based on the traffic class selected.
Note
This map is not supported on SLX 9740 and Extreme 8820 devices.Follow these steps to configure an interface QoS Remark DSCP.
SLX # configure terminal SLX (config)#
SLX (config)# interface ethernet 0/2 SLX (conf-if-eth-0/2)#
SLX (conf-if-eth-0/2)# qos remark dscp SLX (conf-if-eth-0/2)#
SLX (conf-if-eth-0/2)# end SLX #
SLX #show qos interface eth 0/2 Interface Ethernet 0/2 Trust CoS : True Remark CoS : False Trust DSCP: False Remark DSCP: True Default TC: 0
SLX #copy running-config startup-config SLX #
This example shows the above steps in a consolidated format:
SLX # configure terminal SLX (config)# interface ethernet 0/2 SLX (conf-if-eth-0/2)# qos remark dscp SLX (conf-if-eth-0/2)# end SLX # show qos interface eth 0/2 SLX # copy running-config startup-config