The display mrt routing-table vpn-instance command displays the MRT routing table of a VPN instance.
display mrt routing-table vpn-instance vpn-instance-name [ ip-address [ mask | mask-length ] [ longer-match ] ] [ verbose ]
Parameter | Description | Value |
---|---|---|
vpn-instance-name | Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. | The value must be an existing VPN instance name. |
ip-address | Specifies a destination IP address. | The address is in dotted decimal notation. |
mask | Specifies mask. | The mask is in dotted decimal notation. |
mask-length | Specifies mask length. | The value is a decimal integer that ranges from 0 to 32. |
longer-match | Displays only routes that match the specified network or mask. | - |
verbose | Displays detailed information about active and inactive routes. | - |
# Display the MRT routing table of the IPv4 VPN instance named vpn1.
<HUAWEI> display mrt routing-table vpn-instance vpn1 Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: MSR Destinations : 1 Routes : 1 Destination/Mask Proto Pre Cost Flags NextHop Interface 10.5.5.1/32 MSR 255 0 R 10.1.1.1 Vlanif100
Item |
Description |
---|---|
Route Flags |
Route flag that identifies the attribute of a route.
|
Routing Tables: MSR |
MRT routing table. |
Destinations |
Total number of destination networks or hosts. |
Routes |
Total number of routes. |
Destination/Mask |
Address and mask length of the destination network or host. |
Proto |
Protocol through which routes are learned. |
Pre |
Route preference. |
Cost |
Route cost. |
Flags |
Route flags in the header of the routing table. |
NextHop |
Next hop of a route. |
Interface |
Outbound interface to a reachable next hop. |