R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

44
Examples
# Enable the device to request its peer for the DNS server IP address actively through interface Serial
2/0/1.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] ppp ipcp dns request
ppp ipcp remote-address forced
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.
Syntax
ppp ipcp remote-address forced
undo ppp ipcp remote-address forced
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.
Views
Interface view
Default command level
2: System level
Usage guidelines
To disable the peer from using a locally configured IP address, configure the ppp ipcp remote-address
forced command.
Examples
# Configure an optional IP address 10.0.0.1 on interface Serial 2/0/1 for the peer.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] remote address 10.0.0.1
# Configure IP address 10.0.0.1 on interface Serial 2/0/1 for the peer and assign the IP address to the
peer by force.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] remote address 10.0.0.1
[Sysname-Serial2/0/1] ppp ipcp remote-address forced
Related commands
remote address