display ipv6 routing-table

Syntax

display ipv6 routing-table [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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, which is a case sensitive string of 1 to 256 characters.

Description

Use the display ipv6 routing-table command to display brief routing table information, including destination IP address and prefix, protocol type, priority, metric, next hop and outbound interface.

The command displays only active routes (the brief information about the current optimal routes).

Examples

# Display brief routing table information

<Sysname> display ipv6 routing-table
Routing Table :
        Destinations : 1        Routes : 1

Destination : ::1/128                           Protocol  : Direct
NextHop     : ::1                               Preference: 0
Interface   : InLoop0                           Cost      : 0

Table 4: Output description

Field

Description

Destination

IPv6 address of the destination network/host

NextHop

Next hop address

Preference

Route priority

Interface

Outbound interface

Protocol

Routing protocol

Cost

Route cost