意见箱
恒创运营部门将仔细参阅您的意见和建议,必要时将通过预留邮箱与您保持联络。感谢您的支持!
意见/建议
提交建议

思科设备配置路由重发布

来源:恒创科技 编辑:恒创科技编辑部
2024-02-13 02:34:59

思科设备配置路由重发布_思科

1.配置IP地址


思科设备配置路由重发布

R1#conf t

R1(config)#int f0/0

R1(config-if)#ip add 12.1.1.1 255.255.255.0

R1(config-if)#no shutdown

R1(config)#int loopback 1

R1(config-if)#ip add 1.1.1.1 255.255.255.0

R1(config-if)#no shutdown

R2#conf t

R2(config)#int f0/0

R2(config-if)#ip add 12.1.1.2 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#int f0/1

R2(config-if)#ip add 23.1.1.2 255.255.255.0

R2(config-if)#no shutdown

R2(config)#int loopback 1

R2(config-if)#ip add 2.2.2.2 255.255.255.0

R2(config-if)#no shutdown

R3#conf t

R3(config)#int f0/0

R3(config-if)#ip add 23.1.1.3 255.255.255.0

R3(config-if)#no shut

R3(config)#int loopback 1

R3(config-if)#ip add 3.3.3.3 255.255.255.0

R3(config-if)#no shutdown

2.配置ospf

R2(config)#router ospf 110

R2(config-router)#router-id 2.2.2.2

R2(config-router)#network 23.1.1.0 0.0.0.255 area 0

R2(config-router)#int f0/1

R2(config-if)#ip ospf network point-to-point

R3(config)#router ospf 110

R3(config-router)#router-id 3.3.3.3

R3(config-router)#network 23.1.1.0 0.0.0.255 area 0

R3(config-router)#passive-interface loopback 1

R3(config-router)#network 3.3.3.0 0.0.0.255 area 0

R3(config-router)#int f0/0

R3(config-if)#ip ospf network point-to-point

R3(config)#int lo 1

R3(config-if)#ip ospf network point-to-point

3.配置eigrp

R1(config)#router eigrp 90

R1(config-router)#no auto-summary

R1(config-router)#network 12.1.1.0 0.0.0.255

R1(config-router)#network 1.1.1.0 0.0.0.255

R1(config-router)#passive-interface loopback 1

R2(config)#router eigrp 90

R2(config-router)#no auto-summary

R2(config-router)#network 12.1.1.0 0.0.0.255

4.将ospf重发布到eigrp

R2(config)#router eigrp 90

R2(config-router)#redistribute ospf 110 metric 100000 1000 255 1 1500

5. 将eigrp重发布到ospf

R2(config)#router ospf 110

R2(config-router)#redistribute eigrp 90 subnets metric-type 1 metric 30

上一篇: 光纤交换机按照级别可分为3种 下一篇: 手机怎么远程登录云服务器?