
C613-50186-01 Rev B
Command Reference for AR2050V
594
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
PPP C
OMMANDS
PEER
DEFAULT
IP
ADDRESS
peer default ip address
Overview
Use this command to set the default IP address assigned to the peer if required for
a given PPP interface.
Use the optional
required
keyword with this command to specify that the peer
must use this address for a given PPP interface, or drop the connection.
Use the
no
variant of this command to remove the previously specified peer
default IP address for a given PPP interface.
Syntax
peer default ip address <
default-ip-address
> [required]
no peer default ip address
Default
No default IP address is configured to be assigned to the peer.
Mode
Interface Configuration for a PPP interface
Examples
To configure the PPP interface
ppp0
to assign the IP address of
192.168.0.1
to
its peer upon request, use the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
peer default ip address 192.168.0.1
To configure the PPP interface
ppp0
to have the default peer IP address of
192.168.0.1
, and be required to use it or drop the connection, use the below
commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
peer default ip address 192.168.0.1
required
To remove the default peer IP address of
192.168.0.1
from the PPP interface
ppp0
, enter the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
no peer default ip address
Parameter
Description
<
default-ip-
address
>
Specify the IPv4 address to be assigned to the peer upon
request.
required
Optionally specify the peer to acknowledge the default IP
address, which requires the peer to use the address or drop the
connection.