# Configuring an IPv6 address for a VLAN

Use this procedure to assign site-local or global IPv6 addresses to a VLAN, enabling IPv6 routing for the interface.

## Procedure steps

1. From the navigation tree, double-click IPv6.

2. Double-click IPv6.

3. Click the Addresses tab.

4. Click Insert.

5. In the IfIndex box, click VLAN , and select a VLAN.

6. Edit the remaining fields.

7. Click Insert .

8. Click Apply .

## Variable definitions

The following table describes the fields of the Addresses tab.

Variable | Value
--- | ---
IfIndex | The index value that uniquely identifies the interface to which this entry applies.
Addr | The IPv6 address to which this entry addressing information pertains. Important If the IPv6 address exceeds 116 octets, the object identifiers (OIDS) of instances of columns in this row are more than 128 subidentifiers and you cannot use SNMPv1, SNMPv2c, or SNMPv3 to access them.
AddrLen | The prefix length value for this address. You cannot change the address length after you create it. You must provide this value to create an entry in this table.
Type | The type of address: unicast or anycast. The default is unicast.
Origin | A read-only value indicating the origin of the address. The origin of the address is other, manual, dhcp, linklayer, or random.
Status | A read-only value indicating the status of the address, describing whether the address is used for communication. The status is preferred (default), deprecated, invalid, inaccessible, unknown, tentative, or duplicate.