R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide
47
remote address
Use remote address to set the IP address to be assigned to the peer device, or to specify the address pool
used for assigning an IP address to the peer device.
Use undo remote address to cancel the IP address configured to be assigned to the peer device.
Syntax
remote address { ip-address | pool [ pool-number ] }
undo remote address
Default
An interface does not assign IP addresses to the peer device.
Views
Interface view
Default command level
2: System level
Parameters
ip-address: IP address to be assigned to the peer device.
pool [ pool-number ]: Specifies the number of the address pool used for assigning an IP address to the
peer. The pool-number argument ranges from 0 to 99 and defaults to 0.
Usage guidelines
The remote address command can be used when the local device is configured with an IP address, but
the peer has no IP address. To enable the peer device to accept the IP address assigned to it by the local
device, you must configure the ip address ppp-negotiate command on the peer device in addition to
configuring the remote address command on the local device.
The IP address assigned to the peer device by the local device is not mandatory on the peer device, or
the peer device can still use a locally configured IP address even if the local device assigned one to it. To
make the IP address assigned by the local device mandatory, you must configure the ppp ipcp
remote-address forced command.
After you use the remote address command to assign an IP address for the peer device, you cannot
configure the remote address/undo remote address command for the peer again unless the peer
releases the assigned IP address. Shut down the port to release the assigned IP address before you
configure the remote address/undo remote address command for the peer. However, after you use the
command to assign an IP address to the peer from the address pool of the specified domain through
AAA authentication, you can configure the command for the peer again. In this case, the original
assigned IP address can still work, and the newly assigned IP address is used when the original one is
released or used by a new PPP access.
This command does not take effect until the next IPCP negotiation. To make the remote address command
take effect, configure the remote address command before the ip address command.
Examples
# Specify the IP address to be assigned to the peer device through interface Serial 2/0/1 as 10.0.0.1.
<Sysname> system-view
[Sysname] interface serial 2/0/1
[Sysname-Serial2/0/1] remote address 10.0.0.1










