< Home

display ipv6 routing-table protocol

Function

The display ipv6 routing-table protocol command displays routing information about a specified IPv6 routing protocol.

Format

display ipv6 routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose | brief ]

Parameters

Parameter Description Value
vpn-instance-name Specifies the name of a VPN instance of an enabled IPv6 address family. The value must be an existing VPN instance name.
protocol Displays routing information of a specified routing protocol.

The value may be bgp, direct, isis, ospfv3, ripng, static, or unr. The specific value varies depending on the routing protocol supported by the device.

inactive Displays information about inactive routes. If this parameter is not specified, information about all active and inactive routes is displayed. -
verbose Displays detailed information about active and inactive routes. If this keyword is not specified, only brief information about active routes is displayed. -
brief Displays brief information about active and inactive routes. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ipv6 routing-table protocol command to check routing information about a specified IPv6 routing protocol.

Example

# Display brief information about all IPv6 direct routes.

<HUAWEI> display ipv6 routing-table protocol direct
Public Routing Table : Direct
Summary Count : 2

Direct Routing Table's Status : < Active >
Summary Count : 2

 Destination  : ::1                             PrefixLength : 128
 NextHop      : ::1                             Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : InLoopBack0                     Flags        : D

 Destination  : FE80::                          PrefixLength : 10
 NextHop      : ::                              Preference   : 0
 Cost         : 0                               Protocol     : Direct
 RelayNextHop : ::                              TunnelID     : 0x0
 Interface    : NULL0                           Flags        : D

Direct Routing Table's Status : < Inactive >
Summary Count : 0 
Table 1 Description of the display ipv6 routing-table protocol command output

Item

Description

Public Routing Table

Contents of a public routing table:
  • Direct: direct IPv6 route

  • Static: static IPv6 route

  • bgp: BGP4+ route

  • ripng: RIPng route

  • isis: IS-IS IPv6 route

  • ospfv3: OSPFv3 route

  • unr: user network route

Summary Count

Number of prefixes of routes.

Direct Routing Table's Status

Status of direct routes:
  • active: information about active routes
  • inactive: information about inactive routes

Destination

IP address of the destination network or host of a route.

PrefixLength

Prefix length of a route.

NextHop

Next-hop address of a route.

Preference

Routing protocol preference of a route.

Cost

Cost of a route.

Protocol

Routing protocol that learns a route.

RelayNextHop

Iterated next-hop address.

TunnelID

Tunnel ID. The value 0x0 indicates that no tunnel is used or the tunnel fails to be established.

Interface

Outbound interface through which the next hop of a route can be reached.

Flags

Flag of a route:
  • R: The route is an iterated route.

  • D: The route is delivered to the FIB table.

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