18
•
display ipv6 routing-table
ipv6-address
longer-match
:
{
The system ANDs the entered destination IPv6 address with the prefix length in each active route
entry.
{
The system ANDs the destination IPv6 address in each active route entry with the prefix length
in the entry.
If the two operations yield the same result for multiple entries, the one that has the longest prefix
length is displayed.
•
display ipv6 routing-table
ipv6-address prefix-length
longer-match
:
{
The system ANDs the entered destination IPv6 address with the entered prefix length.
{
The system ANDs the destination IPv6 address in each active route entry with the entered prefix
length.
If the two operations yield the same result for multiple entries with a prefix length less than or equal
to the entered prefix length, the one with the longest prefix length is displayed.
•
display ipv6 routing-table
ipv6-address1
to
ipv6-address2
:
The system displays route entries with destinations in the range of
ipv6-address1
/128 to
ipv6-address2
/128.
Examples
# Display brief information about the routes to the destination IPv6 address 10::1 127.
<Sysname> display ipv6 routing-table 10::1 127
Summary Count: 3
Destination: 10::/64 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
Destination: 10::/68 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
Destination: 10::/120 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
# Display brief information about the most specific route to the destination IPv6 address 10::1 and prefix
length 127.
<Sysname> display ipv6 routing-table 10::1 127 longer-match
Summary Count : 1
Destination: 10::/120 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
# Display brief information about the routes to destination addresses in the range of 100:: to 300::.
<Sysname> display ipv6 routing-table 100:: to 300::