
110
Examples
# Set the username for CHAP authentication as
Root
on interface Dialer 1.
<Sysname> system-view
[Sysname] interface Dialer 1
[Sysname-Dialer1] ppp chap user Root
ppp ipcp remote-address forced
Syntax
ppp ipcp remote-address
forced
undo ppp ipcp remote-address
forced
View
Dialer interface view
Default level
2: System level
Parameters
None
Description
Use
ppp ipcp remote-address forced
to configure a device to assign an IP address to the peer by force.
This command also disables the peer from using a locally configured IP address.
Use
undo ppp ipcp remote-address
forced
to cancel the configuration.
By default, the peer is allowed to use its locally configured IP address. The local end assigns an IP
address to the peer only when being explicitly requested to do so. When the peer has already an IP
address, the local end will not assign one to the peer.
To disable the peer from using a locally configured IP address, perform the
ppp ipcp remote-address
forced
command.
Related commands:
remote address
.
Examples
# Configure an optional IP address 10.0.0.1 on interface Dialer 1 for the peer.
<Sysname> system-view
[Sysname] interface Dialer 1
[Sysname-Dialer1] remote address 10.0.0.1
# Configure IP address 10.0.0.1 on interface Dialer 1 for the peer and assign the IP address to the peer
by force.
<Sysname> system-view
[Sysname] interface Dialer 1
[Sysname-Dialer1] remote address 10.0.0.1
[Sysname-Dialer1] ppp ipcp remote-address forced