ipv6 address <global-unicast-address>
Syntax
ipv6 address <global-unicast-address>
no ipv6 address <global-unicast-address>
Description
Sets a global unicast address on the interface.
The
no
form of this command removes the global unicast address on the interface.
This command automatically creates an IPv6 link-local address on the interface. However, it does not add the
ipv6 address link-local
command to the running configuration. If you remove the IPv6 address, the link-local address is also removed. To maintain the link-local address, you must manually execute the
ipv6 address link-local
command.
Command context
config-if
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators 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