The display ip route-monitor-group track-route command displays information about all route monitoring groups to which routes are added.
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. |
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:
The actual command output varies according to the device. The command output here is only an example.
<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
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:
|