Enabling IPv6 routing
The following steps provide a guide for enabling IPv6 routing on the switches covered by this guide
Procedure
-
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.
-
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:
- To globally suppress routing advertisements on the routing switch, use this command in the
global config context:
ipv6 nd suppress–ra
- 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 twosuppress
commands disables RA suppression. For more on RAs, see IPv6 Router Advertisements (RAs).
- To globally suppress routing advertisements on the routing switch, use this command in the
-
Enable IPv6 routing. (This command enables RA transmission on any IP routing interface where RAs are not specifically suppressed.)
ipv6 unicast–routing
- 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))
-
Configure one or more of the following routing features:
- IPv6 static routing, see IPv6 Static Routing.
- DHCPv6-Relay, see DHCPv6-Relay.