Command Manual – QoS
H3C S7500E Series Ethernet Switches
Chapter 4 Priority Mapping Configuration
Commands
4-4
Parameters
priority-value
: Port priority to be configured. This argument is in the range 0 to 7.
Description
Use the
qos priority
command to set the port priority for a port.
Use the
undo qos priority
command to restore the default port priority.
By default, the port priority is 0.
Note that, if a port receives packets without an 802.1q tag, the switch takes the priority
of the receiving port as the 802.1p precedence of the packets and then searches the
dot1p-dp/lp
mapping table for the local/drop precedence for the packets according to
the priority of the receiving port.
Examples
# Set the port priority of Ethernet2/0/1 port to 2.
<Sysname> system-view
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] qos priority 2
4.3 Port Priority Trust Mode Configuration Commands
4.3.1 display qos trust interface
Syntax
display qos trust
interface
[
interface-type interface-number
]
View
Any view
Parameters
interface-type
: Port type.
interface
-
number
: Port number.
Description
Use the
display qos trust interface
command to display the port priority trust mode of
a port.
If no port is specified, this command displays the port priority trust modes of all the
ports.
Examples
# Display the port priority trust mode of Ethernet2/0/1 port.