14
10.2.1.1/32 127.0.0.1 UH InLoop0 Null Invalid
For more information about the command output, see Table 7.
display ip routing-table vpn-instance
Description
Use the display ip routing-table vpn-instance command to display the routing information for a VPN
instance.
Syntax
display ip routing-table vpn-instance vpn-instance-name [ verbose ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance-name: Displays routing information about the specified VPN. vpn-instance-name is the
instance name of a VPN, which is a case-sensitive string of 1 to 31 characters.
verbose: Displays detailed information.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display the routing information for VPN instance vpn2.
<Sysname> display ip routing-table vpn-instance vpn2
Routing Tables: vpn2
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost NextHop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
10.214.20.0/24 Direct 0 0 10.214.20.3 Vlan20
10.214.20.3/32 Direct 0 0 127.0.0.1 InLoop0
192.168.10.0/24 RIP 100 1 10.214.20.2 Vlan20
Table 8 Command output
Field Description
Destinations Number of destination addresses