Ipv6 default-gateway – Allied Telesis AT-S95 CLI User Manual
Page 147

IPv6 Addressing Commands
Page 147
User Guidelines
Using the no ipv6 address link-local command removes the manually configured link-local IPv6 address from an
interface. When the no ipv6 address link-local command is used, the interface is reconfigured with the standard
link-local address (the same IPv6 link-local address that is set automatically when the enable ipv6 command is
used). The system automatically generates a link-local address for an interface when IPv6 processing is enabled
on the interface. To manually specify a link-local address to be used by an interface, use the ipv6 address link-
local command. The system supports only 64 bits prefix length for link-local addresses.
Example
The following example assigns FE80::260:3EFF:FE11:6770 as the link-local address.
ipv6 default-gateway
The ipv6 default-gateway Global Configuration mode command defines an IPv6 default gateway. Use the no
form of this command to remove the default gateway.
Syntax
•
ipv6 default-gateway ipv6-address
•
no ipv6 default-gateway
Parameters
•
ipv6-address — IPv6 address of the next hop that can be used to reach that network. When the IPv6 address
is a Link-Local address (IPv6Z address), the outgoing interface name must be specified. Refer to the usage
guidelines for the interface name syntax.
Default Configuration
No default gateway is defined.
Command Mode
Global Configuration mode.
User Guidelines
•
The IPv6Z address format: <ipv6-link-local-address>%<interface-name>
–
interface-name — vlan<integer> | ch<integer> | isatap<integer> | <physical-port-name> | 0
–
integer — <decimal-number> | <integer><decimal-number>
–
decimal-number — 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
–
physical-port-name — Designated port number, for example e1.
•
Configuring a new default gateway without deleting the previously configured information overwrites the
previous configuration.
•
A configured default gateway has a higher precedence over one automatically advertised (via router
advertisement message).
console(config)# interface e1
console(config-if)# ipv6 address FE80::260:3EFF:FE11:6770
link-local