Describes configuring Interface level QoS Remark DSCP

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.

Follow these steps to configure an interface QoS Remark DSCP.

  1. Enter the global configuration mode.
    SLX # configure terminal 
    SLX (config)# 
  2. Enter interface configuration mode.
    SLX (config)# interface ethernet 0/2
    SLX (conf-if-eth-0/2)# 
  3. Configure the QoS traffic-class per interface.
    SLX (conf-if-eth-0/2)# qos remark dscp
    SLX (conf-if-eth-0/2)# 
  4. Return to privileged exec mode
    SLX (conf-if-eth-0/2)# end
    SLX #
  5. Verify your configuration using the show qos interface eth 0/2 command.
    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 
  6. Save the Running Configuration file to the Startup Configuration file.
    SLX #copy running-config startup-config
    SLX #

Example

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