H3C Technologies H3C SR8800 User Manual
Page 34

26
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Assign a username to the CHAP
supplicant.
ppp chap user username
The username you assign to
the supplicant here must be
the same as the local
username you assign to the
supplicant on the
authenticator.
4.
Create a local user account for the
authenticator and set the password.
5.
Return to system view:
quit
6.
Create a local user account
and enter local user view:
local-user username
7.
Set the password:
password { cipher | simple }
password
8.
Configure the service type of
the local user as PPP:
service-type ppp
The password of the
authenticator user must be
the same as that of the
supplicant user.
NOTE:
•
For more information about local user configuration, see
Security Configuration Guide.
•
If the authenticator name is configured, do not configure the ppp chap password command on the
interface that connects the supplicant. Otherwise, the authentication may fail.
Configuring CHAP authentication when no authenticator name is configured
1.
Configuring the authenticator
To configure the authenticator:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the local router to
authenticate the peer using CHAP.
ppp authentication-mode chap
[ [ call-in ] domain isp-name ]
By default, PPP
authentication is not
performed.
4.
Return to system view.
quit
N/A
5.
Create a local user account for the
supplicant and enter local user
view.
local-user username
N/A
6.
Configure the password for the
local user.
password { cipher | simple }
password
N/A
7.
Configure the service type of the
local user as PPP.
service-type ppp
N/A
8.
Return to system view.
quit
N/A
- H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module