ISIS综合实验.docx
《ISIS综合实验.docx》由会员分享,可在线阅读,更多相关《ISIS综合实验.docx(11页珍藏版)》请在冰豆网上搜索。
![ISIS综合实验.docx](https://file1.bdocx.com/fileroot1/2022-11/25/513bf983-a52c-443f-9f4c-656099181c7d/513bf983-a52c-443f-9f4c-656099181c7d1.gif)
ISIS综合实验
这个TOP图有一点小问题,在R6和R7的两个网段是150.150.0.0,这样会引起冲突,于是我将R7的150.150.0.0改成了140.140.0.0这个网段
下面来看看配置吧:
配置我只复制了其中的一部分。
将没有配置的那些接口都删除了,只显示所有配置的东西!
R1:
interfaceLoopback0
ipaddress192.168.0.1255.255.255.0
!
interfaceLoopback1
ipaddress192.168.1.1255.255.255.0
!
interfaceLoopback2
ipaddress192.168.2.1255.255.255.0
!
interfaceSerial1/1
ipaddress192.168.3.2255.255.255.0
serialrestart-delay0
!
routereigrp100
network192.168.0.0
network192.168.1.0
network192.168.2.0
network192.168.3.0
noauto-summary
!
-----------------------------------------------------------------------------------
R2的配置:
interfaceSerial1/0
ipaddress192.168.3.1255.255.255.0
serialrestart-delay0
!
interfaceSerial1/1
ipaddress10.0.0.2255.255.255.0
iprouterisis
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
encapsulationframe-relay封装帧中继
noframe-relayinverse-arp
!
interfaceSerial1/2.1point-to-point子接口的点到点
ipaddress10.0.1.2255.255.255.0
iprouterisis在接口上激活IS-IS,使这个接口的IP子网能够被发布
frame-relayinterface-dlci203帧中继的映射
!
routereigrp100
redistributeisislevel-1-2metric1000010025511500将IS-IS中的路由重发布进
network192.168.3.0EIGRP中
noauto-summary
!
routerisis启动IS-IS
net49.0001.0000.0000.0002.0049.0001表示区域号。
0000.0000.0002表示系统ID
summary-address192.168.0.0255.255.0.0将eigrp中的路由进行汇总
redistributeeigrp100将eigrp中的路由重发布进ISIS中
!
将IS-IS应用在帧中继的点到点的网络中,每个与帧中继相连的接口都必须使用子接口来做,不像ospf的其他的不必做在子接口下,这个如果没有做在子接口下的话,那么他们的邻居关系就建立不起来!
-----------------------------------------------------------------------------------
R3的配置:
interfaceSerial1/1
ipaddress10.0.3.1255.255.255.252
iprouterisis在接口上激活IS-IS,使这个接口的IP子网能够被发布
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
encapsulationframe-relay
serialrestart-delay0
noframe-relayinverse-arp
!
interfaceSerial1/2.1point-to-point
ipaddress10.0.1.1255.255.255.0
iprouterisis帧为继的设置
frame-relayinterface-dlci302
!
interfaceSerial1/2.2point-to-point
ipaddress10.0.2.1255.255.255.0
iprouterisis
frame-relayinterface-dlci304
!
interfaceSerial1/3
noipaddress
shutdown
serialrestart-delay0
!
routerisis启动isis路由
net49.0001.0000.0000.0003.00
!
-----------------------------------------------------------------------------------
R4的配置:
interfaceSerial1/1
ipaddress10.0.4.1255.255.255.0
iprouterisis
serialrestart-delay0
!
interfaceSerial1/2
noipaddress
encapsulationframe-relay
noframe-relayinverse-arp
!
帧中继的设置
interfaceSerial1/2.1point-to-point
ipaddress10.0.2.2255.255.255.0
iprouterisis
frame-relayinterface-dlci403
!
routerisis
net49.0004.0000.0000.0004.00
summary-address172.16.0.0255.255.0.0对172.16.0.0进行汇总
!
-----------------------------------------------------------------------------------
R5的配置:
interfaceSerial1/0
ipaddress10.0.4.2255.255.255.252
iprouterisis
serialrestart-delay0
nofair-queue
!
interfaceSerial1/1
ipaddress10.0.4.5255.255.255.252
iprouterisis
serialrestart-delay0
!
routerisis
net49.0004.0000.0000.0005.00
is-typelevel-1将R5设置成level-1的类型
!
-----------------------------------------------------------------------------------
R6的配置:
interfaceLoopback0
ipaddress150.150.0.1255.255.255.0
iprouterisis
!
interfaceLoopback1
ipaddress150.150.1.1255.255.255.0
iprouterisis
!
interfaceLoopback2
ipaddress150.150.2.1255.255.255.0
iprouterisis
!
interfaceLoopback3
ipaddress150.150.3.1255.255.255.0
iprouterisis
!
interfaceLoopback4
ipaddress150.150.4.1255.255.255.0
iprouterisis
!
interfaceFastEthernet0/0
ipaddress10.0.3.5255.255.255.252
iprouterisis
duplexauto
speedauto
!
interfaceSerial1/0
ipaddress10.0.3.2255.255.255.252
iprouterisis
serialrestart-delay0
isispriority127
!
routerisis
net49.0003.0000.0000.0006.00
summary-address150.150.0.0255.255.0.0level-1-2将150.150.0.0进行汇总
成level-1-2的类型
summary-address140.140.0.0255.255.0.0将140.140.0.0汇总默认是level-2的类型
!
-----------------------------------------------------------------------------------
R7的配置:
interfaceLoopback0
ipaddress140.140.0.1255.255.255.0
iprouterisis
!
interfaceLoopback1
ipaddress140.140.1.1255.255.255.0
iprouterisis
!
interfaceLoopback2
ipaddress140.140.2.1255.255.255.0
iprouterisis
!
interfaceLoopback3
ipaddress140.140.3.1255.255.255.0
iprouterisis
!
interfaceLoopback4
ipaddress140.140.4.1255.255.255.0
iprouterisis
!
interfaceFastEthernet0/0
ipaddress10.0.3.6255.255.255.252
iprouterisis
duplexauto
speedauto
!
routerisis
net49.0003.0000.0000.0007.00
is-typelevel-1设置成level-1的类型
!
-----------------------------------------------------------------------------------
R8的配置:
interfaceLoopback0
ipaddress130.130.0.1255.255.255.0
iprouterisis
!
interfaceLoopback1
ipaddress130.130.1.1255.255.255.0
iprouterisis
!
interfaceLoopback2
ipaddress130.130.2.1255.255.255.0
iprouterisis
!
interfaceLoopback3
ipaddress130.130.3.1255.255.255.0
iprouterisis
!
interfaceSerial1/0
ipaddress10.0.0.1255.255.255.0
iprouterisis
serialrestart-delay0
!
routerisis
net49.0002.0000.0000.0008.00
is-typelevel-2-only
summary-address130.130.0.0255.255.0.0
!
-----------------------------------------------------------------------------------
R9的配置:
interfaceLoopback0
ipaddress172.16.0.1255.255.255.0
iprouterisis
!
interfaceLoopback1
ipaddress172.16.1.1255.255.255.0
iprouterisis
!
interfaceLoopback2
ipaddress172.16.2.1255.255.255.0
iprouterisis
!
interfaceLoopback3
ipaddress172.16.3.1255.255.255.0
iprouterisis
!
interfaceLoopback4
ipaddress172.16.4.1255.255.255.0
iprouterisis
!
interfaceLoopback5
ipaddress172.16.5.1255.255.255.0
iprouterisis
!
interfaceLoopback6
ipaddress172.16.6.1255.255.255.0
iprouterisis
!
interfaceLoopback7
ipaddress172.16.7.1255.255.255.0
iprouterisis
!
interfaceSerial1/0
ipaddress10.0.4.6255.255.255.252
iprouterisis
serialrestart-delay0
!
routerisis
net49.0004.0000.0000.0009.00
is-typelevel-1
summary-address172.16.0.0255.255.0.0
!
-----------------------------------------------------------------------------------
以上就是实验的配置,下面看看shiproute出来的路由条目吧!
R1的:
DEX140.140.0.0/16[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX172.16.0.0/16[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
10.0.0.0/8isvariablysubnetted,6subnets,2masks
DEX10.0.2.0/24[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX10.0.3.0/30[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX10.0.4.4/30[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX10.0.3.4/30[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX10.0.4.0/24[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX10.0.4.0/30[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
DEX130.130.0.0/16[170/2195456]via192.168.3.1,00:
48:
52,Serial1/1
C192.168.0.0/24isdirectlyconnected,Loopback0
C192.168.1.0/24isdirectlyconnected,Loopback1
C192.168.2.0/24isdirectlyconnected,Loopback2
C192.168.3.0/24isdirectlyconnected,Serial1/1
DEX150.150.0.0/16[170/2195456]via192.168.3.1,00:
49:
18,Serial1/1
-----------------------------------------------------------------------------------
R2的:
Gatewayoflastresortisnotset
iL2140.140.0.0/16[115/40]via10.0.1.1,Serial1/2.1
iL2172.16.0.0/16[115/50]via10.0.1.1,Serial1/2.1
10.0.0.0/8isvariablysubnetted,8subnets,2masks
iL110.0.2.0/24[115/20]via10.0.1.1,Serial1/2.1
iL110.0.3.0/30[115/20]via10.0.1.1,Serial1/2.1
iL210.0.4.4/30[115/40]via10.0.1.1,Serial1/2.1
C10.0.0.0/24isdirectlyconnected,Serial1/1
C10.0.1.0/24isdirectlyconnected,Serial1/2.1
iL210.0.3.4/30[115/30]via10.0.1.1,Serial1/2.1
iL210.0.4.0/30[115/40]via10.0.1.1,Serial1/2.1
iL210.0.4.0/24[115/30]via10.0.1.1,Serial1/2.1
iL2130.130.0.0/16[115/20]via10.0.0.1,Serial1/1
D192.168.0.0/24[90/2297856]via192.168.3.2,02:
18:
59,Serial1/0
D192.168.1.0/24[90/2297856]via192.168.3.2,02:
19:
39,Serial1/0
D192.168.2.0/24[90/2297856]via192.168.3.2,02:
19:
39,Serial1/0
C192.168.3.0/24isdirectlyconnected,Serial1/0
iL2150.150.0.0/16[115/30]via10.0.1.1,Serial1/2.1
isu192.168.0.0/16[115/0]via0.0.0.0,Null0
-----------------------------------------------------------------------------------
R3的:
Gatewayoflastresortisnotset
iL2140.140.0.0/16[115/30]via10.0.3.2,Serial1/1
iL2172.16.0.0/16[115/40]via10.0.2.2,Serial1/2.2
10.0.0.0/8isvariablysubnetted,8subnets,2masks
C10.0.2.0/24isdirectlyconnected,Serial1/2.2
C10.0.3.0/30isdirectlyconnected,Serial1/1
iL210.0.4.4/30[115/30]via10.0.2.2,Serial1/2.2
iL110.0.0.0/24[115/20]via10.0.1.2,Serial1/2.1
C10.0.1.0/24isdirectlyconnected,Serial1/2.1
iL210.0.3.4/30[115/20]via10.0.3.2,Serial1/1
iL210.0.4.0/30[115/30]via10.0.2.2,Serial1/2.2
iL210.0.4.0/24[115/20]via10.0.2.2,Serial1/2.2
iL2130.130.0.0/16[115/30]via10.0.1.2,Serial1/2.1
iL2150.150.0.0/16[115/20]via10.0.3.2,Serial1/1
iL2192.168.0.0/16[115/10]via10.0.1.2,Serial1/2.1
-----------------------------------------------------------------------------------
R4的:
Gatewayoflastresortisnotset
iL2140.140.0.0/16[115/40]via10.0.2.1,Serial1/2.1
172.16.0.0/16isvariablysubnetted,9subnets,2masks
iL1172.16.4.0/24[115/30]via10.0.4.2,Serial1/1
iL1172.16.5.0/24[115/30]via10.0.4.2,Serial1/1
iL1172.16.6.0/24[115/30]via10.0.4.2,Serial1/1
iL1172.16.7.0/24[115/30]via10.0.4.2,Serial1/1
iL1172.16.0.0/24[115/30]via10.0.4.