display ipv6 fib

Syntax

display ipv6 fib [ vpn-instance vpn-instance-name ] [ acl6 acl6-number | ipv6-prefix ipv6-prefix-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

vpn-instance vpn-instance-name: Displays the IPv6 FIB entries of the specified MPLS L3VPN. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. Without this option specified, the display ipv6 fib command displays the IPv6 FIB entries of the public network.

acl6 acl6-number: Displays the IPv6 FIB entries permitted by a specific ACL. The ACL number is in the range of 2000 to 2999. If the specified ACL does not exist, all IPv6 FIB entries are displayed.

ipv6-prefix ipv6-prefix-name: Displays the IPv6 FIB entries matching a specific prefix list. The ipv6-prefix-name argument is a case-sensitive string of 1 to 19 characters. If the specified prefix list does not exist, all IPv6 FIB entries are displayed.

|: 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 to display IPv6 FIB entries. If no argument is specified, all IPv6 FIB entries will be displayed.

The device looks up a matching IPv6 FIB entry for forwarding an IPv6 packet.

Examples

# Display all IPv6 FIB entries.

<Sysname> display ipv6 fib
FIB Table:
 Total number of Routes : 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 29: 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:

  • U—Usable route

  • G—Gateway route

  • H—Host route

  • B—Black hole route

  • D—Dynamic route

  • S—Static route

Label

Label

Token

LSP index number

Interface

Outgoing interface