R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)
272
Syntax
ipv6 address ipv6-address/prefix-length eui-64
undo ipv6 address ipv6-address/prefix-length eui-64
Default
No EUI-64 IPv6 address is configured for an interface.
Views
Interface view
Default command level
2: System level
Parameters
ipv6-address/prefix-length: Specifies an IPv6 address and its prefix length. The ipv6-address and
prefix-length arguments jointly specify the prefix of an EUI-64 IPv6 address.
Usage guidelines
An EUI-64 IPv6 address is generated based on the specified prefix and the automatically generated
interface identifier and is displayed by using the display ipv6 interface command.
The prefix length of an EUI-64 IPv6 address cannot be greater than 64.
Examples
# Configure an EUI-64 IPv6 address for Ethernet 1/1. The prefix length of the address is the same as that
of 2001::1/64, and the interface ID is generated based on the MAC address of the device.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ipv6 address 2001::1/64 eui-64
ipv6 address link-local
Use ipv6 address link-local to configure a link-local address for the interface.
Use undo ipv6 address link-local to remove the configured link-local address for the interface.
Syntax
ipv6 address ipv6-address link-local
undo ipv6 address ipv6-address link-local
Views
Interface view
Default command level
2: System level
Parameters
ipv6-address: Specifies an IPv6 link-local address. The first 10 bits of an address must be 1111111010
(binary). The first group of hexadecimals in the address must be FE80 to FEBF.
Usage guidelines
Manual assignment takes precedence over automatic generation. If you first adopt automatic generation
and then manual assignment, the manually assigned link-local address overwrites the automatically










