Assigning IPv6 addresses to a brouter port or VLAN
Assign IPv6 addresses to interfaces to configure IPv6 routing for the interface.
Procedure
Example
Assign an IPv6 address specifying the full 128 bits of the address:
Switch:1(config-if)#ipv6 interface address 30:0:0:0:0:0:0:ffff/64
Assign an IPv6 address specifying only the upper 64 bits of the address:
Switch:1(config-if)#ipv6 nd prefix-interface <prefix> eui <1–3>
In this example you specify only the upper 64 bits of the address and allow the system to auto-generate the lower 64 bits from the MAC address.
Variable Definitions
The following table defines parameters for the ipv6 interface address command.
Variable |
Value |
---|---|
WORD<0–255> |
Specifies the IPv6 address for the port or VLAN. |
The following table defines parameters for the interface command.
Variable |
Value |
---|---|
<1-4059> |
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. |
{slot/port[/sub-port][-slot/port[/sub-port]][,...]} |
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |