R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

17
For descriptions of the output, see Table 4.
display ipv6 routing-table ipv6-address
Use display ipv6 routing-table ipv6-address to display routing information about the route to the
specified destination IPv6 address.
Syntax
display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address prefix-length [ longer-match ]
[ verbose ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
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.
ipv6-address: Specifies a destination IPv6 address.
prefix-length: Specifies the prefix length in the range of 0 to 128.
longer-match: Displays the matched route having the longest prefix length.
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.
Usage guidelines
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.
{ 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 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.