
C613-50186-01 Rev B
Command Reference for AR2050V
2805
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
SHARED
-
SECRET
shared-secret
Overview
Use this command to set the secret password that is shared with L2TP tunnel peers.
Use the
no
variant of this command to remove the shared secret.
Syntax
shared-secret <
secret
>
no shared-secret
Default
No shared secret is configured by default.
Mode
L2TP Profile Configuration and L2TP Tunnel Configuration
Example
To set tunnel secret to "my_password" for tunnel profile "public", use the
commands:
awplus#
configure terminal
awplus(config)#
l2tp-profile public
awplus(config-l2tp-profile)#
shared-secret my_password
To set tunnel secret to "my_password" for tunnel "tunnelone", use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnelone
awplus(config-l2tp-tunnel)#
shared-secret my_password
To remove the tunnel secret for the tunnel profile, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp-profile public
awplus(config-l2tp-profile)#
no shared-secret
To remove the tunnel secret for the tunnel ‘tunnelone’, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnelone
awplus(config-l2tp-tunnel)#
no shared-secret
Related
Commands
show running-config l2tp-profile
Parameter
Description
<secret>
The password shared with the tunnel peer.