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
Codes: C - connected, S - static
Route
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
0.0.0.0/0 [254/0] via 10.1.20.1
S
10.1.20.0/24 [0/1] directly connected,
C
20.1.20.0/24 [0/1] directly connected,
C
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.
Syntax
show ipv6 route preferences
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
IPv6 Routing Commands
vlan2
vlan4
1005