bind source

Function

The bind source command binds an interface to an LNS group.

The undo bind source command unbinds an interface from an LNS group.

By default, no interface is bound to an LNS group.

This command is supported only on the NetEngine 8000 F1A.

Format

bind source { interface-type interface-num | interface-name }

undo bind source [ interface-type interface-num | interface-name ]

Parameters

Parameter Description Value
interface-type

Specifies the name of an interface bound to an LNS group.The backup group cannot be bound to a management interface.

-

interface-num

Specifies the number of the interface bound to the backup group. The backup group cannot be bound to a management interface.

-

interface-name

Specifies the name of an interface bound to an LNS group.

-

Views

LNS group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

To bind an interface to an LNS group, run the bind source command. Each LNS group uses the IP address of a bound interface as the source address to communicate with a LAC. The device can determine the LNS group for processing an SCCRQ message from a LAC based on this address.

To bind an LNS group to multiple source addresses, bind the LNS group to multiple interfaces.

An interface bound to an LNS group sends a received SCCRQ message to the corresponding tunnel board for processing only if the destination address of the message is the IP address of the interface.

After an interface is bound to an LNS group, the interface cannot be used for other purposes, for example, configured as an RBS source interface or LAC source interface. Likewise, an interface already used for other purposes (for example, configured as an RBS source interface or LAC source interface) cannot be bound to an LNS group.

Example

# Bind loopback 0 to an LNS group.
<HUAWEI> system-view
[~HUAWEI] interface loopback 0
[*HUAWEI-LoopBack0] commit
[~HUAWEI-LoopBack0] quit
[~HUAWEI] lns-group backgroup
[~HUAWEI-lns-group-backgroup] bind source loopback 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >