show ipv6 route
Syntax
show ipv6 route [ipv6-addr|connected|static|ospf3]
Description
Lists all entries in the IPv6 routing table.
Options
ipv6-addr
-
Lists entries for a specific IPv6 address. Can be followed by any of the other options for this command.
connected
-
Lists entries for connected routes. Can be followed by the
ipv6-addr
option to list only the connected routes having a specific link-local or global IPv6 address. static
-
Lists entries for static routes in the routing table. Can be followed by the
ipv6-addr
option to list only the static routes matching a specific destination. ospf3
-
Lists the entries for OSPFv3 routes in the routing table. Can be followed by the
ipv6-addr
option to list only the OSPFv3 routes matching a specific destination.
Example output
This example lists all entries in the IPv6 routing table.
Switch(config)# show ipv6 route static
IPv6 Route Entries
Destination : 2620:a::/64
Gateway : 2620:b::22:1
Type : static Sub-Type : NA Distance : 1 Metric : 1
Destination : 2620:c::/64
Gateway : 2620:e::55:2
Type : static Sub-Type : NA Distance : 1 Metric : 1