DGS-6604
ipv6 address
CLI Reference Guide
330
ipv6 address
This command is used to assign the IPv6 address to an interface of the switch.
The no form of this command deletes the IPv6 address assigned to the interface.
ipv6 address X:X::X:X/M
no ipv6 address [X:X::X:X/M]
Default
None
Command Mode
VLAN interface configuration
Usage Guideline
The VLAN interface must be created first. If IPv6 is disabled, it will be enabled
after the IPv6 address is configured. When using the
no ipv6 address
command
without other parameters, it removes all ipv6 global addresses configured on this
interface.
Example
This example shows how to add an IPv6 address to a VLAN interface:
Syntax Description
X:X::X:X/M
IPv6 network address. This argument must be in the form documented in
RFC2373 where the address is specified in hexadecimal format using a 16-bit
value between colons.
X:X::X:X: IPv6 address
M: IPv6 prefix length, maximum length is 64.
Switch > enable
Switch # configure terminal
Switch (config) # interface vlan1
Switch (config-if) # ipv6 address 3ffe:501:ffff:0:a01:2ff:fe39:1/64
Switch (config-if) #