Iii. configuration example, 5 setting the precedence of protocol packet, 1 configuration prerequisites – H3C Technologies H3C S3100 Series Switches User Manual
Page 403: 2 configuration procedure, 5 setting the precedence of protocol packet -10

Operation Manual – QoS
H3C S3100-52P Ethernet Switch
Chapter 1 QoS Configuration
1-10
III. Configuration example
z
Set to use the port priority and specify the priority of Ethernet1/0/1 to 7.
Configuration procedure:
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] undo priority
[H3C-Ethernet1/0/1] priority 7
z
Set the switch to use the 802.1p priority carried in the packet on Ethernet1/0/1.
Configuration procedure:
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] priority trust
1.5 Setting the Precedence of Protocol Packet
The protocol packet carries its own precedence. You can modify the precedence of the
protocol packet by setting its precedence. And then you can match the precedence with
the corresponding QoS action to perform the corresponding QoS operation on the
protocol packet.
1.5.1 Configuration Prerequisites
z
The type of protocol whose precedence needs modification is specified
z
The precedence value after modification is specified
1.5.2 Configuration Procedure
Table 1-8
Set the precedence of the protocol packet
Operation
Command
Description
Enter system
view
system-view
—
Set the
precedence of the
protocol packet
protocol-priority
protocol-type
protocol-type
{ ip-precedence
ip-precedence
| dscp
dscp-value
}
Required
You can modify the IP precedence
or DSCP precedence of the
protocol packet
Only the precedence of TELNET,
OSPF, SNMP, and ICMP protocol
packets is supported currently