display ipv6 fib

Use display ipv6 fib to display IPv6 FIB entries.

Syntax

display ipv6 fib [ vpn-instance vpn-instance-name ] [ ipv6-address [ prefix-length ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

ipv6-address: Specifies an IPv6 address.

prefix-length: Specifies a prefix length for the IPv6 address, in the range of 0 to 128.

Usage guidelines

If you do not specify a VPN, this command displays IPv6 FIB entries for the public network.

If you do not specify the prefix length, this command displays the IPv6 FIB entry longest matching the IPv6 address. If you specify a prefix, this command displays the IPv6 FIB entry that exactly matches the IPv6 address and prefix length.

If you do not specify any parameters, this command displays all IPv6 FIB entries for the public network.

Examples

# Display all IPv6 FIB entries for the public network.

<Sysname> display ipv6 fib

Destination count: 1 FIB entry count: 1

Flag:
  U:Useable   G:Gateway   H:Host   B:Blackhole   D:Dynamic   S:Static
  R:Relay     F:FRR

Destination: ::1                                           Prefix length: 128
Nexthop     : ::1                                            Flags: UH
Time stamp : 0x1                                            Label: Null
Interface  : InLoop0                                        Token: Invalid

Table 40: Command output

Field

Description

Destination count

Total number of destination addresses.

FIB entry count

Total number of IPv6 FIB entries.

Destination

Destination address.

Prefix length

Prefix length of the destination address.

Nexthop

Next hop.

Flags

Route flag:

  • U—Usable route.

  • G—Gateway route.

  • H—Host route.

  • B—Black hole route.

  • D—Dynamic route.

  • S—Static route.

  • R—Recursive route.

  • F—Fast re-route.

Time stamp

Time when the IPv6 FIB entry was generated.

Label

Inner MPLS label.

Interface

Outgoing interface.

Token

Label switched path index number.