EIGRP、OSPF、IS-IS路由协议之间的重发布实例
2010-05-15 18:55
591 查看
[align=center]EIGRP[/b]、[/b]OSPF[/b]、[/b]IS-IS[/b]路由协议之间的重发布实例[/b][/b][/align]
[align=center] [/b]作者:骄[/b] [/b]子[/b][/b][/align]
[align=center] [/b][/align]
[align=center][/b][/align]
R1#sh run
Building configuration...
Current configuration : 1835 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
multilink bundle-name authenticated
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
!
interface Serial1/0
ip address 11.1.1.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
ip address 12.1.1.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
ip address 13.1.1.1 255.255.255.0
ip router isis
serial restart-delay 0
clock rate 64000
!
router eigrp 100
redistribute connected
redistribute ospf 100 metric 1000 10 255 1 1500
redistribute isis level-1-2 metric 3000 10 255 1 1500
network 11.1.1.0 0.0.0.255
no auto-summary
!
router ospf 100
log-adjacency-changes
redistribute connected subnets
redistribute eigrp 100 metric 2000 subnets
redistribute isis level-1-2 metric 5000 subnets
network 12.1.1.0 0.0.0.255 area 0
!
router isis
net 64.0012.0000.0000.0001.00
redistribute connected level-1
redistribute eigrp 100 metric 20 level-1-2
redistribute ospf 100 metric 20 level-1-2
!
End
R2#sh run
Building configuration...
Current configuration : 1374 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R2
!
multilink bundle-name authenticated
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface Loopback2
ip address 10.1.2.1 255.255.255.0
!
interface Loopback3
ip address 10.1.3.1 255.255.255.0
!
interface Serial1/1
ip address 11.1.1.2 255.255.255.0
serial restart-delay 0
!
router eigrp 100
network 10.1.1.0 0.0.0.255
network 10.1.2.0 0.0.0.255
network 10.1.3.0 0.0.0.255
network 11.1.1.0 0.0.0.255
no auto-summary
!
End
R3#sh run
Building configuration...
Current configuration : 1402 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R3
multilink bundle-name authenticated
!
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Loopback2
ip address 172.16.3.1 255.255.255.0
!
interface Serial1/1
ip address 12.1.1.2 255.255.255.0
ip ospf priority 0
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
End
R3#sh run
Building configuration...
Current configuration : 1402 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Loopback2
ip address 172.16.3.1 255.255.255.0
!
interface Serial1/1
ip address 12.1.1.2 255.255.255.0
ip ospf priority 0
serial restart-delay 0
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
End
R4#sh run
Building configuration...
Current configuration : 1285 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
interface Loopback0
ip address 192.168.1.1 255.255.255.0
!
interface Loopback1
ip address 192.168.2.1 255.255.255.0
!
interface Loopback2
ip address 192.168.3.1 255.255.255.0
!
interface Serial1/1
ip address 13.1.1.2 255.255.255.0
ip router isis
serial restart-delay 0
!
router isis
net 64.0012.0000.0000.0002.00
redistribute connected
!
no ip http server
no ip http secure-server
end
实验总结:
EIGRP、OSPF、IS-IS路由协议之间的重发布,对于EIGRP、OSPF和IS-IS重发布时默认不会通过直连子网,所以我们需要加上redistribute connected的命令。其他协议重分发进EIGRP时,需要添加上度量值(包括:带宽、延迟、可靠性、负载和MTU)。而对于集成IS-IS我们需要redistribute isis level-1-2,不可单独为L1(为内部路由器)或者L2(IS-IS间主干路由器),在不同协议之间重分发,因此因此我们需要指定为L-1-2路由器。
此实验有待完善,希望大家继续扩展、应用多种协议或者策略上去。本文出自 “wangyunfei9000” 博客,转载请与作者联系!
[align=center] [/b]作者:骄[/b] [/b]子[/b][/b][/align]
[align=center] [/b][/align]
[align=center][/b][/align]
R1#sh run
Building configuration...
Current configuration : 1835 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
multilink bundle-name authenticated
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
!
interface Serial1/0
ip address 11.1.1.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
interface Serial1/1
ip address 12.1.1.1 255.255.255.0
serial restart-delay 0
clock rate 64000
!
interface Serial1/2
ip address 13.1.1.1 255.255.255.0
ip router isis
serial restart-delay 0
clock rate 64000
!
router eigrp 100
redistribute connected
redistribute ospf 100 metric 1000 10 255 1 1500
redistribute isis level-1-2 metric 3000 10 255 1 1500
network 11.1.1.0 0.0.0.255
no auto-summary
!
router ospf 100
log-adjacency-changes
redistribute connected subnets
redistribute eigrp 100 metric 2000 subnets
redistribute isis level-1-2 metric 5000 subnets
network 12.1.1.0 0.0.0.255 area 0
!
router isis
net 64.0012.0000.0000.0001.00
redistribute connected level-1
redistribute eigrp 100 metric 20 level-1-2
redistribute ospf 100 metric 20 level-1-2
!
End
R2#sh run
Building configuration...
Current configuration : 1374 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R2
!
multilink bundle-name authenticated
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface Loopback2
ip address 10.1.2.1 255.255.255.0
!
interface Loopback3
ip address 10.1.3.1 255.255.255.0
!
interface Serial1/1
ip address 11.1.1.2 255.255.255.0
serial restart-delay 0
!
router eigrp 100
network 10.1.1.0 0.0.0.255
network 10.1.2.0 0.0.0.255
network 10.1.3.0 0.0.0.255
network 11.1.1.0 0.0.0.255
no auto-summary
!
End
R3#sh run
Building configuration...
Current configuration : 1402 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R3
multilink bundle-name authenticated
!
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Loopback2
ip address 172.16.3.1 255.255.255.0
!
interface Serial1/1
ip address 12.1.1.2 255.255.255.0
ip ospf priority 0
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
End
R3#sh run
Building configuration...
Current configuration : 1402 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
!
interface Loopback2
ip address 172.16.3.1 255.255.255.0
!
interface Serial1/1
ip address 12.1.1.2 255.255.255.0
ip ospf priority 0
serial restart-delay 0
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
End
R4#sh run
Building configuration...
Current configuration : 1285 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
interface Loopback0
ip address 192.168.1.1 255.255.255.0
!
interface Loopback1
ip address 192.168.2.1 255.255.255.0
!
interface Loopback2
ip address 192.168.3.1 255.255.255.0
!
interface Serial1/1
ip address 13.1.1.2 255.255.255.0
ip router isis
serial restart-delay 0
!
router isis
net 64.0012.0000.0000.0002.00
redistribute connected
!
no ip http server
no ip http secure-server
end
实验总结:
EIGRP、OSPF、IS-IS路由协议之间的重发布,对于EIGRP、OSPF和IS-IS重发布时默认不会通过直连子网,所以我们需要加上redistribute connected的命令。其他协议重分发进EIGRP时,需要添加上度量值(包括:带宽、延迟、可靠性、负载和MTU)。而对于集成IS-IS我们需要redistribute isis level-1-2,不可单独为L1(为内部路由器)或者L2(IS-IS间主干路由器),在不同协议之间重分发,因此因此我们需要指定为L-1-2路由器。
此实验有待完善,希望大家继续扩展、应用多种协议或者策略上去。本文出自 “wangyunfei9000” 博客,转载请与作者联系!
相关文章推荐
- Lab9:IGRP,EIGRP,OSPF之间路由重发布。
- rip eigrp 和ospf之间的路由重发布
- 路由重分发、路由过滤方法及难点总结(EIGRP、OSPF实例) 推荐
- 多路径路由算法选择(2)——回顾传统的动态路由协议(RIP、OSPF、BGP、IGRP、EIGRP、IS-IS)
- 配置Ospf与Eigrp的路由再发布
- 动态路由各配置格式总结(ripV2、ospf、eigrp、bgp、IS-IS)
- DWR 应用实例(二) 新闻发布系统,多种新闻类型之间切换无刷新
- EIGRP与OSPF中cost值的计算实例
- is-is&ospf 、eigrp&ospf&rip对比
- RIP-OSPF-EIGRP 相互再发布
- 实战:OSPF和EIGRP路由再发布
- DWR 应用实例(一) 新闻发布系统,多种新闻类型之间切换无刷新
- rip ospf eigrp 之间相互重分发
- 路由重分发、路由过滤方法及难点总结(EIGRP、OSPF实例)(
- RIP-OSPF-EIGRP 相互再发布
- EIGRP OSPF 重发布
- 路由重分发、路由过滤方法及难点总结(EIGRP、OSPF实例)
- 静态、rip、eigrp与ospf路由重发布
- 详解BSCI实验三、配置OSPF与EIGRP的路由再发布
- RIP-OSPF-EIGRP 相互再发布