298
Examples
# Display the FIB information of VPN instance
vpn1
that matches the destination IP address 10.2.1.1.
<Sysname> display fib vpn-instance vpn1 10.2.1.1
FIB entry count: 1
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
Destination/Mask Nexthop Flag OutInterface InnerLabel Token
10.2.1.1/32 127.0.0.1 UH InLoop0 Null Invalid
For information about the command output, see
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 instance.
vpn-instance-
name
represents the VPN instance name, 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