Configuring OSPFv3: Adding IPv4 Interface to OSPFv3 Process

Adding IPv4 Interface to OSPFv3 Process

Question

Which configuration adds an IPv4 interface to an OSPFv3 process in OSPFv3 address family configuration?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/xe-3s/iro-xe-3s-book/ip6-route-ospfv3-add-fam-xe.html

The correct answer is D. router ospfv3 1 address-family ipv4 unicast.

Explanation:

OSPFv3 is the IPv6 version of OSPF. It is used to provide routing information for IPv6 networks. However, OSPFv3 can also carry IPv4 routes as well.

To configure OSPFv3 to carry IPv4 routes, we need to configure an IPv4 address family within the OSPFv3 configuration. The syntax for configuring the IPv4 address family is "router ospfv3 <process-id> address-family ipv4 unicast". Here, "process-id" refers to the OSPFv3 process ID.

Option A, "router ospfv3 1 address-family ipv4", is incorrect because it is missing the "unicast" keyword. The correct syntax should be "router ospfv3 1 address-family ipv4 unicast".

Option B, "Router(config-router)#ospfv3 1 ipv4 area 0", is incorrect because it does not specify the address family.

Option C, "Router(config-if)#ospfv3 1 ipv4 area 0", is incorrect because it is used to configure OSPFv3 on a specific interface, not to add an IPv4 address family to the OSPFv3 process.

Therefore, the correct configuration to add an IPv4 interface to an OSPFv3 process in OSPFv3 address family configuration is option D, "router ospfv3 1 address-family ipv4 unicast".