display ip route-monitor-group track-route

Function

The display ip route-monitor-group track-route command displays information about all route monitoring groups to which routes are added.

Format

display ip route-monitor-group track-route [ vpn-instance vpn-instance-name ] destination { mask | mask-length }

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Displays information about all route monitoring groups to which routes in the specified VPN instance are added; if vpn-instance vpn-instance-name is not specified, information about all route monitoring groups to which public routes are added is displayed.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

destination

Specifies the destination IP address of a route.

The value is in dotted decimal notation.

mask

Specifies the mask of the destination IP address.

The value is in dotted decimal notation.

mask-length

Specifies the mask length.

The value is an integer ranging from 0 to 32.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

After a route monitoring group is configured using the ip route-monitor-group command, you can run the track ip route command to add all monitored network-side routes of the same type to the route monitoring group. One route can be added to multiple route monitoring groups. You can run the display ip route-monitor-group track-route command to check the following information:

  • Information about all route monitoring groups to which a route has been added
  • Whether a route has been added to a route monitoring group
  • Whether a route has been deleted from a route monitoring group

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about all route monitoring groups to which the routes to 192.168.1.0/24 are added.
<HUAWEI> display ip route-monitor-group track-route 192.168.1.0 24
 Route monitor group      Total weight     Down weight    State
 uplink                   600              100            Enabled
 downlink                 500              20             Enabled
Table 1 Description of the display ip route-monitor-group track-route command output
Item Description
Route monitor group

Name of a route monitoring group.

Total weight

Down-weight sum of the route monitoring group.

Down weight

Down-weight of the routes in the route monitoring group.

State

Status of the route monitoring group:

  • Enabled.
  • Disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >