IPv6 Interface Address

One or more unicast IPv6 addresses and a single link local address can be configured for an interface using the ipv6 address command in interface configuration mode.

Link local addresses are network addresses which are intended only for communications within one segment of a local network (a link) or a point-to-point connection. They allow addressing hosts without using a globally-routable address prefix. Routers will not forward packets with link-local addresses. A link local address must begin with “fe80:”.

An interface can be configured to have its IPv6 address auto acquired using the autoconfig option.

A single link local address is supported per interface. If IPv6 autoconfiguration is enabled, the link local address is autoconfigured. When manually configuring a link local address, if a link local address already exists on the interface, a warning displays asking you if you wish to change it.

EUI-64 is an IPv6 address automatic interface addressing capability. By implementing the IEEE's 64-bit Extended Unique Identifier (EUI-64) format, a host can automatically assign itself a unique 64-bit IPv6 interface identifier without the need for manual configuration or DHCP. This is accomplished on Ethernet interfaces by referencing the already unique 48-bit MAC address and reformatting that value to match the EUI-64 specification as specified in RFC 2373. When configuring an EUI-64 address, the specified prefix must have a length of 64.

A general prefix allows an assigned name to represent a network prefix from which longer IPv6 addresses can be configured. The sub-bits added to the general prefix can both extend the network prefix by adding to the specified prefix length, as well as complete the IPv6 address.

Use the ipv6 general-prefix command to configure a general prefix. See IPv6 General Prefix for general prefix details.

Use the show ipv6 interface command to display IPv6 addresses assigned by the ipv6 address command.

See IPv4 Interface Address for IPv4 address configuration information.

The no ipv6 address command removes the specified IPv6 address configuration for this interface.

IPv6 General Prefix

The general prefix is an ease of use feature that allows an assigned name to represent a network prefix from which longer IPv6 addresses can be configured. Network renumbering is simplified by redefining the general prefix, thereby changing the portion of addresses to which the general prefix is assigned.

When using a general prefix to configure an IPv6 address, you can extend the network prefix by adding to the length specified in the ipv6 address command.

Deleting a general prefix does not delete the underlying addresses defined by the general prefix. Any IPv6 addresses based upon the general prefix remain. Use the no ipv6 address command to remove the IPv6 address.

The S- K- and 7100-Series supports the configuration of up to 64 general prefixes on a system.

The following example creates a general prefix named “Doc-Prefix” with a prefix value of 2001:11ac:fd34::/48 and assigns the IPv6 address 2001:11ac:fd34:50:0:0:abcd:33 to VLAN 51. The general prefix Doc-Prefix is followed by ::50:0:0:abcd:33/64. The subnet length is changed to /64 adding :50 to the general prefix to create a network prefix of 2001:11ac:fd34:50/64 for this IPv6 address:

System(su)->configure
System(su-config)->ipv6 general-prefix Doc-Prefix 2001:11ac:fd34::/48
System(su-config)->show ipv6 general-prefix
  ipv6 general-prefix Doc-Prefix 2001:11ac:fd34::/48
System(su-config)->interface vlan 51
System(su-config-intf-vlan.0.51)->ipv6 address Doc-Prefix ::50:0:0:abcd:33/64
System(su-config-intf-vlan.0.51)->show ipv6 interface vlan.0.51
 vlan.0.51 is Operationally down, Administratively down
  IPv6 is enabled link-local address is fe80::211:88ff:fe7c:32c1%vlan.0.51
  Global unicast address(es):
    2001:11ac:fd34:50:0:0:abcd:33, subnet is 2001:11ac:fd34:50::/64
...
System(su-config-intf-vlan.0.51)->