Got it

GPON QoS

Created: Oct 12, 2019 22:44:48Latest reply: Oct 16, 2019 01:40:54 4226 6 0 0 0
  HiCoins as reward: 5 (problem unresolved)

Hello!


I'm starting to make bandwith limitation in OLT MA5680t for a GPON network using traffic tables in service ports. All is working fine at the moment, but I would like to know if its possible to priorizate some kind of traffic (VOIP for example).

I want to do this because we are using only 2 service ports per ONU (managment and internet), and VOIP service it's carried by the internet service port, so, if a customer with a 10Mbp/s plan it's using 100% of bandwith, I would like to priorizate VOIP traffic to improve voice quality and avoid packet loss in a saturation.

Another question is, it is possible to "exclude" some kind of traffic of the traffic table bandwith control? For example, we have Netflix CDNs, and we don't want to control this bandwith, improving performance for our clients.


Thanks in advance

Featured Answers

Recommended answer

Neil_Tong
Created Oct 13, 2019 02:30:33

Hi,
GPON series products include the OLTs at the central office and the ONUs at the user side. Through the GPON access, the services such as the VoIP, Internet, VOD, IPTV, CATV, and E1 private line services can be provided concurrently over a single optical fiber. The services like VoIP require the real-time performance, which imposes high requirements on the delay of the packet transmission. If the delay of the packet transmission is too long, the VoIP service is unacceptable to the users. Comparatively, email and FTP services are delay-insensitive. To support voice, video, and data services that have different service requirements, the GPON system must be able to differentiate communication types and provide relevant services accordingly. By adopting the quality of service (QoS) technology, the GPON system can solve such problems to the full extent, thus improving the satisfaction of the user perception.
Triple play is a service provisioning mode in which integrated services can be provided to a user. Currently, the prevailing triple play application is the integrated high-speed Internet service, VoIP service, and IPTV service.

Configuring the VoIP Service

Step 1: Create a VLAN.
For example: MA5600T(config)#vlan 1001 smart
Step 2: Add an upstream port.
For example: MA5600T(config)#port vlan 1001 0/20 0
Step 3: Configure a traffic profile.
For example: MA5600T(config)#traffic table ip index 11 cir 512 priority 6 priority-policy local-Setting
MA5600T(config)#traffic table ip index 12 cir 512 user-cos 6 priority-policy tag-in-package
Note: The voice service requires stable symmetrical upstream and downstream rates and high priority.
Step 4: Configure a DBA profile.
For example: MA5600T(config)#dba-profile add profile-id 11 type1 fix 512
Step 5: Bind the DBA profile.
For example: MA5600T(config-if-gpon-0/2)#tcont bind-profile 0 0 2 profile-id 11
Note: Bind a fixed bandwidth of 512 kbit/s to VoIP T-CONT 2.
Step 6: Specify VLANs for ONT ports.
For example: MA5600T(config-if-gpon-0/2)#ont port vlan 0 0 iphost 101
MA5600T(config-if-gpon-0/2)#ont port native-vlan 0 0 iphost vlan 101
Step 7: Add a GEM port.
For example: MA5600T(config-if-gpon-0/2)#gemport add 0 gemportid 151 eth encrypt on
Step 8: Bind the GEM port to the ONT T-CONT.
For example: MA5600T(config-if-gpon-0/2)#ont gemport bind 0 0 151 2 gemport-car 512 512
Step 9: Create a mapping between the GEM port and the traffic stream.
For example: MA5600T(config-if-gpon-0/2)#ont gemport mapping 0 0 151 vlan 101
Step 10: Add a service port.
For example: MA5600T(config)#service-port vlan 1001 gpon 0/2/0 gemport 151 multi-service user-vlan 101 rx-cttr 12 tx-cttr 11
Step 11: Configure an ONT.
Note: Currently, two software versions of the HG850 support MGCP and SIP respectively (V100R001C02B028 supports SIP and V100R001C02B031 supports MGCP). Select the configuration according to the actual environment.
For example: MA5600T(config)#interface vlanif 1001
MA5600T(config-if-vlanif1001)#ip address 192.168.100.100 255.255.255.0
telnet 192.168.100.1   Default user name/password: root/admin
Note: Configure the L3 interface address for VLAN 1001 to be in the same subnet of the default management address of the HG850.
MGCP:                         
TERMINAL>enable                                                                 
TERMINAL#configure   terminal        
TERMINAL(config)#ipaddress static 190.1.1.201 255.255.255.0 190.1.1.1                                                                                                
TERMINAL(config)#mgcp mg-domain-name  iad-2.com
TERMINAL(config)#mgcp mg-port 2427
TERMINAL(config)#mgcp mgc 1 address 190.1.1.1 port 2727
TERMINAL(config)#mgcp user 0 1 aaln 0
Note: The first "0" indicates "user start endpoint number", and the second "1" indicates "user end endpoint number", corresponding to two POTS ports of the HG850. Here, two VoIP users are added. The actual project is configured according to the service provisioning principles.
SIP:
TERMINAL(config)#ip address static 190.1.1.201 255.255.255.0 190.1.1.1 
TERMINAL(config)#sip server 2 address 190.1.1.1  port 5060
Note: Configure the IP address of the server to 190.1.1.1 and the port ID to 2727.
TERMINAL(config)#sip user 0 id 88889999 password abcxyz name Jack
Note: Configure the SIP user ID of port 0 to 88889999, authentication password to abcxyz, and user name to Jack.
Step 12: Save the data.
 huawei(config)#save
Remarks: For the QoS traffic classification, the principle of single T-CONT/single GEM port for single service is adopted in this case. According to the VLAN ID mapping mode, different services can be mapped to different GEM ports based on the VLAN IDs contained in the packets, thus implementing the rate limitation and scheduling based on the traffic stream.
The rate limitation and priority strategy are implemented on the device near the source of the traffic. Therefore, in this case, the rate of the upstream traffic is limited by the gemport-car on the ONT, and the rate of the downstream traffic is limited by the limitation on the account performed by the BRAS. If no BRAS exists, the rate is controlled by the traffic table.
For the priority strategy, it is recommended that you use the method in this case. That is, with the traffic table, the priority of the upstream traffic is re-marked, and the priority of the downstream traffic adopts the CoS copy. In this case, the queue strategy and queue depth require no modification. The scheduling strategy adopts PQ+WRR. After the scheduling strategy is configured, the configuration takes effect on the GPBC board and the SCUL control board of the OLT.
View more
  • x
  • convention:

user_4237671
user_4237671 Created Nov 24, 2021 14:03:25 (0) (0)
 
All Answers
Hi,
GPON series products include the OLTs at the central office and the ONUs at the user side. Through the GPON access, the services such as the VoIP, Internet, VOD, IPTV, CATV, and E1 private line services can be provided concurrently over a single optical fiber. The services like VoIP require the real-time performance, which imposes high requirements on the delay of the packet transmission. If the delay of the packet transmission is too long, the VoIP service is unacceptable to the users. Comparatively, email and FTP services are delay-insensitive. To support voice, video, and data services that have different service requirements, the GPON system must be able to differentiate communication types and provide relevant services accordingly. By adopting the quality of service (QoS) technology, the GPON system can solve such problems to the full extent, thus improving the satisfaction of the user perception.
Triple play is a service provisioning mode in which integrated services can be provided to a user. Currently, the prevailing triple play application is the integrated high-speed Internet service, VoIP service, and IPTV service.

Configuring the VoIP Service

Step 1: Create a VLAN.
For example: MA5600T(config)#vlan 1001 smart
Step 2: Add an upstream port.
For example: MA5600T(config)#port vlan 1001 0/20 0
Step 3: Configure a traffic profile.
For example: MA5600T(config)#traffic table ip index 11 cir 512 priority 6 priority-policy local-Setting
MA5600T(config)#traffic table ip index 12 cir 512 user-cos 6 priority-policy tag-in-package
Note: The voice service requires stable symmetrical upstream and downstream rates and high priority.
Step 4: Configure a DBA profile.
For example: MA5600T(config)#dba-profile add profile-id 11 type1 fix 512
Step 5: Bind the DBA profile.
For example: MA5600T(config-if-gpon-0/2)#tcont bind-profile 0 0 2 profile-id 11
Note: Bind a fixed bandwidth of 512 kbit/s to VoIP T-CONT 2.
Step 6: Specify VLANs for ONT ports.
For example: MA5600T(config-if-gpon-0/2)#ont port vlan 0 0 iphost 101
MA5600T(config-if-gpon-0/2)#ont port native-vlan 0 0 iphost vlan 101
Step 7: Add a GEM port.
For example: MA5600T(config-if-gpon-0/2)#gemport add 0 gemportid 151 eth encrypt on
Step 8: Bind the GEM port to the ONT T-CONT.
For example: MA5600T(config-if-gpon-0/2)#ont gemport bind 0 0 151 2 gemport-car 512 512
Step 9: Create a mapping between the GEM port and the traffic stream.
For example: MA5600T(config-if-gpon-0/2)#ont gemport mapping 0 0 151 vlan 101
Step 10: Add a service port.
For example: MA5600T(config)#service-port vlan 1001 gpon 0/2/0 gemport 151 multi-service user-vlan 101 rx-cttr 12 tx-cttr 11
Step 11: Configure an ONT.
Note: Currently, two software versions of the HG850 support MGCP and SIP respectively (V100R001C02B028 supports SIP and V100R001C02B031 supports MGCP). Select the configuration according to the actual environment.
For example: MA5600T(config)#interface vlanif 1001
MA5600T(config-if-vlanif1001)#ip address 192.168.100.100 255.255.255.0
telnet 192.168.100.1   Default user name/password: root/admin
Note: Configure the L3 interface address for VLAN 1001 to be in the same subnet of the default management address of the HG850.
MGCP:                         
TERMINAL>enable                                                                 
TERMINAL#configure   terminal        
TERMINAL(config)#ipaddress static 190.1.1.201 255.255.255.0 190.1.1.1                                                                                                
TERMINAL(config)#mgcp mg-domain-name  iad-2.com
TERMINAL(config)#mgcp mg-port 2427
TERMINAL(config)#mgcp mgc 1 address 190.1.1.1 port 2727
TERMINAL(config)#mgcp user 0 1 aaln 0
Note: The first "0" indicates "user start endpoint number", and the second "1" indicates "user end endpoint number", corresponding to two POTS ports of the HG850. Here, two VoIP users are added. The actual project is configured according to the service provisioning principles.
SIP:
TERMINAL(config)#ip address static 190.1.1.201 255.255.255.0 190.1.1.1 
TERMINAL(config)#sip server 2 address 190.1.1.1  port 5060
Note: Configure the IP address of the server to 190.1.1.1 and the port ID to 2727.
TERMINAL(config)#sip user 0 id 88889999 password abcxyz name Jack
Note: Configure the SIP user ID of port 0 to 88889999, authentication password to abcxyz, and user name to Jack.
Step 12: Save the data.
 huawei(config)#save
Remarks: For the QoS traffic classification, the principle of single T-CONT/single GEM port for single service is adopted in this case. According to the VLAN ID mapping mode, different services can be mapped to different GEM ports based on the VLAN IDs contained in the packets, thus implementing the rate limitation and scheduling based on the traffic stream.
The rate limitation and priority strategy are implemented on the device near the source of the traffic. Therefore, in this case, the rate of the upstream traffic is limited by the gemport-car on the ONT, and the rate of the downstream traffic is limited by the limitation on the account performed by the BRAS. If no BRAS exists, the rate is controlled by the traffic table.
For the priority strategy, it is recommended that you use the method in this case. That is, with the traffic table, the priority of the upstream traffic is re-marked, and the priority of the downstream traffic adopts the CoS copy. In this case, the queue strategy and queue depth require no modification. The scheduling strategy adopts PQ+WRR. After the scheduling strategy is configured, the configuration takes effect on the GPBC board and the SCUL control board of the OLT.
View more
  • x
  • convention:

user_4237671
user_4237671 Created Nov 24, 2021 14:03:25 (0) (0)
 
Posted by Neil_Tong at 2019-10-13 02:30 Hi,GPON series products include the OLTs at the central office and the ONUs at the user side. Throug ...
Hi, thanks for your answer!

My problem is that I cannot do multiple service ports because I can only assign one IP per client. If I do for example:

1 service port for VOIP
1 service port for INTERNET
1 service port for IPTV

I will need 3 IP addresses. Is there any way to make different service ports per service, but keeping only one "WAN" port on ONT?
View more
  • x
  • convention:

Hi, for your another question that you mentioned earlier:

Priority processing is the basis for equipment or a network to schedule packets. When congestion occurs, equipment or a network schedules packets based on priority.

A priority processing policy is configured in a traffic profile for equipment.

Procedure

  1. Run the traffic table ip command to configure priority processing.

    huawei(config)#traffic table ip index 11
    cir<K>|name<K> }:cir
    { cir<U><64,10240000>|off<K> }:off
    { color-policy<K>|priority<K> }:priority   
    { prival<U><0,7>|user-cos<K>|user-inner-cos<K>|user-tos<K> }:user-cos
    { defaultval<U><0,7>|mapping-profile<K> }:3   
    { inner-priority<K>|priority-policy<K> }:inner-priority   
    { inner-prival<U><0,7>|user-cos<K>|user-inner-cos<K>|user-tos<K> }:user-inner-cos
    { defaultval<U><0,7>|mapping-profile<K> }:3   
    { priority-policy<K> }:priority-policy     
    { priority-policy<E><Local-Setting,Tag-In-Package,Tag-In-Ingress-Package> }:tag-
    in-package        
                      
      Command:                                                                      
              traffic table ip index 11 cir off priority user-cos 3 inner-priority u
    ser-inner-cos 3 priority-policy tag-in-package                                  
      Create traffic descriptor record successfully                                 
      ------------------------------------------------                              
      TD Index             : 11                                                     
      TD Name              : ip-traffic-table_11                                    
      Priority             : 3                                                      
      Copy Priority        : user-cos                                               
      Mapping Index        : 0                                                      
      CTAG Mapping Priority: user-inner-cos                                         
      CTAG Mapping Index   : 0                                                      
      CTAG Default Priority: 3                                                      
      Priority Policy      : tag-pri                                                
      CIR                  : off                                                    
      CBS                  : off                                                    
      PIR                  : off                                                    
      PBS                  : off                                                    
      Color policy         : dei                                                    
      Referenced Status    : not used                                               
      ------------------------------------------------  

    The parameters for this command are as follows:

    • priority: specifies the S-VLAN priority policy, including the priority source and queue scheduling policy. The upstream priority determines which queue that upstream packets enter. Valid values for this parameter are as follows:
    • prival: specifies a priority for upstream and downstream packets. When priority-policy is set to Local-Setting, the priority is determined by the value of Local-Setting.
    • user-cos: copies the priority from the outer 802.1q tag of an incoming packet as the S-VLAN priority.
    • user-inner-cos: copies the priority from the inner 802.1q tag of an incoming packet as the S-VLAN priority.
    • user-tos: copies the priority from the IP ToS field of an incoming packet as the S-VLAN priority.
  2. inner-priority: specifies the C-VLAN priority policy. The parameter values are the same as those for the parameter that specifies the S-VLAN priority policy. C-VLAN and S-VLAN can be set independently. Currently, only the SPUA board supports setting of the C-VLAN priority.
  3. priority-policy: specifies the priority policy for queue scheduling. The queue scheduling priority of a packet is generally the same as the priority of the packet. If queue scheduling and packet priorities are different, the queue scheduling priority must be manually specified. Valid values for this parameter are as follows:
    • Local-Setting: uses a manually specified priority as the queue scheduling priority.
    • Tag-In-Package: uses the priorities of outgoing packets (after VLAN translation) as the queue scheduling priority.
    • Tag-In-Ingress-Package: uses the priorities of incoming packets (before VLAN translation) as the queue scheduling priority for the downstream direction.
icon-note.gif NOTE:
For details on this command, see "QoS Configuration" in "QoS Command" of Command Reference.

Run the display traffic table ip command to verify the configuration result.

Follow-up Procedure

After configuring a traffic profile, run the service-port command to bind service flows to the profile to ensure that different priority processing policies are applied to different types of traffic.

View more
  • x
  • convention:

Posted by GianMuzio at 2019-10-14 16:04Hi, thanks for your answer!My problem is that I cannot do multiple service ports because I can onl ...

On the OLT, different VLANs can distinguish different services. Therefore, you can bind multiple VLANs to different service types on the OLT and then configure the corresponding parameters on the ONT.
For detailed configuration methods, please create an eCare ticket and contact global TAC or local TAC for remote guidance.
thanks!
View more
  • x
  • convention:

user_4237671
user_4237671 Created Nov 24, 2021 14:03:36 (0) (0)
 

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.