Configuration Guide Configuring IPv6
4291.
eui-64: Indicates the created IPv6 address, consisting of the configured address prefix and 64-bit
interface ID.
Interface configuration mode
If an IPv6 interface is created and is Up state, the system automatically generates a link-local address
for this interface.
The IPv6 address of an interface can also be created by the universal prefix mechanism. That is, IPv6
address = Universal prefix + Sub prefix + Host bits. The universal prefix can be configured by running the
ipv6 general-prefix command or learned by the prefix discovery function of the DHCPv6 client (see the
Configuring DHCPv6). Sub prefix + Host bits are specified by the sub-bits and prefix-length parameters
in the ipv6 address command.
If you run the no ipv6 address command without specifying an address, all manually configured
addresses will be deleted.
Run the no ipv6 address ipv6-prefix/prefix-length eui-64 command to delete the configured address.
Configuration
Example
 Configuring an IPv6 Address on an Interface
Enable IPv6 on the GigabitEthernet 0/0 interface and add IPv6 address 2000::1 to the interface.
Ruijie(config)#interface gigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 enable
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 address 2000::1/64
Run the show ipv6 interface command to verify that an address is successfully added to the
GigabitEthernet 0/0 interface.
Ruijie(config-if-GigabitEthernet 0/0)#show ipv6 interface gigabitEthernet 0/0
interface GigabitEthernet 0/0 is Down, ifindex: 1, vrf_id 0
address(es):
Mac Address: 00:00:00:00:00:00
INET6: FE80::200:FF:FE00:1 [ TENTATIVE ], subnet is FE80::/64
INET6: 2000::1 [ TENTATIVE ], subnet is 2000::/64
Joined group address(es):
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND retransmit interval is 1000 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds<160--240>
ND router advertisements live for 1800 seconds