2-424
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set port qos trust
set port qos trustTo set the trusted state of a port, use the set port qos trust command; for example, whether or not the
packets arriving at a port are trusted to carry the correct classification.
set port qos mod/ports... trust {untrusted | trust-cos | trust-ipprec | trust-dscp}
Syntax Description
Defaults The default is untrusted; when you disable QoS, the default is trust-cos on Layer 2 switches and
trust-dscp on Layer 3 switches.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you disable QoS, the default is trust-cos on Layer 2 switches and trust-dscp on Layer 3 switches.
This command is not supported by the NAM.
On 10/100 ports, you can use only the set port qos trust command to activate the receive-drop
thresholds. To configure a trusted state, you have to convert the port to port-based QoS, define an ACL
that defines all (or the desired subset) of ACEs to be trusted, and attach the ACL to that port.
Examples This example shows how to set the port to a trusted state:
Console> (enable) set port qos 3/7 trust trust-cos
Port 3/7 qos set to trust-cos.
Console> (enable)
This example shows the output if you try to set the trust state on a 10/100 port:
Console> (enable) set port qos 3/28 trust trust-cos
Trust type trust-cos not supported on this port.
Receive thresholds are enabled on port 3/28.
Port 3/28 qos set to untrusted.
Console> (enable)
mod/ports... Number of the module and the ports on the module.
untrusted Specifies that packets need to be reclassified fr om the ma tching acces s con trol
entry (ACE).
trust-cos Specifies that although the CoS bits in the incoming packets are trusted, the
ToS is invalid and a valid value needs to be derived from the CoS bits.
trust-ipprec Specifies that although the ToS and CoS bits in the incoming packets are
trusted, the ToS is invalid and the ToS is set as IP precedence.
trust-dscp Specifies that the ToS and CoS bits in the incomin g pack et s ca n be a ccept ed as
is with no change.