SWR2311P(config-if)#qos cos 2
Return the default CoS value to the default value.
SWR2311P(config-if)#no qos cos
9.2.3 Set trust mode
[Syntax]
qos
trust
mode
no
qos
trust
[Parameter]
mode
:
Trust mode
Setting value
Description
cos
Determines the egress queue based on the CoS
value
dscp
Determines the egress queue based on the DSCP
value
port-priority
Applies the specified priority to the receiving
port
[Initial value]
qos trust cos
[Input mode]
interface mode
[Description]
Specifies the trust mode of the LAN/SFP port.
If this is executed with the "no" syntax, the default value (CoS trust mode) is specified.
In the case of "CoS" trust mode, the CoS value of incoming frames is used to determine the egress queue. In the case of
"DSCP," the DSCP value of incoming frames is used to determine the egress queue. In the case of "port priority," the priority
specified for the receiving port is used to determine the egress queue.
The CoS value and DSCP value, and the egress queue that is associated with the receiving port, can be changed by using the
following commands.
Trust mode
Setting value used for egress queue
determination
Corresponding command
CoS
CoS - egress queue ID conversion table
qos cos-queue
DSCP
DSCP - egress queue ID conversion
table
qos dscp-queue
Port Priority
Priority specified for each receiving port
qos port-priority-queue
Within the various QoS processes, there are four types of timing that determine (change) the egress queue.
1.
When assigning the egress queue
2.
Specifying the egress queue by class map
3.
Specifying pre-marking by class map
4.
Specifying remarking by class map
Types 2, 3, and 4 can be specified whether the trust mode is "CoS" or "DSCP"; in either case, the egress queue is assigned by
referencing the "egress queue ID conversion table" that corresponds to its own trust mode.
[Note]
In order to execute this command, QoS must be enabled.
If a policy map is applied to the LAN/SFP port, the trust mode cannot be changed.
Some QoS functions have limitations on execution depending on the trust mode, or may show different results.
[Example]
Set the trust mode of the LAN/SFP port to DSCP.
228
| Command Reference | Traffic control