4.1.5. ipv6 address

Syntax

ipv6 address ipv6-addr

no ipv6 address

Parameter


ipv6-addr Manually configured ipv6 address


Default

The vlan interface are not configured by default.Ipv6 is disabled.

Mode

Global configuration and vlan interface configuration.

Usage

Use the ipv6 address command in vlan interface mode to config a manual ipv6 address. Use the no ipv6 address command in vlan interface mode to delete all manual ipv6 addresses on this vlan interface. You can verify your setting by entering the show ipv6 interface vlan Privileged EXEC command.

Example

The following example shows how to config ip interface.

Switch(config)# interface vlan 2
Switch(config-if)# ipv6 address 2001:01::01:01/64
Switch# show ipv6 interface vlan 2
VLAN 2 is up/up
IPv6 is enabled, link-local address is fe80::2e0:4cff:fe00:0
IPv6 Forwarding is enabled
Global unicast address(es):
IPv6 Global Address Type
2001:1::1:1/64 Manual
Joined group address(es):
ff02::1:ff01:1
ff02::1:ff00:0
ff02::1
ff01::1
ND DAD is enabled, number of DAD attempts: 1
Stateless autoconfiguration is enabled