R3303-HP HSR6800 Routers MPLS Command Reference

298
Default command level
1: Monitor level
Parameters
vpn-instance-name: Specifies the VPN instance name, a case-sensitive string of 1 to 31 characters.
acl acl-number: Displays the FIB information for the VPN instance permitted by the specified ACL.
acl-number is the ACL number in the range of 2000 to 2999. If the specified ACL does not exist, the
command displays all FIB information for the VPN instance.
ip-prefix ip-prefix-name: Displays the FIB information for the VPN instance permitted by the specified IP
prefix list. ip-prefix-name is the name of the IP prefix list, a case-sensitive string of 1 to 19 characters. If the
specified IP prefix list does not exist, the command displays all FIB information for the VPN instance.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see 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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If no parameter is specified, this command displays all FIB information for the VPN.
Examples
# Display all FIB information for VPN instance vpn1.
<Sysname> display fib vpn-instance vpn1
Destination count: 4 FIB entry count: 4
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Relay
Destination/Mask Nexthop Flag OutInterface InnerLabel Token
10.2.0.0/16 10.2.1.1 U GE2/1/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 that begins with the line containing the string 127 for VPN instance vpn1.
<Sysname> display fib vpn-instance vpn1 | begin 127
Destination/Mask Nexthop Flag OutInterface InnerLabel Token
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 permitted by ACL 2000 for VPN instance vpn1.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255
[Sysname-acl-basic-2000] display fib vpn-instance vpn1 acl 2000