CCNP-19 IS-IS试验2

实验拓扑:

试验要求:R1 R2 R3全部采用集成的ISIS路由协议,R1 R2在区域49.0001内,R3在区域49.0002内,R1与R2之间的链路类型为L1,R2与R3之间的链路类型为L2。

试验目的:掌握基本的集成ISIS配置

实验配置:
R1:
R1(config)#router isis
R1(config-router)#net 49.0001.1111.1111.1111.00
R1(config-router)#is-type level-1
R1(config-router)#exit
R1(config)#int loop0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#ip router isis
R1(config-if)#exit
R1(config)#int loop1
R1(config-if)#ip add 2.2.2.2 255.255.255.0
R1(config-if)#ip router isis
R1(config-if)#exit
R1(config)#int f0/0
R1(config-if)#ip add 199.99.1.1 255.255.255.0
R1(config-if)#ip router isis
R1(config-if)#no shu
R1(config-if)#exit
R2:
R2(config)#router isis
R2(config-router)#net 49.0001.2222.2222.2222.00
R2(config-router)#exit
R2(config)#int loop0
R2(config-if)#ip add 3.3.3.3 255.255.255.0
R2(config-if)#ip router isis
R2(config-if)#exit
R2(config)#int loop1
R2(config-if)#ip add 4.4.4.4 255.255.255.0
R2(config-if)#ip router isis
R2(config-if)#exit
R2(config)#int f0/0
R2(config-if)#ip add 199.99.1.2 255.255.255.0
R2(config-if)#ip router isis
R2(config-if)#isis circuit-type level-1
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int s1/0
R2(config-if)#ip add 199.99.2.1 255.255.255.0
R2(config-if)#ip router isis
R2(config-if)#isis circuit-type level-2-only
R2(config-if)#clock rate 64000
R2(config-if)#no shu
R2(config-if)#exit
R3:
R3(config)#router isis
R3(config-router)#net 49.0002.3333.3333.3333.00
R3(config-router)#is-type level-2-only
R3(config-router)#exit
R3(config)#int loop0
R3(config-if)#ip add 5.5.5.5 255.255.255.0
R3(config-if)#ip router isis
R3(config-if)#exit
R3(config)#int loop1
R3(config-if)#ip add 6.6.6.6 255.255.255.0
R3(config-if)#ip router isis
R3(config-if)#exit
R3(config)#int s1/0
R3(config-if)#ip add 199.99.2.2 255.255.255.0
R3(config-if)#ip router isis
R3(config-if)#no shu
R3(config-if)#exit
以上为基本的集成ISIS的配置,起Loop接口做测试,注意有一点需要提出的是,在上次试验中我既在ISIS配置模式下配置了路由器的level,又在接口模式下配置了circuit-type的level,今天又一次看ISIS的时候发现其实这两条命令之需要一条就可以了。OK,下面查看一下邻居关系:
Router#show clns is-neighbors
System Id      Interface   State  Type Priority  Circuit Id         Format
R2         Fa0/0       Up     L1   64        R2.03          Phase V
R2#show clns is-neighbors
System Id      Interface   State  Type Priority  Circuit Id         Format
R1             Fa0/0       Up     L1   64        R2.03              Phase V
R3             Se1/0       Up     L2   0         00                 Phase V
R3#show clns is-neighbors
System Id      Interface   State  Type Priority  Circuit Id         Format
R2             Se1/0       Up     L2   0         00                 Phase V
邻居关系状态都UP了,表示成功建立了ISIS的邻居关系,R2.03表示在LAN环境下R2为DIS。然后我们查看一下show ip protocols:
R1#show ip protocols
Routing Protocol is "isis"
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: isis
  Address Summarization:
    None
  Maximum path: 4
  Routing for Networks:
    Loopback0
    Loopback1
    FastEthernet0/0
  Routing Information Sources:
    Gateway         Distance      Last Update
    3.3.3.3              115      00:00:39
  Distance: (default is 115)
R2#show ip protocols
Routing Protocol is "isis"
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: isis
  Address Summarization:
    None
  Maximum path: 4
  Routing for Networks:
    Loopback0
    Loopback1
    FastEthernet0/0
    Serial1/0
  Routing Information Sources:
    Gateway         Distance      Last Update
    5.5.5.5              115      00:00:11
    1.1.1.1              115      00:00:06
  Distance: (default is 115)
R3#show ip protocols
Routing Protocol is "isis"
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: isis
  Address Summarization:
    None
  Maximum path: 4
  Routing for Networks:
    Loopback0
    Loopback1
    Serial1/0
  Routing Information Sources:
    Gateway         Distance      Last Update
    3.3.3.3              115      00:00:11
     Distance: (default is 115)
从上面的信息可以看到集成ISIS的一些信息,注意Gateway显示的是loopback0的地址,ISIS的管理距离为115,为什么会选用这个地址?会不会像OSPF选取router-id一样呢?我们做一下测试:
R3(config)#int loop2
R3(config-if)#ip add 1.1.2.1 255.255.255.0
R3(config-if)#ip router isis
R3(config-if)#end
在R3上再起一个loopback接口,IP地址要小于loopback0的IP地址,然后在R2上clear isis *后,在show ip procols查看:
R2#show ip protocols
Routing Protocol is "isis"
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: isis
  Address Summarization:
    None
  Maximum path: 4
  Routing for Networks:
    Loopback0
    Loopback1
    FastEthernet0/0
    Serial1/0
  Routing Information Sources:
    Gateway         Distance      Last Update
    5.5.5.5              115      00:00:00
    1.1.1.1              115      00:00:22
  Distance: (default is 115)
没有任何变化,好的,下面我们把R3的loopback0接口地址做一下修改:
R3(config)#int loop0
R3(config-if)#ip add 1.1.3.1 255.255.255.0
R3(config-if)#end
这回再到R2上show ip procols时会发现变化:
R2#show ip protocols
Routing Protocol is "isis"
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Redistributing: isis
  Address Summarization:
    None
  Maximum path: 4
  Routing for Networks:
    Loopback0
    Loopback1
    FastEthernet0/0
    Serial1/0
  Routing Information Sources:
    Gateway         Distance      Last Update
    5.5.5.5              115      00:00:28
    1.1.1.1              115      00:00:02
    1.1.3.1              115      00:00:02
  Distance: (default is 115)
多了一个1.1.3.1的地址,表示采用了新的R3 Loopback0接口地址,5.5.5.5的地址还在,并没有消除,等邻居计时器超时后就会消除的。由此我们可以判断出这里显示的地址为相邻路由器loopback0口的IP地址。
下面我们来查看一下LSDB:
R1#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        1086              0/0/0
R2.00-00              0x00000007   0x9E4A        1114              1/0/0
R2.03-00              0x00000001   0x183C        1040              0/0/0
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
R3#show isis database
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        1191              0/0/0
这里可以看到在LAN环境下,R2后面的ATT为1,表示它为一个边界路由器,R2.03-00表示R2为DIS。最后我们来查看一下路由表:
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is 199.99.1.2 to network 0.0.0.0
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback1
     3.0.0.0/24 is subnetted, 1 subnets
i L1    3.3.3.0 [115/20] via 199.99.1.2, FastEthernet0/0
     4.0.0.0/24 is subnetted, 1 subnets
i L1    4.4.4.0 [115/20] via 199.99.1.2, FastEthernet0/0
C    199.99.1.0/24 is directly connected, FastEthernet0/0
i*L1 0.0.0.0/0 [115/10] via 199.99.1.2, FastEthernet0/0
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     1.0.0.0/24 is subnetted, 3 subnets
i L1    1.1.1.0 [115/20] via 199.99.1.1, FastEthernet0/0
i L2    1.1.2.0 [115/20] via 199.99.2.2, Serial1/0
i L2    1.1.3.0 [115/20] via 199.99.2.2, Serial1/0
     2.0.0.0/24 is subnetted, 1 subnets
i L1    2.2.2.0 [115/20] via 199.99.1.1, FastEthernet0/0
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Loopback0
     4.0.0.0/24 is subnetted, 1 subnets
C       4.4.4.0 is directly connected, Loopback1
     6.0.0.0/24 is subnetted, 1 subnets
i L2    6.6.6.0 [115/20] via 199.99.2.2, Serial1/0
C    199.99.2.0/24 is directly connected, Serial1/0
C    199.99.1.0/24 is directly connected, FastEthernet0/0
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     1.0.0.0/24 is subnetted, 3 subnets
i L2    1.1.1.0 [115/30] via 199.99.2.1, Serial1/0
C       1.1.2.0 is directly connected, Loopback2
C       1.1.3.0 is directly connected, Loopback0
     2.0.0.0/24 is subnetted, 1 subnets
i L2    2.2.2.0 [115/30] via 199.99.2.1, Serial1/0
     3.0.0.0/24 is subnetted, 1 subnets
i L2    3.3.3.0 [115/20] via 199.99.2.1, Serial1/0
     4.0.0.0/24 is subnetted, 1 subnets
i L2    4.4.4.0 [115/20] via 199.99.2.1, Serial1/0
     6.0.0.0/24 is subnetted, 1 subnets
C       6.6.6.0 is directly connected, Loopback1
C    199.99.2.0/24 is directly connected, Serial1/0
i L2 199.99.1.0/24 [115/20] via 199.99.2.1, Serial1/0
上面用红颜色标记的部分表示都是通过ISIS学习到的,I L1表示的是LEVEL-1路由,I L2表示的是LEVEL-2的路由,I*L1表示的是缺省路由,下面在R1上ping测试一下:
R1#ping 199.99.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 199.99.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 168/191/216 ms

通了。

实验总结:掌握基本的集成ISIS配置方法,并会使用show命令对集成ISIS的配置进行检验。

转载于:https://blog.51cto.com/loveme23/47989

CCNP-19 IS-IS试验2(BSCI)相关推荐

  1. CCNP-16 OSPF试验12(BSCI)

    CCNP-16 OSPF试验12 试验拓扑: 试验要求:R2 R3起OSPF,R1配置静态路由,在R2上配置缺省路由. 试验目的:掌握OSPF缺省路由的配置方法. 试验配置: R1: R1(confi ...

  2. CCNP-2 EIGRP试验2(BSCI)

    CCNP-2 EIGRP试验2 实验拓扑: 试验要求:1-R1到R4全部起EIGRP路由协议,配置bandwidth,观察EIGRP的等价负载均衡和非等价负载均衡. 试验目的:掌握EIGRP等价负载均 ...

  3. CCNP-17 OSPF试验13(BSCI)

    CCNP-17 OSPF试验13 实验拓扑: 试验要求:1 R1 R2起OSPF,配置R1 R2接口明文验证:           2 R1 R2起OSPF,配置R1 R2接口密文验证:        ...

  4. ue4加载本地版本_UE4中的本地化文本Localization Dashboard(多语言版本匹配)

    前言 UE提供了一套非常赞的本地化解决方案,为游戏开发中的多语言版本匹配提供了便利.我们只需要简单的操作和配置即可完成翻译工作,在UE的最新版本中(4.19)依旧还是试验功能,您可以在菜单的Edit– ...

  5. 国际标准分类法ICS

    国际标准分类法(International ClassificationforStandards,简称ICS)是由国际标准化组织编制的标准文献分类法. 它主要用于国际标准.区域标准和国家标准以及相关标 ...

  6. cisco认证考试信息网站

    cisco认证介绍: CCNA(网络技术支持工程师)是美国思科(Cisco)认证之一,让你全面了解网络世界,做为专业人才能够安装,调试和运作局域网.广域网和拨号网络......这是你迈向成功的第一步. ...

  7. 虚拟机如何构建dhcp服务器,vmware虚拟机怎么做DHCP服务器

    满意答案 hsf309264716 推荐于 2017.09.19 一:试验的前期环境搭建 1 系统环境:Fedora 2 2 软件版本: 在第二张光盘中 dhcp-3.0.1rc12-4.i386.r ...

  8. java计算机毕业设计小区物业管理系统源程序+mysql+系统+lw文档+远程调试

    java计算机毕业设计小区物业管理系统源程序+mysql+系统+lw文档+远程调试 java计算机毕业设计小区物业管理系统源程序+mysql+系统+lw文档+远程调试 本源码技术栈: 项目架构:B/S ...

  9. CCNP之BSCI实验6:EIGRP验证

    CCNP之BSCI实验6:EIGRP验证 实验的目的: 1.       掌握EIGRP验证的配置. 实验拓扑: 实验步骤: 1.  按给出的拓扑图配置路由器的IP 2.  配置好EIGRP,自治号为 ...

最新文章

  1. MySQL 第七天(核心优化一)
  2. Java代码样式运算符换行格式
  3. ntp如何确认与服务器偏差_CentOS 8 启用 NTP 服务
  4. apache2.4.x三种MPM介绍
  5. 工作135:引用当前组件下面的方法是混入
  6. MyIfmHttpClient
  7. matlab画直方图下标,matlab画二维数据直方图/画二维概率分布
  8. 在docker容器里创建ubuntu系统
  9. c++------------之---【虚析构函数应用】
  10. 去重 属性_Javascript算法 — 数组去重
  11. Python安装Pytorch教程(图文详解)
  12. web性能压力测试工具http_load/webbench/ad
  13. php mud游戏源码,mud 文字游戏 - 源码下载|游戏|源代码 - 源码中国
  14. Atitit 使用js nodejs进行图像处理ocr的解决方案attilax总结
  15. 2020版本的pycharm支持官方汉化了
  16. Android腾讯云直播开发,笔记:腾讯云直播SDK测试demo
  17. Robotics: Computational Motion Planning(路径规划)笔记(完):人工势场法(Artificial Potential Fields)
  18. 网络安全-跨站脚本攻击(XSS)的原理、攻击及防御
  19. 2021年中国遗嘱人群画像情况(附子女情况、婚姻状况、学历、年龄、性别及各学历段人数分布)[图]
  20. 中科院各大计算所详细介绍

热门文章

  1. mysql创建删除触发器的时候_mysql触发器简介及如何创建和删除触发器
  2. 单选框_vue实现单选框自定义样式
  3. 怎样学好Oracle子查询,Oracle学习(六):子查询
  4. 荣获CHINA TOP cited paper award 2021的神经工程领域顶级期刊的论文汇总
  5. 脑机接口,风口还是入口?
  6. 这个赛车AI不再只图一时爽,学会了考虑长远策略
  7. 「思想钢印」成真!33位中美科学家最新成果:用光成功改变大脑认知
  8. 少糖的理由+1,新研究表明:高糖环境不利于肌肉修复和维持
  9. 美国火星车失联的7分钟,高清视频传回来了
  10. 百度推出LinearDesign,全球首个mRNA疫苗不稳定性解决方案,仅需16分钟