The Open Shortest Path First version 3 (OSPFv3) address families feature enables both IPv4 and IPv6 unicast traffic to be supported. With this feature, users may have two router processes per interface, but only one process per address family (AF).
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for OSPFv3 Address Families
To use the IPv4 unicast address families (AF) in OSPFv3, you must enable IPv6 on a link, although the link may not be participating in IPv6 unicast AF.
With the OSPFv3 Address Families feature, users may have two router processes per interface, but only one process per AF. If the AF is IPv4, an IPv4 address must first be configured on the interface, but IPv6 must be enabled on the interface.
The OSPFv3 address families feature enables both IPv4 and IPv6 unicast traffic to be supported. With this feature, users may have two router processes per interface, but only one process per AF. If the IPv4 AF is used, an IPv4 address must first be configured on the interface, but IPv6 must be enabled on the interface. A single IPv4 or IPv6 OSPFv3 process running multiple instances on the same interface is not supported.
Users with an IPv6 network that uses OSPFv3 as its IGP may want to use the same IGP to help carry and install IPv4 routes. All routers on this network have an IPv6 forwarding stack. Some (or all) of the links on this network may be allowed to do IPv4 forwarding and be configured with IPv4 addresses. Pockets of IPv4-only routers exist around the edges running an IPv4 static or dynamic routing protocol. In this scenario, users need the ability to forward IPv4 traffic between these pockets without tunneling overhead, which means that any IPv4 transit router has both IPv4 and IPv6 forwarding stacks (e.g., is dual stack).
This feature allows a separate (possibly incongruent) topology to be constructed for the IPv4 AF. It installs IPv4 routes in IPv4 RIB, and then the forwarding occurs natively. The OSPFv3 process fully supports an IPv4 AF topology and can redistribute routes from and into any other IPv4 routing protocol.
An OSPFv3 process can be configured to be either IPv4 or IPv6. The
address-family command is used to determine which AF will run in the OSPFv3 process, and only one address family can be configured per instance. Once the AF is selected, users can enable multiple instances on a link and enable address-family-specific commands.
Different instance ID ranges are used for each AF. Each AF establishes different adjacencies, has a different link state database, and computes a different shortest path tree. The AF then installs the routes in AF-specific RIB. LSAs that carry IPv6 unicast prefixes are used without any modification in different instances to carry each AFs' prefixes.
The IPv4 subnets configured on OSPFv3-enabled interfaces are advertised through intra-area prefix LSAs, just as any IPv6 prefixes. External LSAs are used to advertise IPv4 routes redistributed from any IPv4 routing protocol, including connected and static. The IPv4 OSPFv3 process runs the SPF calculations and finds the shortest path to those IPv4 destinations. These computed routes are then inserted in the IPv4 RIB (computed routes are inserted into an IPv6 RIB for an IPv6 AF).
Because the IPv4 OSPFv3 process allocates a unique pdbindex in the IPv4 RIB, all other IPv4 routing protocols can redistribute routes from it. The parse chain for all protocols is same, so the
ospfv3 keyword added to the list of IPv4 routing protocols causes OSPFv3 to appear in the
redistribute command from any IPv4 routing protocol. With the
ospfv3 keyword, IPv4 OSPFv3 routes can be redistributed into any other IPv4 routing protocol as defined in the
redistributeospfv3 command.
The OSPFv3 address families feature is supported as of Cisco IOS XE Release 3.4S. Cisco routers that run software older than this release and third-party routers will not neighbor with routers running the AF feature for the IPv4 AF because they do not set the AF bit. Therefore, those routers will not participate in the IPv4 AF SPF calculations and will not install the IPv4 OSPFv3 routes in the IPv6 RIB.
Once you have completed step 3 and entered OSPFv3 router configuration mode, you can perform any of the subsequent steps in this task as needed to configure OSPFv3 router configuration.
Configures the number of incoming packets that the IPv4 OSPFv3 process can keep in its queue.
Step 13
router-id {router-id}
Example:
Router(config-router)# router-id 10.1.1.1
Use a fixed router ID.
Configuring the IPv6 Address Family in OSPFv3
Perform this task to configure the IPv6 address family in OSPFv3. Once you have completed step 4 and entered IPv6 address-family configuration mode, you can perform any of the subsequent steps in this task as needed to configure the IPv6 AF.
Perform this task to configure the IPv4 address family in OSPFv3. Once you have completed step 4 and entered IPv4 address-family configuration mode, you can perform any of the subsequent steps in this task as needed to configure the IPv4 AF.
Enables OSPFv3 on an interface with the IPv4 or IPv6 AF.
or
Enables OSPFv3 on an interface.
Defining an OSPFv3 Area Range for the IPv6 or IPv4 Address Family
The cost of the summarized routes will be the highest cost of the routes being summarized. For example, if the following routes are summarized:
OI 2001:DB8:0:7::/64 [110/20]
via FE80::A8BB:CCFF:FE00:6F00, GigabitEthernet0/0/0
OI 2001:DB8:0:8::/64 [110/100]
via FE80::A8BB:CCFF:FE00:6F00, GigabitEthernet0/0/0
OI 2001:DB8:0:9::/64 [110/20]
via FE80::A8BB:CCFF:FE00:6F00, GigabitEthernet0/0/0
They become one summarized route, as follows:
OI 2001:DB8::/48 [110/100]
via FE80::A8BB:CCFF:FE00:6F00, GigabitEthernet0/0/0
Before You Begin
OSPFv3 routing must be enabled.
SUMMARY STEPS
1.enable
2.configureterminal
3.routerospfv3[process-id]
4.address-familyipv6unicast
5.areaarea-IDrangeipv6-prefix
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
routerospfv3[process-id]
Example:
Router(config)# router ospfv3 1
Enables OSPFv3 router configuration mode for the IPv4 or IPv6 address family.
Device# show ospfv3
Routing Process "ospfv3 1" with ID 10.0.0.1
Supports IPv6 Address Family
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x000000
Number of areas in this router is 0. 0 normal 0 stub 0 nssa
Graceful restart helper support enabled
Reference bandwidth unit is 100 mbps
Relay willingness value is 128
Pushback timer value is 2000 msecs
Relay acknowledgement timer value is 1000 msecs
LSA cache Disabled : current count 0, maximum 1000
ACK cache Disabled : current count 0, maximum 1000
Selective Peering is not enabled
Hello requests and responses will be sent multicast
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1
Feature Information for OSPFv3 Address Families
Feature Name
Releases
Feature Information
OSPFv3 Address Families
Cisco IOS XE Release 3.4S
The OSPFv3 address families feature enables IPv4 and IPv6 unicast traffic to be supported with a single network topology.
The following commands were introduced or modified:
address-family ipv4 (OSPFv3),
address-family ipv6 (OSPFv3),
area (OSPFv3),
auto-cost (OSPFv3),
bfd all-interfaces (OSPFv3),
clear ospfv3 counters,
clear ospfv3 force-spf,
clear ospfv3 process,
clear ospfv3 redistribution,
clear ospfv3 traffic,
debug ospfv3,
debug ospfv3 database-timer rate-limit,
debug ospfv3 events,
debug ospfv3 lsdb,
debug ospfv3 packet,
debug ospfv3 spf statistic,
default (OSPFv3),
default-information originate (OSPFv3),
default-metric (OSPFv3),
distance (OSPFv3),
distribute-list prefix-list (OSPFv3),
event-log (OSPFv3),
log-adjacency-changes (OSPFv3),
maximum-paths (OSPFv3),
ospfv3 area,
ospfv3 authentication,
ospfv3 bfd,
ospfv3 cost,
ospfv3 database-filter,
ospfv3 dead-interval,
ospfv3 demand-circuit,
ospfv3 encryption,
ospfv3 flood-reduction,
ospfv3 hello-interval,
ospfv3 mtu-ignore,
ospfv3 network,
ospfv3 priority,
ospfv3 retransmit-interval,
ospfv3 transmit-delay,
passive-interface (OSPFv3),
queue-depth (OSPFv3),
redistribute (OSPFv3),
router ospfv3,
router-id (OSPFv3),
show ospfv3 border-routers,
show ospfv3 database,
show ospfv3 events,
show ospfv3 flood-list,
show ospfv3 graceful-restart,
show ospfv3 interface,
show ospfv3 max-metric,
show ospfv3 neighbor,
show ospfv3 request-list,
show ospfv3 retransmission-list,
show ospfv3 statistics,
show ospfv3 summary-prefix,
show ospfv3 timers rate-limit,
show ospfv3 traffic,
show ospfv3 virtual-links,
summary-prefix (OSPFv3),
timers pacing flood (OSPFv3),
timers pacing lsa-group (OSPFv3),
timers pacing retransmission (OSPFv3).
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.