
C613-50186-01 Rev B
Command Reference for AR2050V
2799
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
PROTECTION
LOCAL
-
NAME
protection local-name
Overview
Use this command to set the IPsec local name for the L2TP tunnel. This is the local
identifier for IKE.
Use the
no
variant of this command to reset the local name to the default—the
source IP address of the L2TP tunnel.
Syntax
protection local-name [<
ipsec-local-name
>]
no protection local-name
Default
By default, the IPsec local name is set to the source IP address of the L2TP tunnel.
Mode
L2TP Tunnel Configuration
Usage
If no local name is configured with this command, the source IP address of the
tunnel is used. If a local name is configured with this command, the
crypto isakmp
key
command is required to configure a preshared authentication key using this
local name as the hostname.
Example
To set the IPsec local name for tunnel1 to office1 and set the key to ‘friend’, use the
commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
protection ipsec
awplus(config-l2tp-tunnel)#
protection local-name office1
awplus(config)#
crypto isakmp key friend hostname office1
To remove the IPsec local name for tunnel1, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
no protection local-name
Related
Commands
Parameter
Description
<ipsec-local-name>
The IPsec local name for the tunnel.