nerdexam
Cisco

350-401 · Question #222

Refer to the exhibit. Which command must be applied to R2 for an OSPF neighborship to form?

The correct answer is A. network 20.1.1.2.0.0.0.0 area 0. To form an OSPF neighborship on R2, the network command must be applied to include the interface's specific IP address (20.1.1.2) within Area 0, using a host wildcard mask.

Submitted by lars.no· Mar 6, 2026

Question

Refer to the exhibit. Which command must be applied to R2 for an OSPF neighborship to form?

Exhibits

350-401 question #222 exhibit 1
350-401 question #222 exhibit 2

Options

  • Anetwork 20.1.1.2.0.0.0.0 area 0
  • Bnetwork 20.1.1.2 255.255.0.0. area 0
  • Cnetwork 20.1.1.2 0.0.255.255 area 0
  • Dnetwork 20.1.1.2 255.255.255 area 0

How the community answered

(31 responses)
  • A
    84% (26)
  • B
    3% (1)
  • C
    3% (1)
  • D
    10% (3)

Why each option

To form an OSPF neighborship on R2, the `network` command must be applied to include the interface's specific IP address (20.1.1.2) within Area 0, using a host wildcard mask.

Anetwork 20.1.1.2.0.0.0.0 area 0Correct

The command `network 20.1.1.2 0.0.0.0 area 0` correctly enables OSPF on the interface with IP address 20.1.1.2, assigning it to Area 0. The wildcard mask 0.0.0.0 specifically matches only the host address, making this a valid and precise way to activate OSPF on a single interface.

Bnetwork 20.1.1.2 255.255.0.0. area 0

The wildcard mask `255.255.0.0` is incorrect for an OSPF network command; it's a subnet mask and not a valid wildcard mask in this context.

Cnetwork 20.1.1.2 0.0.255.255 area 0

The wildcard mask `0.0.255.255` is incorrect as it implies a /16 network, which would not match a typical /24 interface subnet, and is not the inverse of a /24 subnet mask.

Dnetwork 20.1.1.2 255.255.255 area 0

The wildcard mask `255.255.255` is incomplete; a valid wildcard mask requires four octets, like 0.0.0.0 or 0.0.0.255.

Concept tested: OSPF network command configuration

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/15-s/iro-15-s-book/config-ospf.html

Topics

#OSPF network command#OSPF neighborship#Wildcard masks#Cisco IOS routing

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice