![H3C S5120-SI Series Скачать руководство пользователя страница 343](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174343.webp)
3-6
Configuring the Trusted Precedence Type for a Port
You can configure whether to trust the priority of packets. On a device supporting port trusted
precedence type, the priority mapping process for packets is shown in
Priority Mapping Overview
.
You can configure one of the following trusted precedence types for a port:
z
dot1p
: Trusts the 802.1p precedence of the received packets and uses the 802.1p precedence for
mapping.
z
dscp
: Trusts the DSCP values of the received IP packets and uses the DSCP values for mapping.
Configuration Prerequisites
z
It is determined to trust port priority.
z
The trusted precedence type for the port is determined.
z
The priority mapping table corresponding to the trusted precedence type is configured. For the
detailed configuration procedure, refer to
Configuring a Priority Mapping Table
.
Configuration Procedure
Follow these steps to configure the trusted precedence type:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface
interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group..
Configure the trusted
precedence type
qos trust
{
dot1p
|
dscp
}
Required
By default, port priority is
trusted.
Display the trusted
precedence type
configuration
display qos trust
interface
[
interface-type interface-number
]
Optional
Available in any view
Configuration Example
Network requirements
Configure port GigabitEthernet 1/0/1 to trust the 802.1p precedence of received packets.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter port view.
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...