Viewing IPv6 default routers

View the table of default routers learned from router advertisement messages.

A maximum of four routers are visible in the default routers list.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Show IPv6 default routers:

    show ipv6 default-routers

Example

Switch:1#show ipv6 default-routers
=====================================================                            
                   Default Routers
NET ADDRESS                     VLAN   LIFETIME     IS ACTIVE
--------------------------------------------------------------
fe80::211:58ff:fe2b:fc00        mgmt     1778             YES
fe80::215:e8ff:fe6e:2800        mgmt     1657              NO

Job aid

The following table describes the fields in the output for the show ipv6 default-routers command.

Parameter

Description

net address

Shows the IPv6 router address received from a valid router advertisement.

VLAN <1–4059>

Shows the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. If you enable VRF scaling and SPBM mode, the system also reserves VLAN IDs 3500 to 3999. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

LIFETIME

Shows the value placed in the router lifetime field of router advertisements. This value must be either 0 or between 4 and 9000. A value of zero indicates that the system is not a default router.

The default is 1800.

IS ACTIVE

Shows if the default router is active or inactive.