ipv6 address

This topic explains the commands that add or remove a static IPv6 address on the switch.

Syntax

CODE
ipv6 address x:x::x:x prefix <0-128>
no ipv6 address x:x::x:x

Parameter

address x:x::x:x: Specify the IPv6 address for the switch. The IPv6 address is represented by x:x::x:x.

prefix <0-128>: Specify the IPv6 prefix length for the switch. This can be a value from 0 to 128.

Default

No default IPv6 address is configured for the switch.

Mode

Global Configuration

Usage

Use the ipv6 address command to add a static IPv6 address.

Use the no ipv6 address command to remove an IPv6 address.

Example

This example shows how to add a static IPv6 address for the switch:

CODE
Switch(config)# ipv6 address fe80::20e:2eff:fef1:4b3c prefix 128