当前位置: 首页 > news >正文

ISP采用的 ISIS链接状态路由协议

                        <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />ISIS
特点:较快的会聚速度,高稳定性,可扩展性 默认度量值都是10
NSAP地址 相当于ospf里的router-id 都是唯一的!通过LSP获取区域路径]
network-entity的格式:Area = 49.0001, System ID = aaaa.bbbb.cccc, NSEL = 00
area:为可变长度部分,范围为1-13个字节。
System ID:是IS或ES在区域内的唯一标识,总共为6个字节,可以使用MAC地址或由IP地址转化得到。
NSEL:service identifier,共一个字节。(00表示在ip环境)
AFI=49为私有地址空间,类似于私有的IP地址
 
R1>en      
R1#conf t
R1(config)#inter loop 0     配置环回口
R1(config-if)#ip address 1.1.1.1 255.255.255.255
R1(config-if)#no shut  
R1(config-if)#inter f0/0   物理地址
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#no shut  
R1(config-if)#end
R1(config)#router isis
R1(config-router)#net 49.0001.0001.0001.0001.00   ISIS   NET地址
R1(config-router)#ex
R1(config)#inter f0/0       运 行isis协议
R1(config-if)#ip router isis 
R1(config-if)#inter loop 0  
R1(config-if)#ip router isis
R1(config-if)#end
R1#show isis neighbors        查看isis邻居关系 发现有2 优化一下
System Id      Type Interface IP Address      State Holdtime Circuit Id
R2             L1   Fa0/0     192.168.12.2    UP    8        R2.01
R2             L2   Fa0/0     192.168.12.2    UP    8        R2.01
R1#conf t
R1(config)#router isis
R1(config-router)#is-type level-1   把类型改成1
R1(config-router)#end 
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

R1#show isi neighbors  

 

System Id      Type Interface IP Address      State Holdtime Circuit Id
R1#show isi neighbors

 

System Id      Type Interface IP Address      State Holdtime Circuit Id     发现只有一个了
R2             L1   Fa0/0     192.168.12.2    UP    9        R2.01

 

 

R2配置:
R2>en
R2#conf t
R2(config)#inter f0/0
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#inter f0/1
R2(config-if)#ip address 192.168.23.2 255.255.255.0
R2(config-if)#inter loop 0
R2(config-if)#ip address 2.2.2.2 255.255.255.255
R2(config-if)#no shut
R2(config-if)#ex
R2(config)#router isis
R2(config-router)#net 49.0001.0002.0002.0002.00
R2(config-router)#ex
R2(config)#inter f0/0
R2(config-if)#ip router isis
R2(config-if)#inter f0/1
R2(config-if)#ip router isis
R2(config-if)#int loop 0
R2(config-if)#ip router isis

 

 

R3配置
R3>en
R3#conf t
R3(config)#inter loop 0
R3(config-if)#ip address 3.3.3.3 255.255.255.255
R3(config-if)#no shut
R3(config-if)#inter f0/0
R3(config-if)#ip address 192.168.23.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#inter f0/1
R3(config-if)#ip address 192.168.34.3 255.255.255.0
R3(config-if)#no shut
R3(config)#router isis
R3(config-router)#net 49.0002.0003.0003.0003.00
R3(config-router)#ex
R3(config)#inter f0/0
R3(config-if)#ip router isis
R3(config-if)#inter f0/1
R3(config-if)#ip router isis
R3(config-if)#inter loop 0
R3(config-if)#ip router isis
R3(config-if)#end
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

 

i L2 192.168.12.0/24 [115/20] via 192.168.23.2, FastEthernet0/0
     1.0.0.0/32 is subnetted, 1 subnets
i L2    1.1.1.1 [115/30] via 192.168.23.2, FastEthernet0/0
     2.0.0.0/32 is subnetted, 1 subnets
i L2    2.2.2.2 [115/20] via 192.168.23.2, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     4.0.0.0/32 is subnetted, 1 subnets
i L1    4.4.4.4 [115/20] via 192.168.34.4, FastEthernet0/1
C    192.168.23.0/24 is directly connected, FastEthernet0/0
C    192.168.34.0/24 is directly connected, FastEthernet0/1
R3#write
Building configuration...
[OK]

 

R4配置:
R4>en
R4#conf t
R4(config)#inter f0/0
R4(config-if)#ip address 192.168.34.4 255.255.255.0
R4(config-if)#no shut
R4(config-if)#inter loop 0
R4(config-if)#ip address 4.4.4.4 255.255.255.255
R4(config-if)#no shut
R4(config-if)#ex
R4(config)#router isis
R4(config-router)#net 49.0002.0004.0004.0004.00
R4(config-router)#ex
R4(config)#inter f0/0
R4(config-if)#ip router isis
R4(config-if)#inter loop 0
R4(config-if)#ip router isis
R4(config-if)#end
R4#show ip rout
*Mar  1 00:11:46.507: %SYS-5-CONFIG_I: Configured from console by console
R4#show ip rout
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 192.168.34.3 to network 0.0.0.0

 

     3.0.0.0/32 is subnetted, 1 subnets
i L1    3.3.3.3 [115/20] via 192.168.34.3, FastEthernet0/0
     4.0.0.0/32 is subnetted, 1 subnets
C       4.4.4.4 is directly connected, Loopback0
i L1 192.168.23.0/24 [115/20] via 192.168.34.3, FastEthernet0/0
C    192.168.34.0/24 is directly connected, FastEthernet0/0
i*L1 0.0.0.0/0 [115/10] via 192.168.34.3, FastEthernet0/0

R4#ping 1.1.1.1

 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
R4#show isis neighbors

 

System Id      Type Interface IP Address      State Holdtime Circuit Id
R3             L1   Fa0/0     192.168.34.3    UP    29       R4.01
R3             L2   Fa0/0     192.168.34.3    UP    26       R4.01
R4#conf t
R4(config)#router isis
R4(config-router)#is-type level-1
R4(config-router)#end
R4#end
*Mar  1 00:15:09.095: %SYS-5-CONFIG_I: Configured from console by console
R4#ping 1.1.1.1

 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....

 

R4#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
U.U.!
Success rate is 20 percent (1/5), round-trip min/avg/max = 120/120/120 ms
R4#ping 1.1.1.1

 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/70/108 ms
R4#
R4#write
Building configuration...
[OK]

 

S-IS路由器角色和信息交换
⒈ L1,Level 1,只负责区域内路由,类似于OSPF的内部非骨干路由器。只能通告给L1和L1/L2。
⒉ L2,Level 2,只负责区域间路由,类似于OSPF的骨干 路由器 。L2和L1/L2。
⒊L1/L2,Level 1-2,同时负责区域内和区域间路由,类似于OSPF的ABR。包含两个独立的Level 1 和Level 2数据库。但它不向L1路由器通告L2路由,所以L1路由器不会学到区域外的路由,这有点像OSPF的完全末节区域。
 NET算法 例如:202.106.1.1  32位表示成48位 202.106.001.001    2021.0600.1001

相关文章:

  • Spring Aop的另类问题
  • vs2010创建Web Service程序
  • 宋体、文件-Ubuntu Linux中配置adb-by小雨
  • 测试数据整数搜索——Ny 90 整数划分
  • 类的静态成员
  • GE打造工业互联网
  • 如何让JTable的内容显示 居中
  • 最大堆、最小堆操作-删除、
  • 日期条件SQL 截取日期作为条件
  • 《Head First设计模式》 读书笔记10 迭代器与组合模式 The Iterator and Composite Patterns...
  • CodeLobster PHP Edition v4.5.3 Professional 注册码
  • js ol.ui.alternation
  • ZOJ-3699 Dakar Rally 单调队列
  • sql server分页存储过程
  • 通用权限管理系统组件从实现基本功能到让别人欣赏软件,把每个细节都做精做彻底...
  • 【跃迁之路】【477天】刻意练习系列236(2018.05.28)
  • Angular 响应式表单 基础例子
  • CSS3 变换
  • eclipse(luna)创建web工程
  • learning koa2.x
  • MySQL QA
  • Spring Cloud(3) - 服务治理: Spring Cloud Eureka
  • Spring声明式事务管理之一:五大属性分析
  • ViewService——一种保证客户端与服务端同步的方法
  • 不用申请服务号就可以开发微信支付/支付宝/QQ钱包支付!附:直接可用的代码+demo...
  • 机器人定位导航技术 激光SLAM与视觉SLAM谁更胜一筹?
  • 基于OpenResty的Lua Web框架lor0.0.2预览版发布
  • 山寨一个 Promise
  • 延迟脚本的方式
  • 一份游戏开发学习路线
  • 智能合约开发环境搭建及Hello World合约
  • MiKTeX could not find the script engine ‘perl.exe‘ which is required to execute ‘latexmk‘.
  • # Swust 12th acm 邀请赛# [ K ] 三角形判定 [题解]
  • # 计算机视觉入门
  • $.proxy和$.extend
  • (175)FPGA门控时钟技术
  • (C#)Windows Shell 外壳编程系列9 - QueryInfo 扩展提示
  • (C++17) std算法之执行策略 execution
  • (poj1.2.1)1970(筛选法模拟)
  • (Spark3.2.0)Spark SQL 初探: 使用大数据分析2000万KF数据
  • (二)Eureka服务搭建,服务注册,服务发现
  • (九)c52学习之旅-定时器
  • (力扣)循环队列的实现与详解(C语言)
  • (一)Java算法:二分查找
  • (转)Linux NTP配置详解 (Network Time Protocol)
  • (转载)跟我一起学习VIM - The Life Changing Editor
  • ***利用Ms05002溢出找“肉鸡
  • .apk 成为历史!
  • .htaccess配置重写url引擎
  • .jks文件(JAVA KeyStore)
  • .NET Core WebAPI中使用Log4net 日志级别分类并记录到数据库
  • .NET Core中Emit的使用
  • .NET 应用启用与禁用自动生成绑定重定向 (bindingRedirect),解决不同版本 dll 的依赖问题
  • .NET 中让 Task 支持带超时的异步等待
  • .Net6 Api Swagger配置