R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
852
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.
Use display ipv6 routing-table ipv6-address1 ipv6-address2 to display routes whose destinations fall
into the specified IPv6 address range.
Examples
# Display brief information about the route matching the specified destination IPv6 address.
<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
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 matched route with the longest prefix length.
<Sysname> display ipv6 routing-table 10:: 127 longer-match
Routing Tables: Public
Summary Count : 1
Destination: 10::/120 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
# Display routes whose destinations fall into the specified IPv6 address range.
<Sysname> display ipv6 routing-table 100:: 64 300:: 64
Routing Table : Public
Summary Count : 3
Destination: 100::/64 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
Destination: 200::/64 Protocol : Static
NextHop : :: Preference: 60
Interface : NULL0 Cost : 0
Destination: 300::/64 Protocol : Static