< Home

display ipv6 fib (upgrade-compatible command)

Function

The display ipv6 fib command displays FIB entries.

In a distributed system, you can specify a slot ID for FIB entries on the main control board or an interface board to display.

By default, only FIB entries on the main control board is displayed.

Format

display ipv6 fib [ slot-id ] vpn6-instance vpn6-instance-name [ verbose ] [ statistics ]

display ipv6 fib [ slot-id ] vpn6-instance vpn6-instance-name ipv6-address [ prefix-length ] [ verbose ]

Parameters

Parameter Description Value
slot-id Specifies a slot ID. This parameter is available only in a distributed system. -
vpn6-instance vpn6-instance-name Displays FIB entries of a specified VPN instance. The value is a string of 1 to 31 case-sensitive characters.
ipv6-address Specifies the prefix of an IPv6 address. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.
prefix-length Specifies the prefix length of an IPv6 address. The value is an integer ranging from 1 to 128.
verbose Displays detailed information about FIB entries. -
statistics Displays statistics about FIB entries. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is available to aid upgrade compatibility. To run this command, you must enter the complete command.

After an upgrade, it is replaced by the following commands:
  • display ipv6 fib [ slot-id ] [ vpn-instance vpn-instance-name ] [ verbose statistics ]
  • display ipv6 fib [ slot-id ] [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ verbose ]

Example

# Display all FIB entries of the VPN instance vpn1 on the main control board.

<sysname> display ipv6 fib vpn6-instance vpn1
 IPv6 FIB Table:                                                                 
 Total number of Routes : 4                                                     
                                                                                
Destination:  ::1                                     PrefixLength : 128
Nexthop    :  ::1                                     Flag         : HU
Interface  :  InLoopBack0                             Tunnel ID    : 0x0
TimeStamp  :  Date- 16:12:2010, Time- 15:1:54
                                                                                
Destination:  FE80::                                  PrefixLength : 10
Nexthop    :  ::                                      Flag         : BU
Interface  :  NULL0                                   Tunnel ID    : 0
TimeStamp  :  Date- 16:12:2010, Time- 15:1:54
                                                                                
Destination:  2001::2                                 PrefixLength : 128
Nexthop    :  ::1                                     Flag         : HU
Interface  :  InLoopBack0                             Tunnel ID    : 0x0
TimeStamp  :  Date- 16:12:2010, Time- 15:1:54
                                                                                
Destination:  2001::                                  PrefixLength : 64
Nexthop    :  2001::2                                 Flag         : U
Interface  :  NULL0                                   Tunnel ID    : 0
TimeStamp  :  Date- 16:12:2010, Time- 15:1:54
                                                                                
Table 1 Description of the display ipv6 fib command output

Item

Description

Destination

Destination address of a route

PrefixLength

Prefix length of a route to the destination address

Nexthop

Next hop that forwards packets to the destination address

Flag

Flag indicating route characteristics, for example, S for Static, U for Up, G for Gateway, H for Host, B for Blackhole, and D for Dynamic

Interface

Outbound interface for forwarding packets

Tunnel ID

Tunnel identifier (The value is not 0 if MPLS forwarding is used. The value is 0 if IP forwarding is used.)

TimeStamp

Time when a route was generated in the FIB

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >