Introducing Cisco Data Center Networking (DCICN) — Question 42
VLAN 10 is assigned IP address 10.1.1.1 with subnet mask 255.255.255.0. Which configuration is used to route the IP subnet but not form OSPF neighbors on a
Cisco Nexus 7000 switch?
Answer options
- A. feature ospf ! interface Vlan10 ip address 10.1.1.1/24 no shutdown ip router ospf 1 ip passive-interface ospf 1 ! router ospf 1
- B. feature ospf ! interface Vlan10 ip address 10.1.1.1/24 no shutdown ! router ospf 1 passive-interface default no ip passive-interface Vlan10
- C. feature ospf ! interface Vlan10 ip address 10.1.1.1/24 no shutdown ! router ospf 1 ip passive-interface Vlan10
- D. feature ospf ! interface Vlan10 ip address 10.1.1.1/24 no shutdown ip router ospf 1 !
Correct answer: A
Explanation
The correct answer, A, configures the OSPF routing process while also setting VLAN 10 as a passive interface, preventing OSPF from forming neighbor relationships. Option B incorrectly uses 'passive-interface default', which would apply to all interfaces, and option C incorrectly sets VLAN 10 as a passive interface while omitting the necessary command to enable OSPF. Option D is incomplete as it lacks the necessary passive interface configuration.