If the
ipv6 address autoconfig
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.
[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.
SWR2311P(config)#interface vlan1
SWR2311P(config-if)#ipv6 address 2001:db8:1::2/64
7.5.3 Set RA for IPv6 address
[Syntax]
ipv6
address
autoconfig
no
ipv6
address
[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.
If the
ipv6 address ipv6_address/prefix_len
command was executed before executing this command, the setting of the
ipv6
address ipv6_address/prefix_len
command is automatically deleted.
If this command is executed with the "no" syntax, the RA setting is deleted.
[Note]
[Example]
Use RA to set the IPv6 address for VLAN #1.
SWR2311P(config)#interface vlan1
SWR2311P(config-if)#ipv6 address autoconfig
7.5.4 Show IPv6 address
[Syntax]
show
ipv6
interface
[
interface
]
brief
[Parameter]
interface
:
VLAN interface name
Interface to show
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the IPv6 address for each interface.
• IPv6 address
• If an IPv6 address has not been set, this will be "unassigned."
• Physical layer status
• Data link layer status
If an interface is specified, information for that interface is shown. If the interface is omitted, information is shown for all
interfaces for which an IPv6 address is specified.
[Note]
An error occurs if the specified interface is one to which an IPv6 address cannot be assigned.
[Example]
Show the IPv6 address for all VLAN interface.
200
| Command Reference | Layer 3 functions