User Manual

Table Of Contents
7.6.2 Set IPv6 address
[Syntax]
ipv6 address
ipv6_address/prefix_len
no ipv6 address ipv6_address/prefix_len
no ipv6 address
[Parameter]
ipv6_address : X:X::X:X
IPv6 address
prefix_len : <0-127>
IPv6 prefix length
[Input mode]
interface mode
[Description]
Specifies the IPv6 address and prefix length for the VLAN interface.
An IPv6 address can be set for a VLAN interface for which the ipv6 enable command has been set.
This command can be used with the ipv6 address autoconfig, ipv6 address dhcp and ipv6 address pd commands.
For IPv6 addresses, up to five global addresses (including RA settings, DHCPv6 clients and the settings for IPv6 addresses that
use DHCPv6-PD) and one link local address can be set in one VLAN interface.
Up to 8 IPv6 addresses can be configured for the system overall (excepting link local addresses that are automatically assigned).
If this command is executed with the "no" syntax, the specified IPv6 address is deleted. If no IPv6 address is specified, all IPv6
addresses (including RA settings, DHCPv6 clients and the settings for IPv6 addresses that use DHCPv6-PD) are deleted.
[Note]
It is not possible to assign an IPv6 address of the same subnet to multiple interfaces.
[Example]
Specify 2001:db8:1::2 as the IPv6 address for VLAN #1.
SWP2(config)#interface vlan1
SWP2(config-if)#ipv6 address 2001:db8:1::2/64
7.6.3 Set RA for IPv6 address
[Syntax]
ipv6 address autoconfig
[stateless]
no ipv6 address autoconfig
[Keyword]
stateless : Operates a stateless DHCPv6.
[Initial value]
none
[Input mode]
interface mode
[Description]
Uses RA to specify an IPv6 address for the VLAN interface.
RA can be specified only for the VLAN interface for which the ipv6 enable command has been specified.
This command can be used with the ipv6 address and ipv6 address pd commands.
This cannot be set for VLAN interface that has already been set using the ipv6 address dhcp or dhcpv6-server commands
(only for models that support a DHCPv6 server).
If an RA with a valid router lifetime is received after enabling this command, the address of the device that transmitted the RA
is added to the default gateway.
Also, if an RA with a router lifetime of "0" is received, the address of the device that transmitted the RA is deleted from the
default gateway.
238 | Command Reference |
Layer 3 functions