Setting the maximum number of PPPoE sessions

PPPoE can establish a session when none of the following limits are reached:

New maximum number settings apply only to subsequently established PPPoE sessions.

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, VLAN interface, Layer 3 aggregate interface/subinterface, or L3VE 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 the specified card (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.

8. Set the maximum number of PPPoE sessions on a card of an IRF member device (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.