User Manual

Chapter 7
IPv6
7.1 IPv6 address management
7.1.1 Set enable/disable IPv6
[Syntax]
ipv6 enable
no ipv6
[Initial value]
no ipv6
[Input mode]
interface mode
[Description]
Enables IPv6 for the VLAN interface and automatically sets the link local address.
IPv6 can be enabled only for one VLAN interface.
If the ipv6 enable command has already been specified for a certain VLAN interface, and you then specify the ipv6 enable
command for a different VLAN interface, the old setting is automatically deleted.
If this command is executed with the "no" syntax, IPv6 is disabled. At this time, the related settings are also deleted.
[Note]
The automatically-specified link local address can be viewed by using the show ipv6 interface brief command.
IPv6 is enabled for VLAN #1 by default.
[Example]
Enable IPv6 for VLAN #1.
SWP1(config)#interface vlan0.1
SWP1(config-if)#ipv6 enable
7.1.2 Set IPv6 address
[Syntax]
ipv6 address ipv6_address/prefix_len
no ipv6 address
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
prefix_len : <1-127>
IPv6 prefix length
[Input mode]
interface mode
[Description]
Specifies the IPv6 address and prefix length for the VLAN interface.
The IPv6 address can be specified only for the ipv6 enable for which the ipv6 enable command has been specified.
Only one IPv6 address can be specified for a single VLAN interface.
If the ipv6 address autoconfig command was executed before executing this command, the setting of the ipv6 address
autoconfig command is automatically deleted
If this command is executed with the "no" syntax, the specified IPv6 address is deleted.
[Example]
Specify 2001:db8:1::2 as the IPv6 address for VLAN #1.
66 | Command Reference |
IPv6