Configures the IPv6 address for the interfaces.
Interface config mode
This command is available only to users with admin role.
This command is supported on management interfaces.
Only valid unicast IP addresses are supported, multicast IP addresses are not supported.
The command no ipv6 address removes the IPv6 address configured on the interface.
The command no ipv6 address dhcp removes the DHCP IPv6 address configured on the interface.
The following example configures the IPv6 address.
device# configure terminal device(config)# interface management 0 device(config-if-mgmt-0)# ipv6 address 2001:db8:fe::100/120 device# show running interface management 0 interface management 0 ipv6 address 2001:db8:fe::100/120 shutdown device(config-if-mgmt-0)# ipv6 address ff00:0:0:0:0:0:0:0/8 Error: Not a unicast IP address
The following example configures the DHCP IPv6 address.
device# configure terminal device(config)# interface management 0 device(config-if-mgmt-0)# ipv6 address dhcp device# show running interface management 0 interface management 0 ipv6 address dhcp shutdown device(config-if-mgmt-0)# ipv6 address dhcp Error: IPv6 Address already configured.