33
Use the
undo ppp ipcp remote-address
forced
command to cancel the configuration.
By default, the peer can use locally configured IP address in PPP IPCP negotiation, in other words, a
router assigns an IP address to its peer when the latter requests explicitly. It does not assign IP addresses
to the peer when the latter already has IP addresses configured.
To disable the peer from using locally configured IP addresses, execute the
ppp ipcp remote-address
forced
command on the local interface.
Related commands:
remote address
.
Examples
# Configure an optional IP address 10.0.0.1 on interface Serial 4/1/9/1:0 for the peer.
<Sysname> system-view
[Sysname] interface Serial 4/1/9/1:0
[Sysname-Serial4/1/9/1:0] remote address 10.0.0.1
# Configure IP address 10.0.0.1 on interface Serial 4/1/9/2:0 for the peer and assign the IP address
to the peer by force.
<Sysname> system-view
[Sysname] interface Serial 4/1/9/2:0
[Sysname-Serial4/1/9/2:0] remote address 10.0.0.1
[Sysname-Serial4/1/9/2:0] ppp ipcp remote-address forced
ppp pap local-user
Syntax
ppp
pap local-user
username
password
{
cipher
|
simple
}
password
undo
ppp
pap local-user
View
Synchronous serial interface view
Default level
2: System level
Parameters
username
: Username of the local router for PAP authentication, a string of 1 to 80 characters.
cipher
: Displays the password in cipher text.
simple
: Displays the password in plain text.
password
: Password of local router for PAP authentication, a case-sensitive string of 1 to 48 characters.
When the
simple
keyword is specified, provide this argument in plain text. When the
cipher
keyword is
specified, provide this password in either cipher text or plain text. When provided in plain text, the
password can contain no more than 48 characters (such as
aabbcc
); When provided in cipher text, the
password must be fixed to 24 or 64 characters, such as
_(TT8F]Y\5SQ=^Q`MAF4<1!! and
VV-F]7R%,TN$C1D*)O<-;<IX)aV\KMFAM(0=0\)*5WWQ=^Q`MAF4<<"TX$_S#6.N.
Description
Use the
ppp pap local-user
command to set the local username and password for PAP authentication.
Use the
undo ppp pap local-user
command to cancel the local username and password configured.
By default, the username and password for PAP authentication are not set.