The command used to view IPv6 addresses is termed as ip -6 route show. In output, line 1 is for destinations in the locally attached global unicast address subnets, link -local below line 2 is similar. For the default route mentioned in line3, this configuration arranges for the traffic to go through the router at the link-local address. Here's an example of output:-
::1 dev lo proto kernel metric 256 pref medium 2405:201:401d:9080::/64 dev wlp6s0 proto ra metric 600 pref medium fe80::/64 dev wlp6s0 proto kernel metric 600 pref medium default via fe80::b6a7:c6ff:fef0:baf2 dev wlp6s0 proto ra metric 600 pref high
Shows destination networks, next-hop addresses, and interface information.
Prefix lengths and route attributes are displayed.
May include source-specific routes and special entries like the default route.
Example output:
fe80::/64 dev wlp2s0 proto kernel metric 1024 pref medium
fe80::/64 dev enp1s0 proto kernel metric 1024 pref medium
default via fe80::1 dev enp1s0 proto ra metric 20100 pref medium
default via fe80::1 dev wlp2s0 proto ra metric 20600 pref medium
fe80::/64 dev wlp2s0 proto kernel metric 1024 pref medium: Local link route on wireless interface (wlp2s0), kernel-generated, metric 1024, medium preference.
fe80::/64 dev enp1s0 proto kernel metric 1024 pref medium: Local link route on Ethernet interface (enp1s0), kernel-generated, metric 1024, medium preference.
default via fe80::1 dev enp1s0 proto ra metric 20100 pref medium: Default route via next-hop address fe80::1 on Ethernet interface (enp1s0), RA-generated, metric 20100, medium preference.
default via fe80::1 dev wlp2s0 proto ra metric 20600 pref medium: Default route via next-hop address fe80::1 on wireless interface (wlp2s0), RA-generated, metric 20600, medium preference.