R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

20
An interface configured with the remote address command forcibly assigns an IP address to the peer. If
the peer is not configured with the ip address ppp-negotiate command but configured with an IP address,
it does not accept the assigned IP address. This leads to an IPCP negotiation failure.
The remote address command does not take effect until the next IPCP negotiation. To make the
configuration of the remote address command take effect, configure this command before the ip address
command, which triggers IPCP negotiation. If you configure the remote address command after the ip
address command, the server assigns an IP address to the client during the next IPCP negotiation.
After you use the remote address command to assign an IP address to the client, you can configure the
remote address command again or the undo remote address command for the peer. However, the new
configuration does not take effect until the next IPCP negotiation.
Examples
# Specify the IP address to be assigned to the client as 10.0.0.1 on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] remote address 10.0.0.1
# Configure Serial 2/1/0 to assign an IP address from the address pool aaa to the client.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] remote address pool aaa
Related commands
ip address ppp-negotiate
ip pool
reset ppp compression iphc
Use reset ppp compression iphc to clear IP header compression statistics.
Syntax
reset ppp compression iphc [ interface interface-type interface-number ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do not
specify an interface, this command clears IP header compression statistics on all interfaces.
Examples
# Clear IP header compression statistics on all interfaces.
<Sysname> reset ppp compression iphc
Related commands
display ppp compression iphc