qos trust
Syntax
qos trust {none | cos | dscp}
no qos trust
Description
Sets the trust mode. Trust mode determines whether CoS or DSCP values are used to assign local priority values to ingress packets. CoS values are taken from the CoS map, and DSCP values are taken from the DSCP map.
In the
config
context:
- This command sets the trust mode that is globally applied to all interfaces that do not have a trust mode configured.
- The
no
form of this command restores all interfaces that do not currently have a trust mode configured to the default setting (none
).
In the
config-if
context:
- This command sets the trust mode override for a specific interface.
- The
no
form of this command clears a trust mode override. The interface then uses the global setting. This is the only way to remove a trust mode override.
Command context
config
config-if
Parameters
none
Ignore all packet headers. Ingress packets are assigned the priority value configured for CoS map value
0
. Default.cos
For 802.1 VLAN-tagged packets, use the priority code point field value from the outermost VLAN header as the index into the CoS map. If the packet is untagged, use the priority configured for CoS map value
0
.dscp
For non-IP packets with 802.1 VLAN tag(s), use the priority code point field value of the outermost tag header as the index into the CoS map. For untagged, non-IP packets, use the priority configured for CoS map value
0
Authority
Administrators
Example
Setting the global trust mode to dscp, which is applied to all interfaces that do not already have an individual trust mode configured. An override is then applied to interface 2/2/2, and LAG 100, setting trust mode to cos:
switch(config)# qos trust dscp switch(config)# interface 2/2/2 switch(config-if)# qos trust cos switch(config-if)# interface lag 100 switch(config-if)# qos trust cos