Display Ipv6 Routing-Table Ipv6-Address - H3C S5120-EI Series Configuration Commands

Layer 3 - ip routing command reference
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

display ipv6 routing-table ipv6-address

Syntax
display ipv6 routing-table ipv6-address prefix-length [ longer-match ] [ verbose ] [ | { begin | exclude
| include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-address: Destination IPv6 address.
prefix-length: Prefix length, in the range 0 to 128.
longer-match: Displays the matched route having the longest prefix length.
verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief
active routing information is displayed.
|: 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 ipv6-address command to display routing information about the
specified destination IPv6 address.
Executing the command with different parameters yields different output:
display ipv6 routing-table ipv6-address prefix-length
The system ANDs the input destination IPv6 address with the input prefix length, and ANDs the
destination IPv6 address in each route entry with the input prefix length.
If the two operations yield the same result for an entry and the entry is active with a prefix length less than
or equal to the input prefix length, the entry is displayed.
Only route entries that exactly match the input destination address and prefix length are displayed.
display ipv6 routing-table ipv6-address prefix-length longer-match
The system ANDs the input destination IPv6 address with the input prefix length; and ANDs the
destination IPv6 address in each route entry with the input prefix length.
If the two operations yield the same result for multiple entries with a prefix length less than or equal to the
input prefix length, the one that is active with the longest prefix length is displayed.
Examples
# Display brief information about the route matching the specified destination IPv6 address.
<Sysname> display ipv6 routing-table 10::1 127
Routing Table:
11

Advertisement

Table of Contents
loading

Table of Contents