Displaying the IPv6 Local Router Information
A device can function as an IPv6 host, instead of an IPv6 router, if you configure
IPv6 addresses on its interfaces but do not enable IPv6 routing using the
ipv6 unicast-routing command.
From the IPv6 host, you can display information about IPv6 routers to which the host
is connected. The host learns about the routers through their router advertisement
messages. To display information about the IPv6 routers connected to an IPv6 host,
use the
show ipv6 router command.
- To display information about the IPv6 routers connected to an IPv6 host, use the
show ipv6 routercommand.device> show ipv6 router Router fe80::2e0:80ff:fe46:3431 on Ethernet 50, last update 0 min Hops 64, Lifetime 1800 sec Reachable time 0 msec, Retransmit time 0 msec
- If you configure a device to
function as an IPv6 router (you configure IPv6 addresses on its interfaces) and
enable IPv6 routing using the
ipv6 unicast-routingcommand theshow ipv6 routercommand displays the following output.