Setting the maximum number of PPPoE sessions
PPPoE can establish a session when none of the following limits are reached:
Limit for a user on an interface.
Limit for a VLAN on an interface.
Limit on an interface.
Limit on a card. (Distributed devices in standalone or IRF mode.)
Limit on an IRF member device. (Centralized devices in IRF mode.)
Limit on a device. (Centralized devices in standalone mode.)
New maximum number settings apply only to subsequently established PPPoE sessions.
The maximum number of PPPoE sessions supported by a device varies by license or device model.
The maximum number of PPPoE sessions set for a device cannot be greater than the maximum number of PPPoE sessions supported by the device. (Centralized devices in standalone mode.)
The total maximum number of PPPoE sessions set for all cards or IRF member devices cannot be greater than the maximum number of PPPoE sessions supported by the device. (Distributed devices in IRF mode/centralized devices in IRF mode.)
To configure the maximum number of PPPoE sessions:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 3 Ethernet interface/subinterface, Layer 3 virtual Ethernet interface/subinterface, VLAN interface, Layer 3 aggregate interface/subinterface, VE-L3VPN interface/subinterface, or EFM interface/subinterface view. | interface interface-type interface-number | The PPPoE server is enabled on the interface. |
3. Set the maximum number of PPPoE sessions on an interface. | pppoe-server session-limit number | By default, the number of PPPoE sessions on an interface is not limited. |
4. Set the maximum number of PPPoE sessions for a VLAN on an interface. | pppoe-server session-limit per-vlan number | By default, the number of PPPoE sessions for a VLAN on an interface is not limited. |
5. Set the maximum number of PPPoE sessions for a user on an interface. | pppoe-server session-limit per-mac number | By default, a user is allowed to create a maximum of 100 PPPoE sessions. |
6. Return to system view. | quit | N/A |
7. Set the maximum number of PPPoE sessions on a device (centralized devices in standalone mode). | pppoe-server session-limit total number | By default, the number of PPPoE sessions on a device is not limited. |
8. Set the maximum number of PPPoE sessions on the specified card (distributed devices in standalone mode). | pppoe-server session-limit slot slot-number total number | By default, the number of PPPoE sessions on a card is not limited. |
9. Set the maximum number of PPPoE sessions on an IRF member device (centralized devices in IRF mode). | pppoe-server session-limit slot slot-number total number | By default, the number of PPPoE sessions on an IRF member device is not limited. |
10. Set the maximum number of PPPoE sessions on a card of an IRF member device (distributed devices in IRF mode). | pppoe-server session-limit chassis chassis-number slot slot-number total number | By default, the number of PPPoE sessions on a card is not limited. |