
281
Setting the maximum number of PADI packets that the
device can receive per second
When device reboot or version update is performed, the burst of online requests might affect the
device performance. To avoid device performance degradation and make sure the device can
process PADI packets correctly, use this feature to adjust the PADI packet receiving rate limit.
This feature is only supported by CSPEX cards.
To set the maximum number of PADI packets that the device can receive per second:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the maximum number of
PADI packets that the device
can receive per second.
In standalone mode:
pppoe-server padi-limit slot
slot-number number
In IRF mode:
pppoe-server padi-limit chassis
chassis-number slot slot-number
number
The default settings vary by MPU
model, as shown in
.
Table 16 Default settings for the PADI packet receiving rate limit
MPU model
PADI packet receiving rate limit
CSR07SRPUD3 500
Other MPUs
200
Configuring PPPoE user blocking
About PPPoE user blocking
You can use this feature to prevent multiple PPPoE users from frequently coming online and going
offline or prevent protocol packet attacks. After this feature is enabled, users who performs the
following operations for the specified number of times within a period will be blocked:
•
Come online.
•
Go offline.
•
Send PPPoE connection requests.
Packets from blocked users will be discarded during the blocking period, and will be processed after
the blocking period expires.
Restrictions and guidelines for PPPoE user blocking configuration
•
If you enable this feature in system view, the feature applies to all PPPoE users.
•
If you enable this feature in interface view, the feature applies to PPPoE users accessing the
interface.
•
If you execute this command in both system view and interface view, a user is monitored by
blocking conditions in both views. When the user meets the blocking conditions in any view first,
the user is blocked by the blocking settings in the view.