网络拓扑:
试验要求:R1 R2为区域49.0001中的IS,R3为区域49.0002中的IS,并且把R1只配之成为Level-1路由器,R3为Level-2路由器,R1与R2之间的链路配置成为L1链路,R2与R3之间的链路配置成为L2链路。<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
试验目的:掌握ISIS基本的配置方法。
实验配置
R1
配置:
interface Loopback0
ip address <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />1.1.1.1 255.255.255.0
ip router isis
interface Loopback1
ip address 2.2.2.2 255.255.255.0
ip router isis
interface FastEthernet0/0
ip address 199.99.1.1 255.255.255.0
ip router isis
isis
circuit-type level-1
bandwidth 100000 ---
默认,不用配
router isis
net 49.0001.1111.1111.1111.00
is-type level-1
-----------------------------------------------
R2
配置:
interface Loopback0
ip address 3.3.3.3 255.255.255.0
ip router isis
interface Loopback1
ip address 4.4.4.4 255.255.255.0
ip router isis
interface Serial0
ip address 199.99.2.1 255.255.255.0
ip router isis
isis circuit-type level-2-only
clock rate 64000
interface FastEthernet0/0
ip address 199.99.1.2 255.255.255.0
ip router isis
isis circuit-type level-1
router isis
net 49.0001.2222.2222.2222.00
--------------------------------------------------
R3
配置:
interface Loopback0
ip address 5.5.5.5 255.255.255.0
ip router isis
interface Loopback1
ip address 6.6.6.6 255.255.255.0
ip router isis
interface Serial0
ip address 199.99.2.2 255.255.255.0
ip router isis
isis
circuit-type level-2-only
router isis
net 49.0002.3333.3333.3333.00
is-type level-2-only
----------------------------------------------------
实验调试
R2#sh ip route
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
i L1
1.1.1.0 [115/21] via 199.99.1.1, 00:04:28, FastEthernet0/0
i L1
2.2.2.0 [115/21] via 199.99.1.1, 00:04:17, FastEthernet0/0
……
i L2
5.5.5.0 [115/21] via 199.99.2.2, 00:02:25, Serial0
i L2
6.6.6.0 [115/21] via 199.99.2.2, 00:02:34, Serial0
R1
的路由表中只有区域内中由
L1
,
R3
只有
L2
路由,而
R2
二者都有。
R1#show ip protocols ----
仿真器上有些信息看不到
Routing Information Sources: ----
仿真器中没看到
Gateway Distance Last Update
3.3.3.3 115 00:00:39
注意
Gateway
显示的是
loopback0
的地址,
ISIS
的管理距离为
115
。
R2#show isis database ----
注:仿真器中下面的信息有误,显示不全。
IS-IS Level-1 LinkState Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R1.00-00 0x00000004 0x0170 1162 0/0/0
R2.00-00 * 0x00000007 0x9E4A 1195
1
/0/0
R2.03-00 * 0x00000001 0x183C 1120 0/0/0
IS-IS Level-2 LinkState Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R2.00-00 * 0x0000000A 0x43B5 1189 0/0/0
R3.00-00 0x00000002 0x2F4C 1187 0/0/0
这里可以看到在
LAN
环境下,
R2
后面的
ATT
为
1
,
表示它为一个边界路由器,
R2.03-00
表示
R2
为
DIS
。
实验总结:掌握基本的集成ISIS配置方法,并会使用show命令对集成ISIS的配置进行检验。还要注意的是L2路由可以进行汇总,L1不能,汇总实验仿真器不支持。
转载于:https://blog.51cto.com/linuxsky/75964