
C613-50186-01 Rev B
Command Reference for AR2050V
2819
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
SOURCE
source
Overview
Use this command to set the source address or interface for an L2TP tunnel.
Use the
no
variant of this command to remove the source address or interface from
an L2TP tunnel.
Syntax
source [<
interface-name
>|<
ipv4-addr
>|<
ipv6-addr
>
no source
Default
If no source address or interface is configured, the source address used will be
calculated based on the route to the tunnel destination.
Mode
L2TP Tunnel Configuration
Example
To configure IP address 10.1.1.2 as the source address for the tunnel named
‘tunnel1’, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
source 10.1.1.2
To remove the configured source address from ‘tunnel1’, so that it uses the default
source, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
no source
Related
Commands
Parameter
Description
<interface-name>
The name of the interface to be used as the tunnel starting
point.
<ipv4-addr>
The IPv4 address to be used as the tunnel starting point.
<ipv6-addr>
The IPv6 address to be used as the tunnel starting point.