Command mode:
Port Configuration Mode.
Usage Guide:
trust cos mode: can set the intp value based cos-to-intp mapping.
trust dscp mode: can set the intp field based dscp-to-intp mapping, it is valid for IPv4, IPv6 packets.
trust cos and trust dscp can be set at the same time, trust dscp priority is higher than trust cos
priority.
Example:
Configuring ethernet port 1/0/1 to trust cos value, i.e., classifying the packets according to cos
value.
Switch(config)#interface ethernet
Switch(Config-If-Ethernet )#mls qos trust cos
15.14 pass-through-cos
Command:
pass-through-cos
no pass-through-cos
Function:
Forbid the egress packets rewritting L2 cos value.
Default:
The egress packets rewrite L2 CoS value.
Command mode:
Port Mode.
Usage Guide:
The egress packets can not rewrite L2 CoS value when configuring pass-through-cos on the ingress.
This command may associate with other commands of QoS, such as mls qos trust command. After
QoS actions are valid, the egress packets save the original CoS value.
Example:
Configuring ethernet port 1/0/1 to trust dscp value, i.e., classifying the packets according to dscp
value.
Switch(config)#interface ethernet 1/0/1
Switch(config-if-ethernet1/0/1)#mls qos trust dscp
Switch(config-if-ethernet1/0/1)#pass-through-cos
15-135