An IPv6 default gateway should be defined if the destination has been
◆
assigned an IPv6 address that is located in a different IP segment.
◆
An IPv6 default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on the
switch.
Example
The following example defines a default gateway for this device:
Console(config)#ipv6 default-gateway FE80::269:3EF9:FE19:6780%1
Console(config)#
Related Commands
show ipv6 default-gateway (620)
ip default-gateway (602)
This command configures an IPv6 global unicast address and enables IPv6
ipv6 address
on an interface. Use the no form without any arguments to remove all IPv6
addresses from the interface, or use the no form with a specific IPv6 address
to remove that address from the interface.
Syntax
[no] ipv6 address ipv6-address[/prefix-length]
Default Setting
No IPv6 addresses are defined
Command Mode
Interface Configuration (VLAN)
Command Usage
◆
All IPv6 addresses must be according to RFC 2373 "IPv6 Addressing
Architecture," using 8 colon-separated 16-bit hexadecimal values. One
double colon may be used in the address to indicate the appropriate
number of zeros required to fill the undefined fields.
To connect to a larger network with multiple subnets, you must configure a
◆
global unicast address. This address can be manually configured with this
command, or it can be automatically configured using the
autoconfig
ipv6-address - A full IPv6 address including the network prefix and
host address bits.
prefix-length - A decimal value indicating how many contiguous bits
(from the left) of the address comprise the prefix (i.e., the network
portion of the address).
command.
– 612 –
Chapter 25
| IP Interface Commands
ipv6 address
IPv6 Interface