ipv6 enable

Enables IPv6.
Syntax
ipv6 enable
no ipv6 enable
Command Default

IPv6 is enabled by default in the Layer 2 switch code.

IPv6 is disabled by default in the router code.

Modes

Global configuration mode

Interface configuration mode

Usage Guidelines

IPv6 is enabled by default in the Layer 2 switch code. If desired, you can disable IPv6 on a global basis on a device running the switch code.

IPv6 is disabled by default in the router code and must be configured on each interface that will support IPv6. In router code, the ipv6 enable command enables IPv6 on the switch and specifies that the interface is assigned an automatically computed link-local address

Before an IPv6 ACL can be applied to an interface, it must first be created, and then IPv6 must be enabled on that interface.

The no form of the command disables IPv6 on the interface.

Examples

The following example re-enables the IPv6 after it has been disabled.

device(config)# ipv6 enable

The following example enables IPv6 on Ethernet interface 1/1/1.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ipv6 enable