Configuring an Interface Level QoS Traffic Class

The incoming interface QoS Traffic Class (TC) is applied for incoming packet if it is an un-tagged packet and it is being Layer 2 forwarded.

The default value for QoS Traffic Class is 0 (zero). Supported range of TC is 0 to 7.

Follow these steps to configure an interface's QoS Traffic Class.

  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 TC for the interface
    SLX (conf-if-eth-0/2)#qos traffic-class 5
    SLX (conf-if-eth-0/2)# 
  4. Exit out of the Interface Configuration mode
    SLX (conf-if-eth-0/2)# exit
    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
    Default TC: 5 
  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 traffic-class 5
SLX (conf-if-eth-0/2)# end
SLX # show qos interface eth 0/2