514
C
31: PPP
HAPTER
AND
Parameter
Description
Example
ppp ipcp remote-address forced
Syntax
View
Parameter
Description
Related command:
MP C
C
ONFIGURATION
OMMANDS
None
Use the
ppp ipcp dns request
for the DNS server address actively through a port.
Use the
undo ppp ipcp dns request
By default, a device does not request its peer for the DNS server address actively.
You can configure a device to request its peer (especially in cases where a device is
connected to the operator's access server through a dialup link) for the DNS server
address during PPP negotiation, after which domain names can be resolved on the
device.
n
You can check the DNS server address of a port by displaying the information
about the port.
# Enable the device to request its peer for the DNS server address actively through
Serial 2/0 interface.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp ipcp dns request
ppp ipcp remote-address forced
undo ppp ipcp remote-address forced
Interface view
None
Use the
ppp ipcp remote-address forced
self-configured IP address, but have to use the one allocated by the local device.
Use the
undo ppp ipcp remote-address forced
feature.
By default, the peer can use its self-configured IP address in PPP IPCP negotiation.
The peer can request the local device for an address or use a fixed IP address
configured by itself
If you do not want the peer to use self-configured IP address, you must configure
the ppp ipcp remote-address forced command on the local interface.
remote address.
command to enable a device to request its peer
command to restore the default.
command to forbid the peer to use
command to cancel this