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.
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.