Enabling IPv6 routing

  1. On each VLAN, configure stateless address autoconfiguration and at least one IPv6 global unicast address:
  2. vlan n ipv6 address autoconfig
  3. vlan n ipv6 address prefix/prefix-length eui-64
  4. These commands result in a link-local address and a global unicast address having an interface ID derived from the routing switch's MAC address.
  5. Suppress automatic (default) RAs on VLAN interfaces where you need to make configuration changes or where you do not currently want these advertisements generated:
    • To globally suppress RAs on the routing switch, use this command in the global config context:

    • To suppress RAs on individual VLANs, use this command in the context of each VLAN where you want the advertisements suppressed:ipv6 nd ra suppressThe no form of the above two suppress commands disables RA suppression. For more information on RAs, see IPv6 router advertisements.

  6. Enable IPv6 routing. (This command enables RA transmission on any VLAN where RAs are not suppressed.)
  7. ipv6 unicast-routing
  8. For nondefault RA operation, configure RAs per-VLAN, including suppression of RAs on any VLANs where you do not want the routing switch to transmit RAs.
  9. Configure one or more of the following routing features: