
Chapter 27
| IP Interface Commands
IPv6 Interface
– 758 –
Command Usage
◆
The prefix must be formatted 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.
◆
If a link local address has not yet been assigned to this interface, this command
will dynamically generate a global unicast address and a link-local address for
this interface. (The link-local address is made with an address prefix of FE80 and
a host portion based the switch’s MAC address in modified EUI-64 format.)
◆
Note that the value specified in the ipv6-prefix may include some of the high-
order host bits if the specified prefix length is less than 64 bits. If the specified
prefix length exceeds 64 bits, then the network portion of the address will take
precedence over the interface identifier.
◆
If a duplicate address is detected, a warning message is sent to the console.
◆
IPv6 addresses are 16 bytes long, of which the bottom 8 bytes typically form a
unique host identifier based on the device’s MAC address. The EUI-64
specification is designed for devices that use an extended 8-byte MAC address.
For devices that still use a 6-byte MAC address (also known as EUI-48 format), it
must be converted into EUI-64 format by inverting the universal/local bit in the
address and inserting the hexadecimal number FFFE between the upper and
lower three bytes of the MAC address.
◆
For example, if a device had an EUI-48 address of 28-9F-18-1C-82-35, the
global/local bit must first be inverted to meet EUI-64 requirements (i.e., 1 for
globally defined addresses and 0 for locally defined addresses), changing 28 to
2A. Then the two bytes FFFE are inserted between the OUI (i.e., company id)
and the rest of the address, resulting in a modified EUI-64 interface identifier of
2A-9F-18-FF-FE-1C-82-35.
◆
This host addressing method allows the same interface identifier to be used on
multiple IP interfaces of a single device, as long as those interfaces are attached
to different subnets.
Example
This example uses the network prefix of 2001:0DB8:0:1::/64, and specifies that the
EUI-64 interface identifier be used in the lower 64 bits of the address.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address 2001:0DB8:0:1::/64 eui-64
Console(config-if)#end
Console#show ipv6 interface
VLAN 1 is up
IPv6 is enable.
Link-local address:
2001:db8:0:1:2e0:cff:fe02:fd/64, subnet is 2001:db8:0:1::/64[EUI]
2001:db8:2222:7272::72/96, subnet is 2001:db8:2222:7272::/96
Joined group address(es):
ff02::2
Summary of Contents for AS5700-54X
Page 42: ...Contents 42...
Page 44: ...Figures 44...
Page 52: ...Tables 52...
Page 54: ...Section I Getting Started 54...
Page 80: ...Chapter 1 Initial Switch Configuration Setting the System Clock 80...
Page 210: ...Chapter 6 Remote Monitoring Commands 210...
Page 358: ...Chapter 9 Access Control Lists ACL Information 358...
Page 418: ...Chapter 12 Port Mirroring Commands RSPAN Mirroring Commands 418...
Page 436: ...Chapter 15 UniDirectional Link Detection Commands 436...
Page 442: ...Chapter 16 Address Table Commands 442...
Page 506: ...Chapter 18 VLAN Commands Configuring VXLAN Tunneling 506...
Page 526: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 526...
Page 544: ...Chapter 20 Quality of Service Commands 544...
Page 652: ...Chapter 22 Multicast Filtering Commands MLD Proxy Routing 652...
Page 680: ...Chapter 23 LLDP Commands 680...
Page 722: ...Chapter 24 CFM Commands Delay Measure Operations 722...
Page 732: ...Chapter 25 Domain Name Service Commands 732...
Page 790: ...Chapter 27 IP Interface Commands ND Snooping 790...
Page 1072: ...Section III Appendices 1072...
Page 1102: ...List of CLI Commands 1102...
Page 1115: ......
Page 1116: ...AS5700 54X AS6700 32X E032016 ST R02 149100000198A...