On Cisco IOS XR Software, which set of commands is used to enable the gi0/0/0/1 interface for
OSPF in area 0?
A.
interface gi0/0/0/0
ip address 10.1.1.1 255.255.255.0
!
router ospf 1
network 10.1.1.1 0.0.0.0 area 0
B.
interface gi0/0/0/0
ip address 10.1.1.1 255.255.255.0
!
router ospf 1
network 10.1.1.1 255.255.255.255 area 0
C.
router ospf 1
area 0
interface GigabitEthernet0/0/0/1
D.
interface gi0/0/0/0
ip address 10.1.1.1 255.255.255.0
ip ospf 1 area 0
E.
router ospf 1
address-family ipv4 unicast
interface GigabitEthernet0/0/0/1 area 0
F.
router ospf 1
address-family ipv4 unicast
interface GigabitEthernet0/0/0/1
area 0
Explanation:
http://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-2/routing/configuration/guide/b_routing_cg42crs/b_routing_cg42crs_chapter_0100.html#task_1171983
Enabling OSPF
This task explains how to perform the minimum OSPF configuration on your router that is to enable an OSPF process with a router ID, configure a backbone or nonbackbone area, and then assign one or more interfaces on which OSPF runs. Although you can configure OSPF before you configure an IP address, no OSPF routing occurs until at least one IP address is configured.
1. configure
2. router ospf process-name
3. router-id {router-id}
4. area {area-id}
5. interface type interface-path-id
6. log adjacency changes [ detail ] [ enable | disable ]
7. commit