ipv6 address <global-unicast-address>

Syntax

ipv6 address <global-unicast-address>
no ipv6 address <global-unicast-address>

Description

Sets a user configured global unicast address for an interface. It also internally auto-generates an IPv6 link-local address on the interface.

The no form of this command disables the global unicast address for an interface.

Command context

config-if

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Example

Enabling a global unicast address:

switch(config)# interface 1/1/1
switch(config-if)#  ipv6 address 3731:54:65fe:2::a7

Disabling a global unicast address:

switch(config)# interface 1/1/1
switch(config-if)#  no ipv6 address 3731:54:65fe:2::a7