beautypg.com

H3C Technologies H3C WA2600 Series WLAN Access Points User Manual

Page 25

background image

5-5

# Add a PPPoE user.

system-view

[RouterA] local-user user2

[RouterA-luser-user2] password simple hello

[RouterA-luser-user2] service-type ppp

[RouterA-luser-user2] quit

# Configure virtual template 1.

[RouterA] interface virtual-template 1

[RouterA-Virtual-Template1] ppp authentication-mode chap

[RouterA-Virtual-Template1] ppp chap user user2

[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0

[RouterA-Virtual-Template1] remote address 1.1.1.2

[RouterA-Virtual-Template1] quit

# Configure the PPPoE server.

[RouterA] interface ethernet 1/0/1

[RouterA-Ethernet1/0/1] pppoe-server bind virtual-template 1

4) Configure AP as the PPPoE client.

system-view

[AP] dialer-rule 1 ip permit

[AP] interface dialer 1

[AP-Dialer1] dialer user user2

[AP-Dialer1] dialer-group 1

[AP-Dialer1] dialer bundle 1

[AP-Dialer1] ip address ppp-negotiate

[AP-Dialer1] ppp chap user user2

[AP-Dialer1] quit

[AP] local-user user2

[AP-luser-user1] password simple hello

[AP-luser-user1] quit

# Configure the PPPoE session.

[AP] interface Vlan-interface 1

[AP-Vlan-interface1] pppoe-client dial-bundle-number 1

This manual is related to the following products: