qos trust

Use qos trust to configure the priority trust mode for an interface.

Use undo qos trust to restore the default priority trust mode.

Syntax

qos trust { auto | dot1p | dscp | exp } [ override ]

undo qos trust

Default

The port priority is trusted for priority mapping.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

auto: Uses the priority in incoming packets for priority mapping:

dot1p: Uses the 802.1p priority in incoming packets for priority mapping.

dscp: Uses the DSCP value in incoming packets for priority mapping.

exp: Uses the EXP value in incoming MPLS packets for priority mapping.

override: Maps the trusted priority, and then uses the mapped value for other priority mappings. Without this keyword, the trusted priority carried in the packet is directly used for priority mapping. This keyword is incompatible with the exp keyword.

Examples

# Set the trusted packet priority type to 802.1p priority on GigabitEthernet 3/0/1.

<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] qos trust dot1p

Related commands

display qos trust interface