ipv6 address autoconfig
Use this command to enable autoconfiguration of IPv6 address in host interface. IPv6 address are formed using the Prefix learned from RA and suffix formed using EUI-64 method.
Autoconfiguration of IPv6 address is successful when the received prefix length is 64.
Use the command ipv6 address autoconfig max-address <1-64>
to configure the max-address that can be autoconfigured on an interface.
Use the no
form of ipv6 address autoconfig
command to disable the IPv6 address autoconfiguration and max-address if configured.
Use the no
form of ipv6 address autoconfig max-address <1-64>
to unconfigure the max-address configured on an interface and set the max-address to its default value of 15, but the autoconfig configuration remains enabled.
Command Syntax
ipv6 address autoconfig (max-address <1-64>|)
no ipv6 address autoconfig (max-address <1-64>|)
Parameters
max-address <1-64>
(Optional) The minimum number of configurable IPv6 addresses is one and the maximum is 64. The default num
Default
None
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 4.2 and.max-address <1-64>
option is introduced inOcNOS version 6.5.1.
Examples
The below configuration shows how to configure the autoconfig:
OcNOS#configure terminal
OcNOS(config)#interface eth0
OcNOS(config-if)#ipv6 address autoconfig
The below configuration shows how to configure the number of IPv6 addresses with autoconfig:
OcNOS#configure terminal
OcNOS(config)#interface xe1
OcNOS(config-if)#ipv6 address autoconfig max-address 64
OcNOS(config-if)#commit
OcNOS(config-if)#end