ppp chap user
Syntax
ppp chap user username
undo ppp chap user
View
Synchronous serial interface view
Default level
2: System level
Parameters
username: Username for CHAP authentication, a string of 1 to 80 characters, which is the one sent to the
peer router for the local router to be authenticated.
Description
Use the ppp chap user command to set the username for CHAP authentication.
Use the undo ppp chap user command to cancel the configuration.
By default, the username for CHAP authentication is null.
To pass CHAP authentication, the username/password of one side must be the local
username/password of the peer.
Related commands: ppp authentication-mode.
Examples
# Configure the username for CHAP authentication as Root on Serial 4/1/9/2:0.
<Sysname> system-view
[Sysname] interface Serial 4/1/9/2:0
[Sysname-Serial4/1/9/2:0] ppp chap user Root
ppp ipcp remote-address forced
Syntax
ppp ipcp remote-address forced
undo ppp ipcp remote-address forced
View
Synchronous serial interface view
Default level
2: System level
Parameters
None
Description
Use the ppp ipcp remote-address forced command to configure a router to assign IP addresses to the
peer by force. This command also disables the peer from using locally configured IP addresses.
32