monitor enable (mpls-l2vpn-monitor-group view)

Function

The monitor enable command enables the monitoring capability of an L2VPN monitoring group.

The undo monitor enable command disables the monitoring capability of an L2VPN monitoring group.

By default, the monitoring capability of an L2VPN monitoring group is disabled.

Format

monitor enable

undo monitor enable

Parameters

None

Views

mpls-l2vpn-monitor-group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To enable the monitoring capability of an L2VPN monitoring group, run the monitor enable command. An L2VPN monitoring group can be bound to protocol VSI PWs only after the monitoring capability is enabled.

Prerequisites

An L2VPN monitoring group has been created.

Example

# Enable the monitoring capability of an L2VPN monitoring group.
<HUAWEI> system-view
[~HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] monitor-group group1
[*HUAWEI-l2vpn-monitor-group-group1] monitor enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >