Last Updated on July 31, 2021 by Admin 1
Which command can you use to specify that network 208.15.208.0 belongs to OSPF area 0?
-
router(config)# network 208.15.208.0 area 0
-
router(config-if)# ip ospf area 0
-
router(config)# network 208.15.208.0 255.255.255.0 area 0
-
router(config-router)# network 208.15.208.0 0.0.0.255 area 0
You identify the area to which a network belongs with the network area command issued from router configuration mode:
router(config-router)# network address wildcard-mask area area-id
To enter router configuration mode, enter the command router ospf process ID in global configuration mode. For this command to be accepted and acted upon by the router, at least one interface on the router must have an IP address assigned and be up.
The command router(config)# network 208.15.208.0 area 0 is incorrect because it is executed in global configuration mode, as evidenced by the prompt router(config)#.
The command router(config-if)# ip ospf area 0 is incorrect. This command would be used to configure the router for OSPF and its area. It would also enter configuration mode for that particular process of OSPF so the user can enter additional commands that affect that process. However, this command is missing the process ID.
The command router(config)# network 208.15.208.0 255.255.255.0 area 0 is incorrect because it is executed in the wrong mode. It is entered in global configuration mode instead of OSPF configuration mode. It also has an incorrect mask. You must use a wildcard mask instead of a regular mask in the network statements for OSPF. In this case, the mask should be 0.0.0.255 instead of 255.255.255.0.
Objective:
Layer 3 Technologies
Sub-Objective:
Configure and verify OSPF operations