< Home

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 a specified route is added.

Format

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

Parameters

Parameter Description Value

vpn-instance vpn-instance-name

Specifies the VPN instance to which a route belongs. If this parameter is specified, information about all route monitoring groups to which a VPN route in the VPN instance is added is displayed. If this parameter is not specified, information about all route monitoring groups to which a public network route is added is displayed.

The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

dest-address

Specifies the destination IP address of a route.

The value is in dotted decimal notation.

mask

Specifies the mask of the destination IP address of a route.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of the destination IP address of a route.

The value is an integer in the range from 0 to 32.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

A route can be added to multiple route monitoring groups to monitor the route status change. You can run the display ip route-monitor-group track-route command to display information about all route monitoring groups to which a specified route is added.

Example

# Display information about all route monitoring groups to which the route to 192.168.1.0/24 is added.

<HUAWEI> display ip route-monitor-group track-route 192.168.1.0 24
 Route monitor group              State                                                                                             
 uplink                           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.

State

Status of a route monitoring group:
  • Enabled: The route monitoring group is enabled.
  • Disabled: The route monitoring group is disabled.
  • Up: The route monitoring group is Up.
  • Down: The route monitoring group is Down.

You can run the monitor enable command to enable a route monitoring group.

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