Administrator Guide

Layer 3 Routing Commands 1585
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 to show the preference value
associated with the type of route. Lower numbers have a greater preference.
Syntax
show ipv6 route preferences
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
The following example shows the preference value associated with the type of
route.
console#show ipv6 route preferences
Local.......................................... 0