📅  最后修改于: 2022-03-11 14:56:20.630000             🧑  作者: Mango
enable
configure terminal
router ospf 10
log-adjacency-changes
passive-interface GigabitEthernet0/0/0
passive-interface GigabitEthernet0/0/1
auto-cost reference-bandwidth 1000
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
end