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

mdc-admin

mdc-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays IPv6 FIB entries for the public network.

ipv6-address: Displays IPv6 FIB entries for a destination IPv6 address. If you do not specify an IPv6 address, this command displays all IPv6 FIB entries.

prefix-length: Specifies a prefix length for the IPv6 address, in the range of 0 to 128. If you do not specify the prefix length, this command displays the IPv6 FIB entry longest matching the IPv6 address.

Examples

# Display all IPv6 FIB entries for the public network.

<Sysname> display ipv6 fib

Destination count: 1 FIB entry count: 1

Flag:
  U:Usable   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 43: 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 address.

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. For IPv6 FIB entries for the public network, this field displays Null.

Interface

Outgoing interface.

Token

Label switched path index number.