Configuring IPv6 router advertisement
When IPv6 unicast routing is enabled on the routing switch, RAs are transmitted on all IPv6-enabled VLANs or tunnels unless explicitly suppressed globally or per-VLAN. The following steps provide a general outline of the steps for configuring the routing switch for nondefault RA operation on all IPv6-enabled VLANs or tunnels:
- Enable IPv6 routing on your network.
-
Enable IPv6 unicast routing. (This must be enabled to allow configuration of other routing protocols).
Switch(config)# ipv6 unicast-routing
. -
Configure the desired per-VLAN or per-tunnel RA operation:
- Use the M-bit and O-bit settings to specify the source for IPv6 host configuration; see page VLAN or tunnel context ND configuration:
- M-bit setting:
Get configuration from RAs (default).
Get configuration from DHCPv6.
- O-bit setting (applies only if M-bit setting is left in default state):
Use RA source for global unicast prefixes (default).
Do not use the RA for nonprefix configuration.
- Configure global unicast prefix assignments.
Specify any prefixes not configured on the routing switch VLAN or tunnel interface that should be transmitted in RAs to IPv6 hosts on the VLAN.
Deny any prefixes configured on the routing switch VLAN or tunnel interface that should not be transmitted in RAs to IPv6 hosts on the VLAN. Default: Global unicast prefixes configured on the routing switch VLAN interface are included in RAs.
- Configure the maximum and minimum interval for transmitting router advertisements on the VLAN; see page ipv6 nd ra prefix.NOTE:
The routing switch also transmits RAs when it receives router solicitations from a host. Autoconfiguration must be enabled on the host before it will generate router solicitations on the VLAN or tunnel.
- Configure the ND policy for hosts on the VLAN or tunnel to use:
Hop-limit; Default; 64, see page ipv6 nd ra hop-limit.
Default router lifetime; Default: 1800 seconds, see page ipv6 nd ra prefix.
Reachable time duration to advertise for confirmed neighbors; Default: unspecified (0); see page ipv6 nd ra ns-interval.
Retransmit time to advertise for neighbor solicitations; Default: unspecified (0); see page ipv6 nd ra ns-interval.
- Configure per-VLAN RA suppression for any VLAN or tunnel on which you do not want the routing switch to transmit RAs. See page show ipv6 nd ra.
Switch(vlan-1)# ipv6 nd ra suppress Switch(tunnel-3)# ipv6 nd ra suppress