SSE-G2252/SSE-G2252P Switches User's Manual
qos map trust-mode
This command sets QoS mapping to DSCP or CoS. Use the no form to restore the
default setting.
Syntax
qos map trust-mode {dscp | cos}
no qos map trust-mode
dscp - Sets the QoS mapping mode to DSCP.
cos - Sets the QoS mapping mode to CoS.
Default Setting
DSCP
Command Mode
Interface Configuration (Port, Static Aggregation)
Command Usage
•
If the QoS mapping mode is set to DSCP with this command, and the ingress packet
type is IPv4, then priority processing will be based on the DSCP value in the ingress
packet.
•
If the QoS mapping mode is set to DSCP, and a non-IP packet is received, the
packet's CoS and CFI (Canonical Format Indicator) values are used for priority
processing if the packet is tagged. For an untagged packet, the default port priority
(see
"switchport priority default" on page
•
If the QoS mapping mode is set to CoS with this command, and the ingress packet
type is IPv4, then priority processing will be based on the CoS and CFI values in the
ingress packet.
For an untagged packet, the default port priority (see
page
36-5) is used for priority processing.
Example
This example sets the QoS priority mapping mode to use DSCP based on the conditions
described in the Command Usage section.
SSE-G2252(config)#interface ge1/1
SSE-G2252(config-if)#qos map trust-mode cos
SSE-G2252(config-if)#
36-5) is used for priority processing.
"switchport priority default" on
36-12