Configure Global and Link-local IPv6 Addresses

About this task

Configure global and link-local IPv6 addresses at the interface level. Link-local addresses are not forwarded outside the local network.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access interface configuration mode.
    device(config)# interface ethernet 0/1
  3. Configure a global IPv6 address for the interface.
    device(conf-if-eth-0/1)# ipv6 address 2001:DB8:12D:1300:240:D0FF:FE48:4672/64
  4. Configure a link-local IPv6 address for the interface.
    device(config-if-eth-0/1)# ipv6 address FE80::240:D0FF:FE48:4672 link-local
  5. Return to Privileged EXEC mode.
    device(config-if-eth-0/1)# end