H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QoS
H3C S7500 Series Ethernet Switches Chapter 1
QoS Commands
1-12
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/0/1
[H3C-GigabitEthernet2/0/1] qos
[H3C-qosb-GigabitEthernet2/0/1] line-rate 10
1.1.15 priority
Syntax
priority priority-level
undo priority
View
Ethernet port view
Parameters
priority-level: Priority value of the port, ranging from 0 to 7.
Description
Use the priority command to configure the priority of the Ethernet port.
Use the undo priority command to restore the default priority of the Ethernet port.
By default, the priority of a port is 0.
If the switch receives a VLAN-tagged frame, the switch will tag the frame with the
default VLAN tag of the port receiving the frame. In this case the switch assigns the port
priority of the port receiving the frame to the 802.1p priority of the VLAN tag in the
frame.
The switch does not perform the operation above if it receives a VLAN-tagged frame.
Examples
# Set the local precedence of Ethernet 2/0/1 to 7.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] priority 7
1.1.16 priority trust
Syntax
priority-trust { dscp | ip-precedence | cos | local-precedence }
View
System view