< Home

ipv6 address eui-64

Function

The ipv6 address eui-64 command configures the EUI-64 global address for an interface.

The undo ipv6 address eui-64 command deletes the configuration.

Format

ipv6 address { ipv6-address prefix-length | ipv6-address /prefix-length } eui-64

undo ipv6 address { ipv6-address prefix-length | ipv6-address /prefix-length } eui-64

Parameters

Parameter Description Value

ipv6-address

Specifies the IPv6 address.

-

prefix-length

Specifies the prefix length of an IPv6 address.

In the EUI-64 address format, it must be less than or equal to 64 bits.

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, VLANIF interface view, Tunnel interface view, Loopback interface view, Dialer interface view, BDIF interface view

Default Level

2: Configuration level

Usage Guidelines

The IPv6 addresses that cannot be assigned to an interface include:
  • Loopback address (::1/128)

  • Unspecified address (::/128)

  • Multicast address

  • Anycast address

  • IPv4-mapped IPv6 address (0:0:0:0:0:FFFF:IPv4-address)

Example

# Configure an IPv6 address in the EUI-64 format for GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] ipv6 enable
[sysname-GigabitEthernet0/0/1] ipv6 address 2001::1/64 eui-64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >