
C613-50186-01 Rev B
Command Reference for AR2050V
583
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
PPP C
OMMANDS
IP
ADDRESS
NEGOTIATED
ip address negotiated
Overview
Use this command to obtain an IP address with the peer for a PPP interface via IPCP
(Internet Protocol Control Protocol) address negotiation when configuring a PPP
link for IP traffic.
Use the
no
variant of this command to remove IP address negotiation settings.
Syntax
ip address negotiated [<
default-ip-address
>]
no ip address negotiated
Default
No IP address negotiation with the peer is configured by default.
Mode
Interface Configuration for a PPP interface
Usage
Use this command to enable the device to automatically negotiate an IP address
for a PPP interface, and to enable all remote hosts to access the device using this IP
address. When the peer does not send an IP address via IPCP negotiation, the
specified default IP address will be used.
Examples
To configure the PPP interface
ppp0
to use IPCP to negotiate an IP address for
itself, use the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
ip address negotiated
To configure the PPP interface
ppp0
to a default IP address of
10.9.9.2
, for use
when the peer does not send an IP address via IPCP negotiation, use the below
commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
ip address negotiated 10.9.9.2
To stop the PPP interface
ppp0
from using IPCP to negotiate an IP address for itself,
use the below commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
no ip address negotiated
Parameter
Description
<
default-ip-addr
>
Specify an optional default IP address for use instead of
an IP address assigned from the peer that is otherwise
configured for a PPP interface.