Configuration procedure, Configuring pap authentication, Configuring chap authentication – H3C Technologies H3C SecPath F1000-E User Manual

Page 162

Advertising
background image

137

Figure 73 Network diagram

Configuration procedure

Configuring PAP authentication

1.

Configure Router as the PPPoE server:
# Add a PPPoE user.

<Router> system-view

[Router] local-user user2

[Router-luser-user2] password simple hello

[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 pap

[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:

<SecPath> 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 pap local-user user2 password simple hello

[SecPath-Dialer1] quit

# Configure the PPPoE session.

[SecPath] interface GigabitEthernet 0/1

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

Configuring CHAP authentication

1.

Configure Router as the PPPoE server:
# Add a PPPoE user.

<Router> system-view

[Router] local-user user2

[Router-luser-user2] password simple hello

Advertising