Hello,
Today, I would like to introduces the configuration method of traffic rate limit based on EPON services, and provides different application service qualities for various EPON access services.
Background Information
In EPON access mode, a variety of traffic rate limiting methods are provided. You can use IP traffic templates and ACL rules to limit the rate of upstream and downstream service flows. You can also use the DBA template to control the upstream bandwidth of the ONT, and use the flow control template to control the downstream bandwidth of the ONT.
The traffic rate limit of the EPON service can be performed on both the OLT and the ONT. When multiple traffic rate limits exist on the system at the same time, the configured minimum rate shall prevail.
Steps
Traffic rate limit on OLT.
There are two ways to limit the traffic rate by configuring an IP traffic template. They are: traffic management based on service flow and traffic management based on port + CoS.
When configuring an ACL to limit the rate of traffic, you can limit the rate of the traffic that matches the ACL rule. For details, see: Configuring Limiting the Traffic That Matches the ACL Rule.
Description:
EPBA boards do not support traffic rate limiting on the OLT.
Traffic rate limit on the ONT.
Traffic rate limit for upstream packets.
In EPON mode, run the ont port attribute portid ontid eth ont-portid up-policing traffic-table-index command to limit the traffic rate of upstream packets on the ETH port.
Description:
This command can only be executed if the ONT version supports it. For details, see the manual of the ONT device.
The DBA template is used to dynamically allocate the upstream bandwidth of the ONT and improve the upstream bandwidth utilization.
1- Use the dba-profile add command to add a DBA profile.
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, fixed bandwidth. After binding this type of template, the system will allocate the bandwidth with the specified bandwidth value regardless of whether there is upstream traffic. |
Type2 | That is, the bandwidth is guaranteed. After binding this type of template, as long as the upstream traffic does not exceed the specified value, the bandwidth requirement 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 allocates all fixed bandwidth and guaranteed bandwidth, if there is remaining bandwidth, it can allocate bandwidth to the reference for the users of the template, the bandwidth value does not exceed the non-guaranteed bandwidth. |
Type4 | Indicates best effort forwarding. This type of template only needs to specify a maximum value. After a template is bound, the priority for obtaining bandwidth is the lowest. After the allocation of fixed bandwidth, guaranteed bandwidth, and unguaranteed bandwidth is completed, if there is remaining bandwidth in the system, the bandwidth will be allocated to the user who refers to the template exceeds the specified maximum value. |
Type5 | A mixed-type template, the values of the above four types need to be specified separately during configuration. |
2- Run 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. You must perform this operation for the configuration related to the line template to take effect.
5- Use the ont add command to bind an ONT line profile when adding an ONT.
Traffic rate limit for downlink packets.
Run the traffic-limit ont command to limit the traffic rate of downlink packets on the specified ONT. For the H801EPBA, H802EPBC and H802EPBD boards, the SHapping function can be used on the ONT to limit the flow of downlink packets, and buffer the packets that exceed the flow limit (that is, the PIR parameter in the flow profile). , periodic check) to send the buffered packets to reduce the discarded packets and satisfy the traffic characteristics of the packets.
Run the llid ont-car command to bind a flow control profile to limit the traffic rate of downlink packets on the ONT.
In EPON mode, run the ont port attribute portid ontid eth ont-portid ds-policing traffic-table-index command to limit the traffic rate of downlink packets on the ETH port.
Description:
This command can only be executed if the ONT version supports it. For details, see the manual of the ONT device.
You are welcome to leave a message and exchange in the comment area. Thank you!



