The display ip route-monitor-group track-route command displays information about all route monitoring groups to which a specified route is added.
display ip route-monitor-group track-route [ vpn-instance vpn-instance-name ] dest-address { mask | mask-length }
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. |
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.
# 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
Item |
Description |
---|---|
Route monitor group |
Name of a route monitoring group. |
State |
Status of a route monitoring group:
You can run the monitor enable command to enable a route monitoring group. |