27
2.
Enter interface view or
port group view.
•
Enter
interface
view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use one of the commands.
Settings in interface view
take effect on the current
interface. Settings in port
group view take effect on all
ports in the port group.
3.
Configure the trusted
packet priority type for
the interface.
qos trust
dscp
By default, no trusted packet
priority type is configured.
Changing the port priority of an interface
If an interface does not trust any packet priority, the router uses its port priority to look for the set of
priority parameters for the incoming packets. By changing port priority, you can prioritize traffic
received on different interfaces.
To change the port priority of an interface:
Step
Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface
view or port group
view.
•
Enter
interface
view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use one of the commands.
Settings in interface view take effect
on the current interface. Settings in
port group view take effect on all
ports in the port group.
3.
Set the port
priority of the
interface.
qos priority
priority-value
The default is 0.
Displaying and maintaining priority mapping
Task
Command
Remarks
Display priority mapping
table configuration.
display qos map-table
[
dot1p-dp
|
dot1p-lp
|
dscp-dot1p
|
dscp-dp
|
dscp-dscp
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
any view.
Display the trusted
packet priority type on a
port.
display qos trust
interface
[
interface-type interface-number
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in
any view.