beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 163

background image

138

[Router-luser-user2] service-type ppp

[Router-luser-user2] quit

# Configure virtual template 1.

[Router] interface virtual-template 1

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

[Router-Virtual-Template1] ppp chap user user1

[Router-Virtual-Template1] ip address 1.1.1.1 255.0.0.0

[Router-Virtual-Template1] remote address 1.1.1.2

[Router-Virtual-Template1] quit

# Configure the PPPoE server.

[Router] interface GigabitEthernet 0/1

[Router- GigabitEthernet 0/1] pppoe-server bind virtual-template 1

2.

Configure SecPath as the PPPoE client:

system-view

[SecPath] dialer-rule 1 ip permit

[SecPath] interface dialer 1

[SecPath-Dialer1] dialer user user2

[SecPath-Dialer1] dialer-group 1

[SecPath-Dialer1] dialer bundle 1

[SecPath-Dialer1] ip address ppp-negotiate

[SecPath-Dialer1] ppp chap user user2

[SecPath-Dialer1] quit

[SecPath] local-user user1

[SecPath-luser-user1] password simple hello

[SecPath-luser-user1] quit

# Configure the PPPoE session.

[SecPath] interface GigabitEthernet 0/1

[SecPath-GigabitEthernet 0/1] pppoe-client dial-bundle-number 1