Static routes for IPv6 are configured using the ipv6 route global configuration command. Figure 1 shows the simplified version of the command syntax:
Router(config)# ipv6 route ipv6-prefix/prefix-length { ipv6-address | exit-intf }
Most of parameters are identical to the IPv4 version of the command. IPv6 static routes can also be implemented as:
- Standard IPv6 static route
- Default IPv6 static route
- Summary IPv6 static route
- Floating IPv6 static route
As with IPv4, these routes can be configured as recursive, directly connected, or fully specified.
The ipv6 unicast-routing global configuration command must be configured to enable the router to forward IPv6 packets. Figure 2 displays the enabling of IPv6 unicast routing.
Use the Syntax Checker in Figures 3 and 4 to enable IPv6 unicast routing on R2 and R3.