
C613-50186-01 Rev B
Command Reference for AR2050V
2802
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
PROTECTION
REMOTE
-
NAME
protection remote-name
Overview
Use this command to set the L2TP tunnel IPsec remote name. This is the remote
identifier for IKE.
Use the
no
variant of this command to reset the remote name to the default—the
destination IP address of the tunnel.
Syntax
protection remote-name [<
ipsec-remote-name
>]
no protection remote-name
Default
By default, the IPsec remote name is set to the destination IP address of the tunnel.
Mode
L2TP Tunnel Configuration
Usage
In order to set the IPsec remote name for the tunnel and add a corresponding
ISAKMP key for the tunnel, set the IPsec remote name with this command
(
protection remote-name
) and set the key for this by using the
crypto isakmp
key
command with this remote name as the hostname.
Example
To set the IPsec remote name for tunnel1 to ‘office2’ 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 remote-name office2
awplus(config)#
crypto isakmp key friend hostname office2
To reset the IPsec remote name for tunnel1 to default (destination IP address of the
tunnel), use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
no protection remote-name
Related
Commands
Parameter
Description
<ipsec-remote-name>
The IPsec remote name for the tunnel.