ipv6 address
Use this command to set the IPv6 address of an interface.
Use the no form of this command to disable this function.
Note: This command is also used to configure an IPv6 link-local address for an interface.
Command Syntax
ipv6 address X:X::X:X/M
ipv6 address X:X::X:X/M anycast
no ipv6 address X:X::X:X/M
Parameters
X:X::X:X/M
IP destination prefix and a mask length.
anycast
Make an anycast address which is assigned to a set of interfaces that belong to different devices. A packet sent to an anycast address is delivered to the closest interface (as defined by the routing protocols in use) identified by the anycast address
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth3
(config-if)#ipv6 address 3ffe:506::1/64
#configure terminal
(config)#interface eth4
(config-if)#ipv6 address fe80::ab8/64
Last modified date: 10/19/2023