Parameters
vpn-instance vpn-instance-name
: Specifies an MPLS L3VPN.
vpn-instance-name
is a
case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public
network is displayed.
verbose
: Displays detailed information about both active and inactive routes. Without this keyword,
only brief information about active routes is 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 routing-table
to display brief IPv6 routing 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).
Use
display ipv6 routing-table verbose
to display detailed information about all IPv6 routes,
including both active and inactive routes. The output shows the statistics of the entire routing table,
and then the detailed information of each route.
Examples
# Display brief routing table information
<Sysname> display ipv6 routing-table
Routing Table : Public
Destinations : 1 Routes : 1
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Table 4 Command output
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
# Display detailed routing table information.
<Sysname> display ipv6 routing-table verbose
Routing Table : Public
Destinations : 1 Routes : 1
Destination : ::1 PrefixLength : 128
NextHop : ::1 Preference : 0
IpPrecedence : QosLcId :
15