Enabling IPv6 routing
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
- 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.
- 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 suppress
Theno
form of the above twosuppress
commands disables RA suppression. For more information on RAs, see IPv6 router advertisements.
- Enable IPv6 routing. (This command enables RA transmission on any VLAN where RAs are not suppressed.)
ipv6 unicast-routing
- 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.
- Configure one or more of
the following routing features:
IPv6 static routing. See IPv6 static routing.
DHCPv6-relay. See DHCPv6-relay.
OSPFv3. See OSPFv3 routing.