
C613-50186-01 Rev B
Command Reference for AR2050V
2801
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
PROTECTION
PROFILE
protection profile
Overview
Use this command to set the IPsec profile to use for this L2TP tunnel.
Use the
no
variant of this command to set it back to the default IPsec profile: the
profile named ‘default’.
Syntax
protection profile [<
profile-name
>]
no protection profile
Default
The L2TP tunnel protection profile is set to the IPsec profile named ‘default’ by
default.
Mode
L2TP Tunnel Configuration
Example
To set up tunnel1 with IPsec protection using IPsec profile ‘profile1’, use the
commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
protection ipsec
awplus(config-l2tp-tunnel)#
protection profile profile1
To reset tunnel1 to use IPsec protection with IPsec profile ‘default’, use the
commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
no protection profile
Related
Commands
show running-config l2tp-tunnel
Parameter
Description
<profile-name>
The name of the IPsec profile to use. This is the profile created by
the
crypto ipsec profile
command.