< Home

operator and

Function

The operator and command sets the status of routes in a route monitoring group to be of the AND relationship.

The undo operator and command restores the default configuration.

By default, the status of routes in a route monitoring group is of the OR relationship.

Format

operator and

undo operator and

Parameters

None

Views

Route monitoring group view

Default Level

2: Configuration level

Usage Guidelines

You can run the operator and command to set the status of routes in a route monitoring group to be of the AND relationship. That is, the status of the route monitoring group is Up only when all routes in the route monitoring group are Up. The status of the monitoring group is Down as long as one route in the group is Down. By default, the status of routes in a route monitoring group is of the OR relationship. That is, the status of the route monitoring group is Up as long as one route in the group is Up. The status of the monitoring group is Down only when all routes in the group are Down.

Example

# Set the status of routes in a route monitoring group to be of the AND relationship.

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