11
display fib vpn-instance
Description
Use the
display fib vpn-instance
command to display the FIB information of a VPN.
If you do not specify a parameter, all FIB information for the VPN is displayed.
Syntax
display fib
vpn-instance
vpn-instance-name
[
acl
acl-number
|
ip-prefix
ip-prefix-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance-name:
Specifies the instance name of a VPN, which is a case-sensitive string of 1 to 31
characters.
acl
acl-number
: Displays the FIB information of the VPN instance permitted by the specified ACL.
acl-
number
is the number of the ACL, ranging from 2000 to 2999. If the specified ACL does not exist, the
command displays all FIB information of the VPN instance.
ip-prefix
ip-prefix-name
: Displays the FIB information of the VPN instance permitted by the specified IP
prefix.
ip-prefix-name
is the name of the IP prefix, which is a case-sensitive string of 1 to 19 characters. If
the specified IP prefix does not exist, the command displays all FIB information of the VPN instance.
|
: 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 all FIB information of the VPN instance
vpn1
.
<Sysname> display fib vpn-instance vpn1
FIB entry count: 4
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
Destination/Mask Nexthop Flag OutInterface InnerLabel Token
10.2.0.0/16 10.2.1.1 U Eth1/1 Null Invalid
10.2.1.1/32 127.0.0.1 UH InLoop0 Null Invalid
127.0.0.0/8 127.0.0.1 U InLoop0 Null Invalid
127.0.0.1/32 127.0.0.1 UH InLoop0 Null Invalid
# Display the FIB information of VPN instance
vpn1
that begins with the line containing the string 127.