Configuration Guide QoS Configuration
Ruijie(config-if)#mls qos trust {cos |
ip-precedence | dscp}
Configure the QoS trust mode of the interface
CoS, dscp or ip-precedence
Ruijie(config-if)#no mls qos trust
Restore the QoS trust mode of the interface to
default
The command below set the trust mode of interface gigabitEthernet 0/4 to DSCP:
Ruijie(config)# interface gigabitEthernet 0/4
Ruijie(config-if)# mls qos trust dscp
Ruijie(config-if)# end
Ruijie# show mls qos interface g0/4
Interface GigabitEthernet 0/4
Attached input policy-map:
Default COS: trust dscp
Default COS: 0
Ruijie#
Configuring the Default CoS Value of an Interface
You may configure the default CoS value for every interface through the following steps.
By default, the CoS value of an interface 0.
Ruijie#configure terminal
Enter the configuration mode
Ruijie(config)# interface interface
Enter the interface configuration mode.
Ruijie(config-if)#mls qos cos
default-cos
Configure the default CoS value of the interface,
where default-cos is the desired default CoS value,
ranging 0~7.
Ruijie(config-if)#no mls qos cos
Restore to the default CoS value.
The example below set the default CoS value of interface g0/4 to 6:
Ruijie# configure terminal
Ruijie(config)# interface g 0/4
Ruijie(config-if)# mls qos cos 6
Ruijie(config-if)# end
Ruijie# show mls qos interface g 0/4
Interface GigabitEthernet 0/4
Attached input policy-map:
Default COS: trust dscp
Default COS: 6
Ruijie#
Configuring Class Maps
You may create and configure Class Maps through the following steps: