display ipv6 fib ipv6-address
Syntax
display ipv6 fib [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Displays the IPv6 FIB entries for a specific MPLS L3VPN. The vpn-instance-name argument is case-sensitive string of 1 to 31 characters. Without this option specified, the display ipv6 fib ipv6-address command displays IPv6 FIB entries on the public network and all private networks.
ipv6-address: Specifies the destination IPv6 address.
prefix-length: Specifies the Prefix length of the destination IPv6 address, in the range of 0 to 128.
|: 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.
Description
Use display ipv6 fib ipv6-address to display the IPv6 FIB entry of the specified destination IPv6 address.
Without the prefix-length argument specified, this command displays the matching IPv6 FIB entry with the longest prefix.
With the prefix-length argument specified, this command displays the IPv6 FIB entry exactly matching the specified destination IPv6 address and prefix length.
Examples
# Display the matching IPv6 FIB entry with the longest prefix.
<Sysname> display ipv6 fib ::1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination: ::1 PrefixLength : 128 NextHop : ::1 Flag : HU Label : NULL Token : 0 Interface : InLoopBack0
Table 30: Command output
Field | Description |
---|---|
Total number of Routes | Total number of routes in the FIB. |
Destination | Destination address. |
PrefixLength | Prefix length of the destination address. |
NextHop | Next hop. |
Flag | Route flag:
|
Label | Label. |
Token | LSP index number. |
Interface | Outgoing interface. |