default-martini

Function

The default-martini enable command disables LDP PWs from sending Notification messages.

The default-martini disable command enables LDP PWs to send Notification messages.

The undo default-martini command restores the default PW configuration.

By default, the mpls l2vpn default martini command configuration applies to PWs.

Format

default-martini { enable | disable }

undo default-martini { enable | disable }

Parameters

Parameter Description Value
enable

Disables LDP PWs for sending Notification messages.

-

disable

Enables LDP PWs to send Notification messages.

-

Views

L2VPN peer 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, run the default-martini command to disable PWs from sending Notification messages.

Prerequisites

The L2VPN peer view has been displayed using the peer command.

Precautions

The mpls l2vpn default martini command applies to global PWs, whereas the default-martini command applies to specific PWs. The default-martini command takes preference over the mpls l2vpn default martini command. If the default-martini command is not configured for a PW, the PW uses the mpls l2vpn default martini command configuration.

Example

# Configure a PW with peer address 3.3.3.3 to inherit the global configuration in the L2VPN peer view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] peer 3.3.3.3
[*HUAWEI-l2vpn-peer-3.3.3.3] undo default-martini disable
# Enable a PW with peer address 3.3.3.3 to send Notification messages in the L2VPN peer view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] peer 3.3.3.3
[*HUAWEI-l2vpn-peer-3.3.3.3] default-martini disable
# Configure a PW with peer address 2.2.2.2 to inherit the global configuration in the L2VPN peer view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] peer 2.2.2.2
[*HUAWEI-l2vpn-peer-2.2.2.2] undo default-martini enable
# Disable a PW with peer address 2.2.2.2 from sending Notification messages in the L2VPN peer view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] peer 2.2.2.2
[*HUAWEI-l2vpn-peer-2.2.2.2] default-martini enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >