IPv6 Commands
631 OL-32830-01 Command Line Interface Reference Guide
27
• protocol—Displays routes for the specified routing protocol using any of
these keywords: bgp, isis, ospf, or rip; or displays routes for the specified
type of route using any of these keywords: connected, static, nd, or icmp.
• interface
interface-id
—Identifier of an interface.
Default Configuration
All IPv6 routing information for all active routing tables is displayed.
Command Mode
User EXEC mode
Privileged EXEC mode
User Guidelines
This command provides output similar to the show ip route command, except that
the information is IPv6-specific.
When the
ipv6-address
or
ipv6-prefix
/
prefix-length
argument is specified, a
longest match lookup is performed from the routing table and only route
information for that address or network is displayed. When the icmp, nd,
connected, local, or static keywords are specified, only that type of route is
displayed. When the
interface-id
argument are specified, only the specified
interface-specific routes are displayed.
Examples
Example 1. The following is sample output from the show ipv6 route command
when the command is entered without an IPv6 address or prefix specified:
switchxxxxxx#
show ipv6 route
Codes: > - Best
S - Static, I - ICMP Redirect, ND - Router Advertisment
[d/m]: d - route’s distance, m - route’s metric
IPv6 Routing Table - 6 entries
S> ::/0 [1/1]
via fe80::77 VLAN 1
ND> ::/0 [11/0]
via fe80::200:cff:fe4a:dfa8 VLAN 1 Lifetime 1784 sec