start l2tp add ip

Function

The start l2tp add ip command adds an IP address to an LNS IP address list.

This command is supported only on the NetEngine 8000 F1A.

Format

start l2tp add ip ip-address [ weight lns-weight | preference preference | remote lns-name ]

Parameters

Parameter Description Value
weight lns-weight

Specifies the weight of an LNS.

The value is an integer ranging from 1 to 10. The default value is 5.

preference preference

Specifies the priority of an LNS.

The value is an integer ranging from 1 to 255. The default value is 1.

remote lns-name

Specifies the remote LNS name in an L2TP group.

The value is a string of 1 to 253 characters.

ip ip-address

Specifies the remote LNS IP address of an L2TP tunnel.

The value is in dotted decimal format.

Views

L2TP group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

Usage Scenario

If the start l2tp ip ip-address command is run more than once, the latest configuration overrides the previous one. After an LNS IP address list is configured using this command, run the start l2tp add ip command to add an IP address to the list.

Prerequisites

An LNS IP address list has been configured using the start l2tp ip ip-address command.

Priority-based load balancing for tunnels has been configured using the tunnel priority command in the L2TP group view.

Example

# Add the IP address 3.3.3.3 to the LNS IP address list.
<HUAWEI> system-view
[~HUAWEI] l2tp-group huawei
[*HUAWEI-l2tp-group huawei] start l2tp ip 10.10.10.1 weight 1
[*HUAWEI-l2tp-group huawei] tunnel priority
[*HUAWEI-l2tp-group huawei] start l2tp add ip 3.3.3.3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >