您的位置:首页 > 其它

OSPF基础配置

2019-03-16 23:24 239 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/weixin_43477901/article/details/88608561

OSPF的基础配置
实验拓扑:

命令行:
基础
R1: conf t
R1(config)#int f0/0
R1(config-if)#ip add 10.1.12.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int s1/0
R1(config-if)#ip add 10.1.13.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#no sh

OSPF:
R1(config-if)#router ospf 110
R1(config-router)#net 1.1.1.1 0.0.0.0 a 0
R1(config-router)#net 10.1.12.1 0.0.0.0 a 0
R1(config-router)#net 10.1.13.1 0.0.0.0 a 0

R2
OSPF
R2(config-if)#router ospf 110
R2(config-router)#net 2.2.2.2 0.0.0.0 are 0
R2(config-router)#net 10.1.12.2 0.0.0.0 a 0
R2(config-router)#net 10.1.23.2 0.0.0.0 a 0

R3
OSPF
R3(config-if)#router ospf 110
R3(config-router)#net 3.3.3.3 0.0.0.0 area 0
R3(config-router)#net 10.1.13.3 0.0.0.0 area 0
R3(config-router)#net 10.1.23.3 0.0.0.0 area 0:
邻居表:

拓扑表

路由表

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: