Operation Manual - QoS&QoS Profile
Quidway S5600 Series Ethernet Switches
Chapter 1 QoS Configuration
Huawei Technologies Proprietary
1-12
Operation
Command
Description
Display the mapping table
display qos
cos-local-precedence-map
Optional
You can execute the
display
command in
any view
III. Configuration example
z
Configure the following 802.1p priority-to-local precedence mappings: 0 to 2, 1 to
3, 2 to 4, 3 to 1, 4 to 7, 5 to 0, 6 to 5, and 7 to 6.
z
Display the configuration results.
Configuration procedure:
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] qos cos-local-precedence-map 2 3 4 1 7 0 5 6
[Quidway] 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 for 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
—