NOTE
l The interface type can be Ethernet, GE, XGE, or Eth-Trunk.
l You need to create a port group before performing this task. For details on how to create a port group,
see (Optional) Configuring the Interface Group in the Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet.
l The packet priority trusted by an interface cannot be configured by using a port group on W series
boards.
Step 3 Run:
trust { 8021p { inner | outer } | dscp }
The interface is configured to trust the priority of packets.
By default, an interface trusts the 802.1p priority in the outer VLAN tag of packets.
NOTE
l On the S-series board:
l If you run the trust 8021p inner command on the inbound interface, the S7700 maps the 802.1p
priorities in the outer VLAN tags to PHBs and colors.
l If you run the trust 8021p outer command on the inbound interface, the S7700 maps the 802.1p
priorities in the outer VLAN tags to PHBs and colors. If a packet does not carry a tag, the packet
enters a queue according to the default 802.1p priority on the incoming interface.
l On the E-series board and F-series board:
l On the interface that receives the packets, the S7700 maps the priorities of the packets to PHBs
and colors according to the actual setting.
l On the interface that forwards the packets, if the trust 8021p inner command is used, the priorities
of the packets are not mapped to the 802.1p priority in the inner tag if the packets carry double
tags. This is because the 802.1p priority in the outer tag mapped to PHBs and colors is added to
the 802.1p priority field of the outer tag.
l W series boards support only the trust dscp command and do not trust any packet priority by default.
For more information about S series boards, E series boards, F series boards, and W series boards, see
Board Classification in the Quidway S7700 Smart Routing Switch Hardware Description.
----End
1.3.3 (Optional) Setting the Default 802.1p Priority of an Interface
After the default 802.1p priority of an interface is set, if the interface is configured to trust 802.1p
priorities of packets, the S7700 performs PHB mapping for the received untagged packets
according to the default 802.1p priority.
Context
If an interface receives untagged packets, it needs to add the default VLAN ID and 802.1p priority
to the packets before forwarding them.
If an interface is configured to trust the 802.1p priority of packets, the S7700 uses the default
802.1p priority of the interface when the interface receives untagged packets.
Procedure
Step 1 Run:
system-view
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8