ipv6 default-gateway
Global configuration mode
A device should have an IPv6 default gateway, for the following reasons:
- Although IPv6 discovers neighbors and routes dynamically, in some cases Router Advertisement (RA) and Router Solicitation (RS) operations are disabled and a default gateway is required to send traffic.
- Management devices (for example, TFTP servers, Telnet or SSH clients) are not members of the same subnet as the management IPv6 address.
If a management VLAN is not configured, the device can have only one IPv6 default gateway in the global configuration.
default-ipv6-gateway command in VLAN configuration mode), the device can have a maximum of 5 IPv6 default
gateways with a metric (1 through 5) under the management VLAN.
Configured gateway addresses and the default gateway address must be in same subnet.
Use the
no form of the command to remove the IPv6 address and disable the default gateway.
The following example configures the IPv6 address of the IPv6 default gateway without a management VLAN configuration.
device# configure terminal device(config)# ipv6 default-gateway 2001:DB8::/32
| Release version | Command history |
|---|---|
| 08.0.50 | This command was introduced. |