配置OSPF(华为配置ospf)

网友投稿 224 2022-09-09


配置OSPF(华为配置ospf)

1,配置IP地址

iou1:interface ethernet 0/0ip address 10.0.12.1 255.255.255.0no shutdownexitinterface ethernet 0/1ip address 10.0.13.1 255.255.255.0no shutdwnexitinterface loopback 0ip address 1.1.1.1 255.255.255.0exit

iou2:interface ethernet 0/0ip address 10.0.12.2 255.255.255.0no shutdownexitinterface ethernet 0/1ip address 10.0.24.1 255.255.255.0no shutdownexitinterface loopback 0ip address 2.2.2.2 255.255.255.0no shutdownexit

iou3:interface ethernet 0/0ip address 10.0.13.2 255.255.255.0no shutdownexitinterface ethernet 0/1ip address 10.0.34.1 255.255.255.0no shutdowexitinterface loopback 0ip address 3.3.3.3 255.255.255.0no shutdownexit

interface ethernet 0/0ip address 10.0.24.2 255.255.255.0no shutdownexitinterface ethernet 0/1ip address 10.0.34.1 255.255.255.0no shutdownexitinterface loopback 0ip address 4.4.4.4 255.255.255.0exit

2配置OSPF

iou1:router ospf 1network 1.1.1.1 0.0.0.0 area 0network 10.0.12.0 0.0.0.255 area 0network 10.0.13.0 0.0.0.255 area 0exit

iou2:router ospf 1network 2.2.2.2 0.0.0.0 area 0network 10.0.12.0 0.0.0.255 area 0network 10.0.24.0 0.0.0.255 area 0exit

iou3:router ospf 1network 3.3.3.3 0.0.0.0 area 0network 10.0.13.0 0.0.0.255 area 0network 10.0.34.0 0.0.0.255 area 0exit

iou4:router ospf 1network 4.4.4.4 0.0.0.0 area 0network 10.0.24.0 0.0.0.255 area 0network 10.0.34.0 0.0.0.255 area 0exit


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Java学习随记之多线程编程
下一篇:私网用户通过NAT No-PAT访问Internet(访问明确的目的Server)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~