beautypg.com

Verification – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 119

background image

109

[AC] local-user user1

[AC-luser-user1] password simple pass1

[AC-luser-user1] service-type ppp

[AC-luser-user1] quit

# Configure virtual-template 1 on the AC.

[AC] interface virtual-template 1

[AC-Virtual-Template1] ppp authentication-mode chap domain system

[AC-Virtual-Template1] ppp chap user user1

[AC-Virtual-Template1] remote address pool 1

[AC-Virtual-Template1] ip address 1.1.1.1 255.0.0.0

[AC-Virtual-Template1] quit

# Configure PPPoE server on the AC.

[AC] interface Vlan-interface1

[AC- Vlan-interface1] pppoe-server bind virtual-template 1

[AC- Vlan-interface1] quit

# Configure local authentication for the users in the default ISP domain system.

[AC] domain system

[AC-isp-system] authentication ppp local

# Add a local IP address pool.

[AC-isp-system] ip pool 1 1.1.1.2 1.1.1.10

Configure MS-CHAP authentication:
# Add a PPPoE user.

system-view

[AC] local-user user1

[AC-luser-user1] password simple pass1

[AC-luser-user1] service-type ppp

[AC-luser-user1] quit

# Configure virtual-template 1 on the AC.

[AC] interface virtual-template 1

[AC-Virtual-Template1] ppp authentication-mode ms-chap domain system

[AC-Virtual-Template1] remote address pool 1

[AC-Virtual-Template1] ip address 1.1.1.1 255.0.0.0

[AC-Virtual-Template1] quit

# Configure the PPPoE server on the AC.

[AC] interface Vlan-interface1

[AC- Vlan-interface1] pppoe-server bind virtual-template 1

[AC- Vlan-interface1] quit

# Configure local authentication for the users in the default ISP domain system.

[AC] domain system

[AC-isp-system] authentication ppp local

# Add a local IP address pool.

[AC-isp-system] ip pool 1 1.1.1.2 1.1.1.10

Verification

After the configuration, the PPPoE clients can access the Internet by using the username user1 and

password pass1 through the AC if they have PPPoE client software installed.