display ipv6 routing-table topology

Function

The display ipv6 routing-table command displays information about an IPv6 routing table.

The display ipv6 routing-table topology command displays information about an IPv6 topology instance.

Format

display ipv6 routing-table ipv6-address1 [ prefix-length1 ] ipv6-address2 prefix-length2 [ verbose ]

display ipv6 routing-table topology topology-name [ [ { ipv6-address [ prefix-length ] | host-name host-name } [ longer-match ] ] | [ time-range min-age max-age ] ] [ verbose ]

display ipv6 routing-table topology topology-name protocol { bgp | direct | isis | ospfv3 | ripng | static | unr } [ time-range min-age max-age ] [ inactive | verbose ]

display ipv6 routing-table topology topology-name ipv6-address [ prefix-length ] ipv6-address prefix-length [ verbose ]

Parameters

Parameter Description Value
ipv6-address1

Specifies the IPv6 address. ipv6-address1 and ipv6-address2 determine an address range. Only the routes in the address range are displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

prefix-length1

Specifies the length of an IPv6 prefix.

The value is an integer ranging from 0 to 128.

ipv6-address2

Specifies the IPv6 address. ipv6-address1 and ipv6-address2 determine an address range. Only the routes in the address range are displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

prefix-length2

Specifies the length of an IPv6 prefix.

The value is an integer ranging from 0 to 128.

verbose

Displays detailed information about the active and inactive routes that match the filtering rule. If verbose is not specified, only the summary of the active routes that match the filtering rule is displayed.

-

topology topology-name

Specifies the name of an IPv6 topology instance.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive) and can contain numbers, hyphens (-), or underlines (_). When double quotation marks are used around the string, spaces are allowed in the string.

ipv6-address

Specifies the destination 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 length of an IPv6 prefix.

The value is an integer ranging from 0 to 128.

host-name host-name

Specifies the hostname.

The value is a string of 1 to 255 case-sensitive characters, spaces not supported.

longer-match

Displays only the routes that match the specified network or prefix.

-

time-range

Displays routes that are generated within a specified period.

-

min-age

Specifies the start generation time.

The value is a string of characters, in the format of XXdXXhXXmXXs.

max-age

Specifies the end generation time.

The value is a string of characters, in the format of XXdXXhXXmXXs.

protocol

Displays routes of a specified protocol.

-

bgp

displays BGP IPv6 routes.

-

direct

displays direct IPv6 routes.

-

isis

displays IS-IS IPv6 routes.

-

ospfv3

displays OSPFv3 routes.

-

ripng

displays RIPng routes.

-

static

displays static IPv6 routes.

-

unr

Displays user network routes.

-

inactive

Displays information about inactive routes only. If inactive is not specified, information about active and inactive routes is displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
route-base read

Usage Guidelines

Usage Scenario

The command output includes the destination address, prefix length, protocol type, priority, cost, next hop, outbound interface, tunnel ID, label value carried by the route, time when the route was generated, and route status.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the brief information about IPv6 static routes in the specified topology.
<HUAWEI> display ipv6 routing-table topology topo1 protocol static
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : Static
Summary Count : 1
Static routing table status :<Active>
Summary Count : 1

Destination  : 2001:db8:1::                            PrefixLength : 23
NextHop      : ::                                      Preference   : 23
Cost         : 0                                       Protocol     : Static
RelayNextHop : ::                                      TunnelID     : 0x0
Interface    : NULL0                                   Flags        : D

Static routing table status :<Inactive>
Summary Count : 0
Table 1 Description of the display ipv6 routing-table topology command output
Item Description
Routing Table

Routing table.

Static routing table status

The state of static routing table.

Summary Count

Number of summary routes.

Destination

Address of the destination network or host.

PrefixLength

Length of the address prefix.

NextHop

Next hop.

Preference

Protocol priority.

Cost

Route cost.

Protocol

Protocol of imported routes.

RelayNextHop

Recursive next hop.

TunnelID

Tunnel ID.

The value 0x0 indicates that no tunnel is used or no tunnel has been set up.

Interface

Outbound interface through which the next hop is reachable.

Flags

Route flags.

Route Flags

Route flags.

  • R: indicates that the route is a recursive route.
  • D: indicates that the route is delivered to the FIB table.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >