I. configuration prerequisites, Ii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual
Page 402

Operation Manual – QoS
H3C S3100-52P Ethernet Switch
Chapter 1 QoS Configuration
1-9
System View: return to User View with Ctrl+Z.
[H3C] qos cos-local-precedence-map 2 3 4 1 7 0 5 6
[H3C] dis qos cos-local-precedence-map
cos-local-precedence-map:
cos(802.1p) : 0 1 2 3 4 5 6 7
--------------------------------------------------------------------------
local precedence(queue) : 2 3 4 1 7 0 5 6
1.4 Setting to Use the Port Priority or Packet Priority
By default, the switch replaces the 802.1p priority of the received packet with the
priority of the inbound interface, and then assigns local precedence to the packet
according to the priority. In this case, you can set the port priority.
In addition, you can specify the switch to use the packet priority.
I. Configuration prerequisites
z
The priority trust mode is specified
z
The port whose priority is to be configured is specified
z
The priority value of the specified port is specified
II. Configuration procedure
Table 1-6
Set to use the port priority
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface
interface-type
interface-number
—
Set the port priority
priority
priority-level
Optional
By default, the port
priority is 0
Table 1-7
Set to use the packet priority
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface
interface-type
interface-number
—
Set the switch to use
the packet priority
priority trust
Through this
configuration, the switch
uses the packet priority
instead of the port priority