peer (MPLS-L2VPN view)

Function

The peer command creates or displays the L2VPN peer view.

The undo peer command deletes the L2VPN peer view and all configurations in the view.

By default, the L2VPN peer view does not exist.

Format

peer peer-address

undo peer peer-address

Parameters

Parameter Description Value
peer-address

Specifies an IPv4 address as the PW peer address.

The peer address is usually a loopback address and must be consistent with the destination address of the PW's bearer tunnel.

The value is in dotted decimal notation.

Views

MPLS-L2VPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

Initially, draft states that LDP PWs cannot use Notification messages. Later, relevant standards states that LDP PWs can use Notification messages to process services. To enable a device supporting Notification messages to communicate with a device not supporting Notification messages, the default-martini command must be run to disable PWs from sending Notification messages. Because a PW has to be configured in the L2VPN peer view, you must run the peer command to create the L2VPN peer view first.

Prerequisites

MPLS L2VPN has been enabled using the mpls l2vpn command.

Follow-up Procedure

Run the default-martini command to disable LDP PWs from sending Notification messages.

Precautions

Running the undo peer command will delete the L2VPN peer view and all configurations in the view.

Example

# Create an L2VPN peer view with PW peer address 2.2.2.2.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] peer 2.2.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >