Disabling IPv6 on a Layer 2 Switch

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. To disable IPv6 , enter the following command in global configuration mode.

device(config)# no ipv6 enable

To re-enable IPv6 after it has been disabled, enter ipv6 enable.

Note: IPv6 is disabled by default in the router code and must be configured on each interface that will support IPv6.