320
Switch(Config-PolicyMap)#exit
13.1.2.2.10 mls qos trust
Command: mls qos trust [cos [pass-through-dscp]|dscp [pass-through-cos]|
ip-precedence [pass-through-cos] |port priority <cos>]
[no] mls qos trust
Function: Configure port trust; the “no mls qos trust” command disables the current
trust status of the port.
Parameter: cos configures the port to trust CoS value; cos pass-through-dscp
configures the port to trust CoS value but does not change packet DSCP value;
dscp configures the port to trust DSCP value; dscp pass-through-cos
configures the port to trust DSCP value, but does not change packet CoS
value; ip-precedence configures the port to trust IP precedence;
ip-precedence pass-through-cos configures the port to trust IP
precedence, but does not change packet CoS value.
port priority <cos> assign a priority to the physical port, cos is the priority to
assign. Priority of all incoming packets through the port will be set to this cos
value. This is irrelevant to the priority of the packet itself, no modification is
done to the packets.
Default: No trust.
Command mode: Interface Mode
Usage Guide: For packets with both CoS value and DSCP value, keyword pass-through
should be used to protect the value if the value should not be changed after
classification.
Example: Configure port ethernet 1/1 to trust CoS value, i.e. classify the packets
according to CoS value, DSCP value should not be changed.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos trust cos pass-through-dscp
13.1.2.2.11 mls qos cos
Command: mls qos cos {<default-cos> }
no mls qos cos
Function: Configure the default CoS value of the port; the “no mls qos cos” command
restores the default setting.
Parameter: < default-cos> is the default CoS value for the port, the valid range is 0 to 7.