Configuring PPPoE Server and Client on Huawei Devices
This guide walks through creating an address pool, setting up AAA authentication, defining a virtual template, enabling PPPoE on an interface, and configuring a PPPoE client with dialer rules and credentials on Huawei equipment.
Reading font

First, create an address pool for client IP allocation:
ip pool pool1network 10.1.1.0 mask 255.255.255.0 gateway-list 10.1.1.1Next, configure AAA authentication and a local user for PPP authentication:
authentication-scheme lixin domain huaweiauthentication-scheme lixinlocal-user test@huawei password cipher test local-user test@huawei service-type pppDefine a virtual template that will be bound to the PPPoE server:
interface Virtual-Template1ppp authentication-mode chap domain huawei remote address pool pool1ip address 10.1.1.1 255.255.255.0Enable the PPPoE server on the physical interface:
interface g0/0/0pppoe-server bind Virtual-Template 1On the client side, create a dialer rule to trigger PPP when IP traffic is detected:
dialer-ruledialer-rule 1 ip permitConfigure the dialer interface with PPP settings and user credentials:
interface Dialer0link-protocol pppppp chap user test@huaweippp chap password simple testmtu 1492ip address ppp-negotiatedialer user test@huaweidialer bundle 1Bind the dialer bundle to the physical interface and start the PPPoE client:
interface g0/0/0pppoe-client dial-bundle-number 1 #returnAbout this article
For attribution, corrections or content rights, contact