R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

19
verbose: Displays detailed information about all 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.
Usage guidelines
Executing the command with different parameters yields different output:
display ipv6 routing-table ipv6-address
{ The system ANDs the input destination IPv6 address with the prefix length in each route entry.
{ The system ANDs the destination IPv6 address in each route entry with the prefix length in each
entry.
{ If the two operations yield the same result for an entry and this entry is active, it is displayed.
display ipv6 routing-table ipv6-address prefix-length
{ The system ANDs the input destination IPv6 address with the input prefix length.
{ The system 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 longer-match
{ The system ANDs the input destination IPv6 address with the prefix length in each route entry.
{ The system ANDs the destination IPv6 address in each route entry with the prefix length in each
entry.
{ If the two operations yield the same result for multiple entries, the one that is active with the
longest prefix length is displayed.
display ipv6 routing-table ipv6-address prefix-length longer-match
{ The system ANDs the input destination IPv6 address with the input prefix length.
{ The system 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 routes with destination IPv6 address 10::1.
<Sysname> display ipv6 routing-table 10::1 127
Routing Table: Public
Summary Count: 3
Destination: 10::/64 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0