link-id

Function

The link-id command sets local and remote IDs of a TE-link.

The undo link-id command deletes local and remote IDs of a TE-link.

By default, no local or remote ID is set for a TE-link.

Format

link-id local ip local-ip-value

link-id remote ip remote-ip-value

undo link-id local

undo link-id remote

undo link-id local ip local-ip-value

undo link-id remote ip remote-ip-value

Parameters

Parameter Description Value
local-ip-value

Specifies the local value.

The value is in dotted decimal notation.

remote

Specifies a remote TE-link ID.

-

ip

Specifies the IP address format.

-

remote-ip-value

Specifies the remote value.

The value is in dotted decimal notation.

local

Specifies a local TE-link ID.

-

Views

IMP Telink configuration view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
lmp write

Usage Guidelines

Usage Scenario

Data-links that directly connect IP and optical layer devices are bundled into a TE-link. LMP discovers and manages both TE-links and their data-links. The VRP only supports static LMP. Static LMP can discover a TE-link and data-links between LMP neighbors only after the TE-link and data-links are configured. To set local and remote IDs of a TE-link, run the link-id command.

Prerequisites

A TE-link has been configured using the te-link command.

Example

# Set local and remote IDs of a TE-link.
<HUAWEI> system-view
[~HUAWEI] lmp
[*HUAWEI-lmp] peer rta
[*HUAWEI-lmp-peer-rta] lmp static
[*HUAWEI-lmp-peer-rta] te-link 1
[*HUAWEI-lmp-peer-rta-te-link-1] link-id local ip 192.168.1.1
[*HUAWEI-lmp-peer-rta-te-link-1] link-id remote ip 192.168.1.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >