在 router ospf 100 中进行输入

passive-interface f0/1 

这样这台设备不会收到任何来至 f0/1 接口的ospf 信息。也不发送。