Configuring a Global or Site-Local IPv6 Address with a Manually Configured Interface ID

To configure a global or site-local IPv6 address with a manually-configured interface ID, such as a system-wide address for a switch, enter a command similar to the following at the global configuration level.

device(config)# ipv6 address 2001:DB8:12D:1300:240:D0FF:FE48:4000:1/64

You must specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.

You must specify the prefix-length parameter in decimal value. A slash mark (/) must follow the ipv6-prefix parameter and precede the prefix-length parameter.