Configuring a PPPoE session

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a VT interface and enter VT interface view.

interface virtual-template number

N/A

3. Set PPP parameters.

See "Configuring PPP."

If authentication is needed, use the PPPoE server as the authenticator.

4. Enable MRU verification.

ppp lcp echo mru verify [ minimum value ]

By default, MRU verification is disabled.

5. Return to system view.

quit

N/A

6. Enter Layer 3 Ethernet interface/subinterface, VLAN interface, Layer 3 aggregate interface/subinterface, or L3VE interface/subinterface view.

interface interface-type interface-number

N/A

7. Enable the PPPoE server on the interface and bind this interface to the specified VT interface.

pppoe-server bind virtual-template number

By default, the PPPoE server is disabled on the interface.

8. (Optional.) Configure an access concentrator (AC) name for the PPPoE server.

pppoe-server tag ac-name name

By default, the AC name for the PPPoE server is the device name.

PPPoE clients can choose a PPPoE server according to the AC name. The device does not support this feature.

9. (Optional.) Enable the PPPoE server to support the ppp-max-payload tag and specify a range for the PPP maximum payload.

pppoe-server tag ppp-max-payload [ minimum minvalue maximum maxvalue ]

By default, The PPPoE server does not support the ppp-max-payload tag.

10. (Optional.) Set a service name for the PPPoE server

pppoe-server tag service-name name

By default, the PPPoE server does not have a service name.

11. (Optional) Set the response delay time for user access.

pppoe-server access-delay delay-time

By default, no response delay time is set.

12. Return to system view.

quit

N/A

13. Configure the PPPoE server to perform authentication, authorization, and accounting for PPP users.

See Security Configuration Guide.

N/A