注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 情定神州
 帮助

BSCI实验之二十九:单区域集成IS-IS配置


2008-05-08 19:18:02
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://lgzeng2360.blog.51cto.com/275998/75954
实验拓扑:
 
 
实验目的:熟悉单区域ISIS基本配置命令
实验仿真器:netsim6.1
 

各路由器配置

R1配置:
R1(config)#router isis
R1(config-router)#net 49.0001.1111.1111.00     -----配置NET地址
R1(config-router)#exit
R1(config)#int loop 0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#ip router isis                     -----接口下启用ISIS
R1(config-if)#int s0
R1(config-if)#clock rate 125000
R1(config-if)#ip add 192.168.12.1 255.255.255.0
R1(config-if)#ip router isis
R1(config-if)#no shut
-------------------------------------------------
R2配置:
interface Loopback0
 ip address 2.2.2.2 255.255.255.0
 ip router isis
interface Serial0
 ip address 192.168.12.2 255.255.255.0
 ip router isis
interface FastEthernet0/0
 ip address 192.168.1.2 255.255.255.0
 ip router isis
 
router isis
 net 49.0001.2222.2222.2222.00
-------------------------------------------------------------
R3配置:
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
 ip router isis
interface FastEthernet0/0
 ip address 192.168.1.3 255.255.255.0
 ip router isis
router isis
 net 49.0001.3333.3333.3333.00
---------------------------
R4配置:
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
 ip router isis
interface FastEthernet0/0
 ip address 192.168.1.4 255.255.255.0
 ip router isis
 
router isis
 net 49.0001.4444.4444.4444.00

验证

R2#sh ip route
……       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
……
i L2    1.1.1.0 [115/21] via 192.168.12.1, 00:05:23, Serial0
     3.0.0.0/24 is subnetted, 1 subnets
i L2    3.3.3.0 [115/21] via 192.168.1.3, 00:02:16, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
i L2    4.4.4.0 [115/21] via 192.168.1.4, 00:07:21, FastEthernet0/0
R3#sh  isis  data
IS-IS Level-1 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
Router.00-00        * 0x0000000A   0x4329        994               0/0/0
IS-IS Level-2 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
Router.00-00        * 0x0000000C   0xA4C5        942               0/0/0
Router.00-00          0x00000008   0xBE51        972               0/0/0
Router.01-00          0x00000005   0x1CAE        937               0/0/0
 
注意用红颜色标记的部分,表示这个路由器(实际路由器上应能显出系统ID—用路由器名表示)为伪节点(长度1字节,代表一个LAN。当这个值非0时,表示该路由器为DIS)。*表示LSP起源于本地系统。4个路由器在相同区域,所以链路状态数据库是要同的。DIS相当于OSPF中的DR,它为L1L2建立伪LSP
-------------------------------------
注:DIS选举原则
1)只有形成邻接关系才有资格参加选举;
2)接口优先级最高者成为DIS  
3)如接口优先级相同,则最高SNAP地址成为DIS       
4DIS选派是抢占式的。
 
接口优先级默认为64,取值在0-127。更改接口优先级命令是isis priority,如更改变为100,则其优成为DIS
----------------------------------------------------------------
R3#sh ip proto
Routing Protocol is "isis 0"
R3#sh clns interface detail
FastEthernet0/0 is up, line protocol is up
……
  CLNS fast switching enabled
  Routing Protocol: IS-IS
    Circuit Type: level-1-2
    Interface number 0x1, local circuit ID 0x1
    Level-1 Metric: 10, Priority: 64, Circuit ID: Router.01
    Number of active level-1 adjacencies: 1
Level-2 Metric: 10, Priority: 64, Circuit ID: Router.01
 
注:system ID and pseudonode ID together are referred to as the circuit ID. An example is R1.01.
 

本文出自 “lgzeng” 博客,请务必保留此出处http://lgzeng2360.blog.51cto.com/275998/75954





    文章评论
 
2008-05-09 09:35:23
IS-IS以前学的不多 了解一下

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: