User Manual

Table Of Contents
[Input mode]
interface mode
[Description]
Specifies the trust mode of LAN/SFP port and logical interface.
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 interface 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 LAN/SFP port and logical interface, the trust mode cannot be changed.
An LAN/SFP port whose trust mode differs cannot be aggregated as an logical interface.
The trust mode cannot be changed for an LAN/SFP port that is associated with an logical interface. However, in the case of
settings for an LAN/SFP port that is associated with an logical interface in the startup config, the setting for the lowest-
numbered port is applied to the logical interface.
Some QoS functions have limitations on execution depending on the trust mode, or may show different results.
[Example]
Set the trust mode of LAN/SFP port and logical interface to DSCP.
SWX3220(config-if)#qos trust dscp
Set the trust mode of LAN/SFP port and logical interface to the default setting (CoS).
SWX3220(config-if)#no qos trust
9.2.4 Show status of QoS function setting
[Syntax]
show qos
[Input mode]
unprivileged EXEC mode, privileged EXEC mode
[Description]
Shows the enabled (Enable) or disabled (Disable) status of the QoS function.
[Example]
Show the status of the system's QoS setting.
SWX3220#show qos
Enable
Command Reference | Traffic control | 385