
C613-50186-01 Rev B
Command Reference for AR2050V
2797
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
L2TP C
OMMANDS
LOCAL
-
SUBADDRESS
local-subaddress
Overview
Use this command to set the local sub-address for L2TPv2 tunnel authentication.
Use the
no
variant of this command to remove the configured local sub-address.
Syntax
local-subaddress [<
sub-address
>]
no local-subaddress
Default
The local sub-address is not set by default; by default, the received L2TPv2
sub-address AVP will not be checked before establishing the tunnel.
Mode
L2TP Tunnel Configuration
Usage
If a local sub-address is set, this is checked against incoming the sub-address AVP
as a requirement for tunnel establishment. The received sub-address AVP content
must match the configured local sub-address.
Example
To set the local-sub address of tunnel1 to ‘office1’, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
local-subaddress office1
To remove the local sub-address configuration from tunnel1, use the commands:
awplus#
configure terminal
awplus(config)#
l2tp tunnel tunnel1
awplus(config-l2tp-tunnel)#
no local-subaddress
Related
Commands
show running-config l2tp-tunnel
Parameter
Description
<sub-address>
The local sub-address for the tunnel.