ipv6-default-gateway

This command designates the default IPv6 gateway for the Ethernet interface.

Syntax

Designate the default IPv6 gateway
ipv6-default-gateway address
Delete the default IPv6 gateway
no ipv6-default-gateway

Parameters

address
Specifies the IP address of the default IPv6 gateway.

Guidelines

The ipv6-default-gateway command designates the default IPv6 gateway that the interface can reach. Define a default IPv6 gateway if you defined IPv6 IP addresses.

If the interface supports both IP families, use the ipv4-default-gateway command to designate the default IPv4 gateway.

Use the no ipv6-default-gateway command to delete the default IPv6 gateway.

This command is meaningful except in the following situations:
  • You use the link-aggregation-mode command to make the interface part of an aggregate interface.
  • You use the ip-config-mode command to identify autoconfiguration with DHCP or SLAAC.