
C613-50186-01 Rev B
Command Reference for AR2050V
580
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
PPP C
OMMANDS
ENCAPSULATION
PPP
encapsulation ppp
Overview
Use this command to enable PPP encapsulation and create one or more PPP
interfaces over Ethernet, a cellular interface, or a L2TPv2 managed VPN.
Use the
no
variant of this command to disable PPP encapsulation and remove the
specified PPP interface.
Syntax
encapsulation ppp <
index
>
no encapsulation ppp <
index
>
Default
No PPP encapsulation or interfaces are configured by default.
Mode
Interface Configuration mode for an Ethernet interface (e.g.
interface eth1
), or an
Ethernet sub-interface (e.g.
interface eth1.1
), or a cellular interface (e.g.
interface
cellular0
).
L2TP Tunnel Configuration mode for an L2TP tunnel (e.g.
l2tp tunnel tunnel0
).
Examples
To configure a PPP interface with index 0 for Ethernet interface eth1, use the
commands:
awplus#
configure terminal
awplus(config)#
interface eth1
awplus(config-if)#
encapsulation ppp 0
To shut down the ppp0 interface and remove it from Ethernet interface eth1, use
the commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
shutdown
awplus(config-if)#
interface eth1
awplus(config-if)#
no encapsulation ppp 0
To set the L2TP tunnel tunnel1 to encapsulate the PPP interface with index 1, use
the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
encapsulation ppp 1
Parameter
Description
<
index
>
The PPP interface index number in the range from 0 to 255.