Enabling IPv6 routing

The following steps provide a guide for enabling IPv6 routing on the switches covered by this guide

  1. On each VLAN configure stateless address autoconfiguration and at least one IPv6 global unicast address:

    vlan <n> ipv6 address autoconfig

    vlan <n> ipv6 address <prefix>/<prefix–length> eui–64

    The above commands result in a link-local address and a global unicast address having an interface ID derived from the routing switch’s MAC address. For more on this topic, or to manually configure link-local and global unicast addressing with a non-EUI interface ID, see Statically configuring a link-local unicast address.

  2. Suppress automatic (default) RAs on IP routing interfaces where you need to make configuration changes or where you do not currently want these advertisements generated:
    1. To globally suppress routing advertisements on the routing switch, use this command in the
      global config context: ipv6 nd suppress–ra
    2. To suppress routing advertisements on individual IP routing interfaces, use this command in the context of each IP routing interface where you want the advertisements suppressed:
      ipv6 nd ra suppress

      The no form of the above two suppress commands disables RA suppression. For more on RAs, see IPv6 Router Advertisements (RAs).

  3. Enable IPv6 routing. (This command enables RA transmission on any IP routing interface where RAs are not specifically suppressed.)

    ipv6 unicast–routing

  4. For nondefault RA operation, configure RAs per-IP routing interface, including suppression of RAs on any IP routing interfaces where you do not want the routing switch to transmit RAs. (See IPv6 Router Advertisements (RAs))
  5. Configure one or more of the following routing features:
    1. IPv6 static routing, see IPv6 Static Routing.
    2. DHCPv6-Relay, see DHCPv6-Relay.