
15
Field Description
Routes
Number of routes
Destination/Mask
Destination address/mask length
Proto
Protocol discovering the route
Pre
Preference of the route
Cost
Cost of the route
NextHop
Address of the next hop along the route
Interface
Outbound interface for forwarding packets to the destination segment
display ip vpn-instance
Description
Use the
display ip vpn-instance
command to display information about a VPN instance or all VPN
instances.
If you do not specify any parameter, the command displays brief information about all VPN instances.
Syntax
display ip vpn-instance
[
instance-name
vpn-instance-name
] [
|
{
begin
|
exclude
|
include
}
regular-
expression
]
View
Any view
Default level
1: Monitor level
Parameters
instance-name
vpn-instance-name
: Displays 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.
|
: 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 information about all VPN instances.
<Sysname> display ip vpn-instance
Total VPN-Instances configured : 2
VPN-Instance Name RD Create Time
vpn1 22:1 2003/10/13 09:32:45
vpn2 33:3 2003/10/13 09:42:59