peer (LMP configuration view)

Function

The peer command creates an LMP neighbor and displays the view of the neighbor.

The undo peer command deletes an LMP neighbor.

By default, LMP neighbors are not configured.

Format

peer name

undo peer name

Parameters

Parameter Description Value
name

Specifies the name of an LMP neighbor.

The name is a string of 1 to 32 case-sensitive characters, spaces not supported. The name should start with an English letter (a to z, or A to Z) and can be a combination of letters, numerals, hyphens (-), or underlines (_).

Views

LMP configuration view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
lmp write

Usage Guidelines

Usage Scenario

LMP is used in GMPLS UNI to manage the links of the control channel and data channel. LMP is classified into the following types:

1.Static LMP: LMP neighbors are manually configured and no LMP packet needs to be sent between them.

2.Dynamic LMP: LMP neighbors, the control channel, and the data channel can be automatically discovered.

At present, the device supports static LMP only. LMP neighbors need to be manually configured. After LMP is enabled globally, the peer command can be used to create an LMP neighbor and enter the view of the neighbor for later configurations.

Prerequisites

The lmp command has been run to create an LMP neighbor.

Follow-up Procedure

1.Run the lmp static command to configure static LMP.

2.Run the node-id command to configure the address of the LMP neighbor.

Example

# Configure an LMP neighbor named test.
<HUAWEI> system-view
[~HUAWEI] lmp
[*HUAWEI-lmp] peer test
[*HUAWEI-lmp-peer-test] lmp static
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >