enable
configure terminal
interface GigabitEthernet0/0/0
ip ospf 10 area 0
interface GigabitEthernet0/0/1
ip ospf 10 area 0
router ospf 10
router-id 4.4.4.4
passive-interface GigabitEthernet0/0/0
auto-cost reference-bandwidth 1000
end
enable
configure terminal
interface GigabitEthernet0/0/0
ip ospf 10 area 0
interface GigabitEthernet0/0/1
ip ospf 10 area 0
router ospf 10
router-id 5.5.5.5
passive-interface GigabitEthernet0/0/0
auto-cost reference-bandwidth 1000
end