8.1.7. qos trust (per interface)

Syntax

qos trust

no qos trust

Parameter

Default

Default interface qos trust state is enabled.

Mode

Interface Configuration

Usage

After QoS function is enabled in basic mode, the device also support per

interface enable/disable the qos function. If the trust state on interface is enabled, all ingress packets of this interface will remap according to the trust type and the qos maps. Otherwise, all ingress packets will assign to queue 1. Use “qos trust” to enable trust state on interface and use “no qos trust” to disable trust state on interface.

Example

This example shows how to disable qos trust state on interface gi1.

Switch(config)# interface GigabitEthernet 1
Switch(config-if)# no qos trust
Switch(config-if)# end
Switch# show qos interface GigabitEthernet 1
Port | CoS | Trust State | Remark Cos | Remark DSCP | Remark IP Prec
--------+-------+---------------+------------+-------------+----------
gi1 | 0 | disabled | disabled | disabled | disabled |