Hello,
Today I am going to share with you this section introduces the flow rate limiting configuration method based on EPON services, and provides different application service quality for various EPON access services.
Background Information
EPON access mode provides a variety of traffic rate limiting methods. You can use IP traffic templates
and ACL rules to limit the upstream and downstream traffic rates. You can also use DBA templates to
control the upstream bandwidth of the ONT and flow control templates to control the downstream
bandwidth of the ONT.
The traffic rate limit of EPON service can be carried out simultaneously on OLT and ONT. When
multiple traffic rate limits exist on the system at the same time, the configured minimum rate shall
prevail.
Steps
The traffic rate on the OLT is limited.
There are two ways to limit the traffic rate by configuring the IP traffic template. They are: traffic
management based on services flow, and traffic management based on port + CoS.
When you configure ACL to limit the rate of traffic, you can limit the rate of traffic that matches ACL
rules: Configuring to limit traffic that matches ACL rules.
5680t, light cat speed limit -1650705-1 Description:
The EPBA board does not support traffic rate limit on the OLT.
The traffic rate on the ONT is limited.
The rate of upstream packets is limited.
In EPON mode, use the ont port attribute portid ontid eth ont-portid up-policing traffic-table-
index command to limit the rate of upstream packets on the ETH port.
5680t, light cat speed limit-1650705-2 Description:
This command can be executed only with the support of the ONT version. For details, please refer to the
manual of the ONT device.
The DBA template is used to realize the dynamic allocation of ONT upstream bandwidth and improve
upstream bandwidth utilization.
1- Use the dba-profile add command to add a DBA template.
There are five types of DBA templates. Generally, high-priority services use Type1 or Type2, and low-
priority services use Type3 or Type4. The characteristics of various types of templates are shown in Table 1.
Table 1 Features of DBA template
Type template | Features |
Type1 | That is, the fixed bandwidth. After binding this type of template, the system will allocate the bandwidth of the specified bandwidth value regardless of whether there is upstream traffic. |
Type2 | That is, bandwidth is guaranteed. After binding this type of template, as long as the upstream traffic does not exceed the specified value, the bandwidth demand can be met. When there is no upstream traffic, no bandwidth is allocated. |
Type3 | That is, a mixture of guaranteed and non-guaranteed bandwidth. This type of template can specify a guaranteed value and a non-guaranteed value. After the system has allocated all the fixed bandwidth and guaranteed bandwidth, if there is remaining bandwidth, the bandwidth can be allocated to the reference. For template users, the bandwidth value does not exceed the non-guaranteed bandwidth. |
Type4 | It means best-effort forwarding. Only a maximum value needs to be specified for this type of template. After binding the template, the priority of obtaining bandwidth is the lowest. When the fixed bandwidth, guaranteed bandwidth, and non-guaranteed bandwidth are all allocated, if there is remaining bandwidth in the system, the bandwidth will be allocated to the users who refer to the template, and the bandwidth value is not Exceeds the specified maximum value. |
Type5 | A mixed type template, the above four types of values need to be specified separately during configuration. |
2- Use the ont-lineprofile epon command to add an ONT line profile and enter the ONT line profile mode.
3- Use the llid command to bind the DBA template.
4- Use the commit command to make the template configuration parameters take effect. This operation must be performed to configure the line template to take effect.
5- Use the ont add command to bind an ONT line profile when adding an ONT.
The rate of downstream packet traffic is limited.
Use the traffic-limit ont command to limit the traffic rate of downstream packets on the specified ONT. For the H801EPBA, H802EPBC and H802EPBD boards, the Shapping function can be used to limit the flow of downlink packets on the ONT, and the packets that exceed the flow limit (that is, the PIR parameters in the flow profile) can be buffered, and when appropriate (for example, , Periodic check) Send out the buffered messages, reduce the discarded messages, and meet the traffic characteristics of the messages.
Use the llid ont-car command to bind a flow control profile to limit the flow rate of downstream packets on the ONT.
In EPON mode, use the ont port attribute portid ontid eth ont-portid ds-policing traffic-table-index command to limit the traffic rate of downstream packets on the ETH port.
5680t, light cat speed limit-1650705-3 Description:
This command can be executed only with the support of the ONT version. For details, please refer to the manual of the ONT device.
Task example
EPON port 0/2/1 is connected to the ONT, and its ID is 1. Ordinary users require high-speed Internet access services with 2M bandwidth.
Use traffic profile 8 to limit the EPON port rate, and the CIR is 2M/s.
Configure DBA profile 10, the type is Type 4, and the maximum upstream bandwidth rate of the ONT is limited to 100 Mbit/s.
Configure flow control profile 20 to limit the maximum downstream bandwidth of the ONT to 100 Mbit/s.
huawei(config)#dba-profile add profile-id 10 type4 max 102400
huawei(config)#traffic table ip index 20 cir 102400 priority 1 priority-policy tag-In-Package
huawei(config)#ont-srvprofile epon profile-id 11
huawei(config-epon-srvprofile-11)#ont-port eth 4 pots 2
huawei(config-epon-srvprofile-11)#port vlan eth 1 10
huawei(config-epon-srvprofile-11)#commit
huawei(config-epon-srvprofile-11)#quit
huawei(config)#ont-lineprofile epon profile-id 5
huawei(config-epon-lineprofile-5)#llid dba-profile-id 10 ont-car 20
huawei(config-epon-lineprofile-5)#commit
huawei(config-epon-lineprofile-5)#quit
huawei(config)#interface epon 0/2
huawei(config-if-epon-0/2)#ont add 1 1 password-auth 0100000001 once-on no-aging
oam ont-lineprofile-id 5 ont-srvprofile-id 11
huawei(config-if-epon-0/2)#quit
huawei(config)#traffic table ip index 8 cir 2048 priority 1 priority-policy tag-In-Package
huawei(config)#service-port 101 vlan 100 epon 0/2/1 ont 1 multi-service
user-vlan 10 inbound traffic-table index 8 outbound traffic-table index 8
You are welcome to leave a message and exchange in the comment area. Thank you!



