This section describes the routing configuration of Cisco routers. In each example, ‘configure terminal’ or ‘enable’ is shown to distinguish in which context the commands are used. All levels are shown using indentation. To save redundant explanations, only changes are shown. For example, the command ‘ipv6 unicast-routing’ is only shown once, even if it should be included in all IPv6 Cisco configuration.
Most IPv6 commands are similar to the IPv4 commands, by replacing the ‘ip’ keyword with ‘ipv6’.
If IPv6 forwarding is not explicitly configured, a Cisco IOS router behaves as an IPv6 host and does not forward IPv6 packets. To configure IPv6 forwarding, use the ‘ipv6 unicast-routing’ command.
configure terminal ipv6 unicast-routing
To enable IPv6 Cisco Express Forwarding (CEF) use the ‘ipv6 cef’ statement, but IPv4 CEF must be enabled first using the ‘ip cef’ statement. IPv6 packets with global or site scoped source and destination addresses are CEF switched. IPv6 packets with link-local addresses are not CEF switched.
The following example shows the commands to enable IPv4 and IPv6 CEF.
configure terminal ip cef ipv6 cef
The following example shows the commands to enable IPv4 and IPv6 distributed CEF.
configure terminal ip cef distributed ipv6 cef distributed
Prefix lists are used to filter routes in routing protocols. The ‘ipv6 prefix-list’ command is used with a name to define a prefix list. Actions such ...