1-13
Configuration procedure
You can configure to trust port priority or packet priority. Table 1-9 shows the detailed configuration
procedure.
Table 1-9 Configure priority trust mode
Operation Command Description
Enter system view
system-view
—
Configure to
trust port
priority
undo priority trust
Optional
By default, the 4210 series
switches trust port priority.
Enter
Ethernet port
view
interface
interface-type
interface-number
—
Configure
the port
priority
priority priority-level
Optional
By default, the port priority is
0.
Configure
to trust port
priority
Exit to
system view
quit
—
Configure to
trust packet
priority
priority trust
Required
By default, the 4210 series
switches trust port priority.
z If you configure to trust
packet priority without
specifying the trusted
priority type, the switch
trusts the 802.1p priority of
the received packets.
z On the 4210 series
switches, to configure to
trust DSCP precedence of
packets, you should
configure the priority
trust command first and
then use the priority-trust
command to specify the
DSCP precedence.
Configure
to trust
packet
priority
Specify the
trusted
priority type
priority-trust { cos |
dscp }
Required
If you configure to trust packet
priority without specifying the
trusted priority type, the
switch trusts the 802.1p (CoS)
priority of the received
packets.
Use either
approach
Configuration examples
# Configure to trust port priority and set the priority of Ethernet 1/0/1 to 7.
<Sysname> system-view
[Sysname] undo priority trust
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] priority 7