ipv6 address auto

Syntax

ipv6 address auto

undo ipv6 address auto

View

Interface view

Default level

2: System level

Parameters

None

Description

Use ipv6 address auto to enable the stateless address autoconfiguration function on the interface. With this function enabled, the interface can automatically generate a global unicast address.

Use undo ipv6 address auto to disable this function.

The stateless address autoconfiguration function is disabled by default.

After a global unicast address is generated through stateless autoconfiguration, a link-local address is generated automatically, which can be removed only by executing the undo ipv6 address auto command.

Examples

# Enable stateless address autoconfiguration on VLAN-interface 100.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto