DGS-6604
m
qos trust
CLI Reference Guide
515
qos trust
To set the trust state of a port, use the qos trust command in interface
configuration mode; to trust either the CoS field or the DSCP field of the arriving
packet for subsequent QoS operation.
qos trust { cos | dscp }
Default
DSCP is trusted.
Command Mode
Interface configuration
Usage Guideline
Only physical ports are valid for this command. When the interface is set to trust
DSCP, the DSCP of the arriving packet will be trusted for the subsequent QoS
operations. First the DSCP will be mapped to an internal CoS value, which will in
turn determine the CoS queue. The DSCP to COS map is configured by the qos
map dscp-cos command. The CoS to queue map is configured by the qos map
cos command. If the arriving packet is a non-IP packet, the CoS is trusted.
When the interface is in trust CoS state, the CoS of the coming packet will be the
internal CoS and determine the CoS queue based on the CoS to queue map.
When a packet is received by the ingress port, it will be initialized to a color
based on the qos map dscp-color if the receipt port is trust DSCP or qos map
cos-color if the receipt port is set to trust CoS.
Example
This example shows how to set eth3.1 to trust DSCP mode.
Verify the settings by entering the
show qos interface
command.
Syntax Description
cos
Specifies that the CoS bits of the arriving packets are trusted for subsequent
QoS operations.
dscp
Specifies that the ToS/DSCP bits, if available in the arriving packets, are trusted
for subsequent operation. For non-IP packet, L2 CoS information will be trusted
for traffic classification.
Switch(config)# interface eth3.1
Switch(config-if)# qos trust dscp
Switch(config-if)# end
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...