No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Feature Description - QoS 01

This is NE40E V800R010C10SPC500 Feature Description - QoS
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
BA and PHB

BA and PHB

BA and PHB Actions

The QoS actions take by the device always depends on the service-class and color of the packet.
  1. The service-class and color of a packet is initialized to <BE, Green>.
  2. If the trust upstream command is configured on the inbound interface, when received a packet, the upstream (inbound) board of the device resets the service-class and color of the packet based on the priority field(s) (such as DSCP, 802.1p, EXP, and so on) of the packet. This procedure is called BA action.
  3. If remark, or remark within CAR, is configured for the packet, the inbound board resets the service-class and color of the packet.
  4. Then, the device takes other QoS actions based on the service-class and color of the packet.
  5. After the above actions are taken, the downstream (outbound) board should make a decision whether to modify the priority field(s) (such as DSCP, 802.1p, EXP, and so on) of the packet or not. In some scenarios, the priority field of the packet is not expected to be changed. The procedure that the outbound board modifies the priority field(s) of the packet based on the service-class and color of the packet is called PHB action.

BA and PHB Symbols

The device sets two symbols, "BA-symbol" for inbound board and "PHB-symbol" for outbound board, to decide whether to take PHB action or not. Both the BA and PHB Symbols can be "Y" or "N".

The device takes PHB action only when both the two symbols are set as "Y".

By default, the BA-symbol is set as "N", and the PHB-symbol is set as "N".

Both the BA and PHB Symbols can be changed by commands (Table 6-24).

Table 6-24 Commands for BA and PHB Symbols Setting
Commands QoS actions Values of the BA and PHB symbols
trust upstream The board takes BA action for inbound packets and takes PHB action for outbound packets. Both the BA and PHB Symbols are set as "Y".
diffserv-mode { pipe | short-pipe } The board takes BA action for inbound packets.
  • The "BA-symbol" and "PHB-symbol" keeps unchanged.
diffserv-mode uniform This command is default configuration and does not affect the actions of the inbound and outbound boards. Both the "BA-symbol" and "PHB-symbol" keep unchanged.
service-class
  • The service-class and color of the packet are reset.
  • The "BA-symbol" is set as "Y" if the parameter no-remark is not configured within the command.
  • The "BA-symbol" is set as "N" if the parameter no-remark is configured within the command.
remark (inbound)

The "BA-symbol" is set as "Y" and the "PHB-symbol" is not affected. The inbound board takes BA action and remarks the inbound packets, regardless of the "BA-symbol" and "PHB-symbol".

remark (outbound)

The outbound board remarks the outbound packets, regardless of the "BA-symbol" and "PHB-symbol".

For example, assume that the remark dscp 11 command is configured for outbound interface and the service-class and color of the packet are <ef, green>. The DSCP of the packet is set as 11 directly, rather than the value mapped from <ef, green> based on the downstream PHB mapping table. If the outbound packet has vlan tag, the 802.1p of the vlan tag is set based on <ef, green> and the downstream PHB mapping table. If both the remark dscp 11 command and the remark 8021p command are configured for the outbound interface, then both the DSCP and the 802.1p of the packet are modified directly according the remark commands.

qos phb enable - The "PHB-symbol" is set as "Y".
qos phb disable - The "PHB-symbol" is set as "N".
qos car { green | yellow | red } pass service-class color The service-class and color of the packet are reset. Both the "BA-symbol" and "PHB-symbol" keep unchanged.

Rules for PHB Action

As stated above, to control the PHB action, the device set two symbols, "BA-symbol" for inbound board and "PHB-symbol" for outbound board. They can be changed by commands.

  • To set BA-symbol as "Y", configure the "trust upstream", "remark", "service-class" command on inbound interface.

  • To set BA-symbol as "N", configure the "service-class class-value color color-value no-remark" command, or do not configure the four commands stated above on the inbound interface.

  • To set PHB-symbol as "Y", configure the "trust upstream" or "qos phb enable" command on outbound interface.

  • To set PHB-symbol as "N", configure the "qos phb disable" command or do not configure the "trust upstream" command on outbound interface.

Table 6-25 Rules for PHB Action
Symbols Mapping back?
BA PHB
N N No
Y N No
Y Y Yes

Which Priority Field is Trusted

The trusted QoS priority fields are depended on the configuration on the inbound interface, see Table 6-26.

Table 6-26 Trusted Priority Fields
Inbound interface configuration Packet type Which field is trusted
trust upstream trust 8021p
No No Any types No field is trusted and the packet is mapped to <BE, Green>.
No Yes Any types No field is trusted and the packet is mapped to <BE, Green>.
Yes No IPoE, IPoVLAN, IPoQinQ DSCP
IPoPPP, IPoHDLC, IPoFR DSCP
MPLS EXP in outer label
Other types
  • No field is trusted.
  • The recognized packets are mapped to <CS6, Green>. Usually, these recognized packets are protocol packets, such as IS-IS packets, ARP packets, PPPoE packets, and so on So they are mapped to <CS6, Green>.
  • Unrecognized packets are mapped to <BE, Green>. Usually, the unrecognized packets are error packets, so they are mapped to <BE, Green>.
Yes Yes VLAN 802.1p
QinQ 802.1p in outer VLAN
Non-VLAN & Non-QinQ No field is trusted and the packet is mapped to <BE, Green>.
NOTE:

"Other types" here indicates neither IP nor MPLS packets when the outer L2 header is removed.

Which Priority Field of the Inbound Packet Is Reset in PHB Action

Table 6-27 Which Priority Field Is Reset in PHB Action
Inbound interface configuration Priority field remarked in mapping back action
trust upstream trust 8021p
Not configured Not configured No field is remarked
Not configured Configured No field is remarked
Configured Not configured
  • MPLS packet: Outer EXP
  • Non-MPLS packet: DSCP
Configured Configured Outer 8021p

Rules for Marking the 802.1p Field of New-added VLAN Tag

Table 6-28 lists the rules for marking the 802.1p field of the new-added VLAN tag.

Table 6-28 Rules for Marking the 802.1p Field of New-added VLAN Tag
PHB-symbol Rules for marking the 802.1p field of the new-added VLAN tag
Y According to the <service-class, color> of the packet and the downstream priority mapping table.
N Mark as 0.

Rules for Marking the EXP Field of New-added MPLS Header

Table 6-29 lists the rules for marking the EXP field of the new-added MPLS header.

Table 6-29 Rules for Marking the EXP Field of New-added MPLS Header
PHB-symbol Rules for marking the EXP field of the new-added MPLS header
Y Both inner and outer EXP: according to the <service-class, color> of the packet and the downstream priority mapping table.
N

Inner EXP of L3VPN or VLL: according to the <service-class, color> of the packet and the downstream priority mapping table.

Outer EXP: according to the service-class of the packet:

  • if service-class =BE, then Exp=0;
  • if service-class =AF1, then Exp=1;
  • if service-class =AF2, then Exp=2;
  • if service-class =AF3, then Exp=3;
  • if service-class =AF4, then Exp=4;
  • if service-class =EF, then Exp=5;
  • if service-class =EF, then Exp=5;
  • if service-class =CS6, then Exp=6;
  • if service-class =CS7, then Exp=7.

Inner EXP of VPLS: the same as the mark method of the outer EXP.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055046

Views: 5525

Downloads: 55

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next