Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-22
1.1.22 priority-trust
Syntax
priority-trust
{
cos
|
dscp
}
undo priority-trust
View
System view
Parameter
cos
: Configures the switch to trust the CoS precedence (802.1p precedence) of the
received packets.
dscp
: Configures the switch to trust the DSCP precedence of the received packets.
Description
Use the
priority-trust
command to specify the trusted packet priority type.
Use the
undo priority-trust
command to restore the default.
By default, a switch trusts the 802.1p priority of the received packets.
A port of an S3100 series switch can accommodate four output queues. The output
queue to which a received packet is to be added to is determined by its local
precedence:
z
DSCP precedence: Ranges from 0 to 63. By default, packets with DSCP values
from 0 to 15 are put into queue 0, those from 16 to 31 in queue 1, from 32 to 47 in
queue 2, and from 48 to 63 in queue 3.
z
CoS priority: Ranges from 0 to 7. By default, packets with CoS priority level 1 or 2
are put into queue 0, those with 0 or 3 in queue 1, with 4 or 5 in queue 2, and with
6 or 7 in queue 3.
You can choose a queuing policy that best meets your needs.
Note that: on the S3100 series, before configuring a switch to trust the DSCP
precedence of the received packets with the
priority-trust
dscp
command, configure
the
priority
trust
command on the switch first.
Related command:
display priority-trust
.
Example
# Configure the switch to trust the DSCP precedence of the received packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] priority-trust dscp
# Display the configuration result.