Administrator Guide

Layer 3 Routing Commands 1645
interface-type interface-number
—Valid IPv6 interface. Specifies that the
routes with next-hops on the selected interface be displayed. Supported
interface types are VLAN, Tunnel, and Loopback.
best
—Specifies that only the best routes are displayed. If the connected
keyword is selected for protocol, the best option is not available because
there are no best or non-best connected routes.
Default Configuration
This command has no default configuration.
Command Mode
User Exec, Privileged Exec modes, Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
The following example displays the IPv6 address of the default gateway and
the default route associated with the gateway.
console(config)#show ipv6 route
IPv6 Routing Table - 0 entries
Route Codes: C - connected, S - static
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF Ext 1, OE2 - OSPF Ext 2
ON1 - OSPF NSSA Ext Type 1, ON2 - OSPF NSSA Ext Type 2
Default gateway is 10.1.20.1
S 0.0.0.0/0 [254/0] via 10.1.20.1
C 10.1.20.0/24 [0/1] directly connected, vlan2
C 20.1.20.0/24 [0/1] directly connected, vlan4
show ipv6 route preferences
Use the show ipv6 route preferences command in Privileged Exec mode to
show the preference value associated with the type of route. Lower numbers
have a greater preference.
2CSNXXX_SWUM204.book Page 1645 Monday, January 25, 2016 1:25 PM