Got it

Priority Processing Highlighted

Latest reply: Dec 25, 2021 04:58:53 918 30 14 0 0

Hi, guys!


According to different priority processing policies, the inner and outer VLAN priorities can be set for service-ports, or the user-side priority can be copied for service-ports.

The priority processing feature of the ONU includes remarking the VLAN priority of packets, copying the user-side CoS priority, and copying the user-side ToS priority.

In this way, packets are scheduled according to the priorities when congestion occurs on the device or the upper-layer network.


Priority processing remarks the 802.1p priority according to certain rules. Priority processing is a prerequisite for queue scheduling. In queue scheduling on the MA5616, packets enter queues according to their outer virtual local area network (VLAN) priorities. At the same time, priority processing also makes preparations for the scheduling on the upper-layer network.


Voice calls are characterized by real-time, small delay, and quick connection. Therefore, voice packets are generally forwarded with a high priority. A router forwards packets according to the VLAN priority (complying with the 802.1p), differentiated services code point (DSCP), or type of service (ToS). The MA5616 supports the 802.1p priority setting for the media IP address and signaling IP address separately. By default, the priorities of both the media IP address and signaling IP address are 6.

A packet priority can be 802.1p priority or IP priority.


802.1p Priority

802.1p priority is specified at the link layer and is also called the class of service (CoS) priority. The 802.1p priority occupies three bits in a VLAN tag, as defined in IEEE 802.1Q. Position of the 802.1p priority in an Ethernet frame.


qos1


Tag control information (TCI) is divided into the following three fields:

  •  Priority field: indicates the 802.1p priority. The field comprises three bits and ranges from 0 to 7. The field indicates the Ethernet frame priority. A maximum of eight priorities are supported. Value 7 indicates the highest priority and value 0 indicates the lowest priority. By using the eight priorities, the field specifies which packet to be transmitted first in the case of congestion on a port.

  •  Canonical format indicator (CFI): indicates a one-bit field used to identify different colors.

  •  VLAN identification (VLAN ID): indicates the VLAN ID that is a 12-bit field. All the packets transmitted from a host that supports 802.1q contain this field, indicating the VLAN to which the packets belong.


IP Priority

As defined in the IP protocol, DSCP and ToS occupy the same field (one byte) in an IP header. An IP bearer network device identifies whether the field is filled with DSCP or ToS and schedules and forwards packets according to the setting to ensure QoS for various services.


IP priority


DSCP is used to select a per-hop behavior (PHB) on each node on a network. PHB describes the externally visible behaviors of a DS node when being used for data stream aggregation. Currently, (IETF) defines three standard PHBs: expedited forwarding (EF), assured forwarding (AF), and best-effort (BE).


SVLAN Priority Processing

The MA5616 processes the outer VLAN priority in one of the following modes:

·         Trusting the user CoS

Sets the outer VLAN priority of a service flow as the user-side VLAN priority.

·         Trusting the user ToS

Sets or maps the outer VLAN priority of a service flow to the ToS priority of a user-side IP packet.

·         Trusting the local priority

Specifies the outer VLAN priority of a service flow.

Upstream packets support the three priority processing modes, while downstream packets support only trusting the user CoS and trusting the local priority.


CVLAN Priority Processing

When a VLAN is a QinQ VLAN, the inner VLAN is the user-side VLAN and the priority remains unchanged.

When a VLAN is a stacking VLAN, the priority of the inner VLAN is configurable. If the priority of the inner VLAN is not configured, the default value (priority 0) is used.


We see these details in the traffic table IP configuration:


huawei(config)#traffic table ip index 33 name huawei cir 3333 cbs 10240 pir 4444 pbs 20480 priority user-cos 7 priority-policy local-Setting


Setting priority in VLAN or for a madia or signaling packet:


huawei(config)#vlan priority

{ vlanid<U><1,4093> }:1

{ priority<U><0,7> }:0

{ <cr>|force<K> }:


huawei(config-voip)#qos vlan                                                    

{ media<K>|signaling<K> }:media                                                

{ dhcp<K>|ip-address<I><X.X.X.X> }:10.10.10.1                                          

{ priority<K> }:priority                                                        

{ vlan-priority<U><0,7> }:5 



Thanks for your reading.

Good post
View more
  • x
  • convention:

user_3015189
user_3015189 Created Apr 11, 2021 19:15:19 (0) (0)
Thanks for your time  
Thanks for sharing!!
View more
  • x
  • convention:

Great post. Thank you, my friend!!
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Good post! Thank you for sharing!
View more
  • x
  • convention:

Great share
View more
  • x
  • convention:

Precious
Moderator Created Dec 25, 2021 04:58:53

good sharing about Priority Processing, Thanks
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.