< Home

monitor enable

Function

The monitor enable command enables a route monitoring group.

The undo monitor enable command disables a route monitoring group.

By default, a route monitoring group is disabled.

Format

monitor enable

undo monitor enable

Parameters

None

Views

Route monitoring group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A route monitoring group can monitor status changes of network-side routes. After the routes to be monitored are added to a route monitoring group, run the monitor enable command to enable the route monitoring group so that it can take effect immediately.

When a large number of routes are being added to or deleted from a route monitoring group, the status of the route monitoring group changes frequently, which in turn leads to service flapping of the service modules associated with the route monitoring group. To prevent such service flapping, run the undo monitor enable command to disable the route monitoring group so that it is dissociated from all service modules. After the routes are added or deleted, run the monitor enable command to re-associate the route monitoring group with all service modules.

Prerequisites

A route has been added to the route monitoring group using the track ip route command.

Example

# Enable the route monitoring group uplink.

<HUAWEI> system-view
[HUAWEI] ip route-monitor-group uplink
[HUAWEI-route-monitor-group-uplink] track ip route 10.1.1.0 24
[HUAWEI-route-monitor-group-uplink] monitor enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >