ISIS:IntermediateSystemtoIntermediateSystem的简 称中间系统到中间系统 中间系统:路由器 isis是一个主要应用于运营商的路由协议,其应用规模和算法 和OSPF类似。 isis路由优先级:15直连0 静态路由60 rip100 ospf10 isis15 内部网关路由协议IGP: ripospfisis 外部网关路由协议EGP:BGP ISIS扩展性极强:TLV type:类型 length:长度 value:数值 ISIS协议特点: 特点: IS指路由器 isis属于大型内部网关路由协议类似ospf,多用于运营商,普 通企业网很少使用。 使用SPF算法,链路状态类路由协议。 ISIS最早是基于OSI模型设计,而ospf、rip、以及常见的以 太网数据包封装都是基于TCPIP模型。 ISIS划分区域是基于路由器的。即一个路由器只能属于一个 区域 ISIS基于链路层OSPF基于网络层 骨干区域: 骨干区域:连续的一片Level2路由器(包含L12)的集合。即 底色为灰色区域。 isis路由器的种类 Level1路由器:仅收发L1isis报文 Level2路由器:仅收发L2isis报文 Level12路由器:可以收发L1和L2的isis报文 ISIS报文种类:L1L2 邻居关系:L1L2 注意事项:Level1路由器不能跨区域建立邻居关系。Level1邻 居关系不能跨区域建立。 相同区域: 例如:49。0001 R1R2 L1L2NO L1L1ok L2L2ok L1L12okL1 L2L12okL2 L12L12okL1L2 不同区域: R1(49。0001)R2(49。0002) L1L2NO L1L1NO L2L2Ok L1L12NO L2L12OKL2 L12L12OKL2 R1: routerid1。1。1。1 isis1 networkentity49。0001。0000。0000。0001。00 islevellevel1 interfaceGigabitEthernet000 ipaddress10。1。123。1255。255。255。0 isisenable1 interfaceLoopBack0 ipaddress1。1。1。1255。255。255。0 isisenable1 R2: routerid2。2。2。2 isis1 networkentity49。0001。0000。0000。0002。00 interfaceGigabitEthernet000 ipaddress10。1。123。2255。255。255。0 isisenable1 interfaceGigabitEthernet001 ipaddress10。1。24。2255。255。255。0 isisenable1 interfaceLoopBack0 ipaddress2。2。2。2255。255。255。0 isisenable1注意: 49。0001。0000。0000。0001。00 49。0001表示区域id(49国际组织分配49表示任意使用类似私有ip) 0000。0000。0001系统id表示某个路由类似routerid 00代表isis工作于IP网络中 routerid和系统id转换 例如: routerid1。1。1。1 001。001。001。0010010。0100。1001 routerid192。168。2。2 192。168。002。0021921。6800。2002 R3: routerid3。3。3。3 isis1 networkentity49。0001。0000。0000。0003。00 interfaceSerial400 linkprotocolppp ipaddress10。1。34。3255。255。255。0 isisenable1 interfaceGigabitEthernet000 ipaddress10。1。123。3255。255。255。0 isisenable1 R4: routerid4。4。4。4 isis1 islevellevel2 networkentity49。0002。0000。0000。0004。00 interfaceSerial400 linkprotocolppp ipaddress10。1。34。4255。255。255。0isisenable1 interfaceGigabitEthernet000 ipaddress10。1。24。4255。255。255。0 isisenable1 interfaceGigabitEthernet001 ipaddress10。1。45。4255。255。255。0 isisenable1 interfaceLoopBack0 ipaddress4。4。4。4255。255。255。0 isisenable1 R5: routerid5。5。5。5 isis1 islevellevel2 networkentity49。0002。0000。0000。0005。00 interfaceGigabitEthernet000 ipaddress10。1。45。5255。255。255。0 isisenable1 interfaceGigabitEthernet001 ipaddress10。1。56。5255。255。255。0 isisenable1 interfaceGigabitEthernet002 ipaddress10。1。58。5255。255。255。0 interfaceLoopBack0 ipaddress5。5。5。5255。255。255。0 isisenable1 R6:routerid6。6。6。6 interfaceGigabitEthernet000 ipaddress10。1。56。6255。255。255。0 isisenable1 interfaceGigabitEthernet001 ipaddress10。1。67。6255。255。255。0 isisenable1 interfaceLoopBack0 ipaddress6。6。6。6255。255。255。0 isisenable1 R7: routerid7。7。7。7 isis1 networkentity49。0003。0000。0000。0007。00 interfaceGigabitEthernet000 ipaddress10。1。67。7255。255。255。0 isisenable1 interfaceLoopBack0 ipaddress7。7。7。7255。255。255。0 isisenable1 三种hello报文: DIS的选举: a接口优先级(默认64)越大越优先 b接口mac地址越大越优先 〔R1GigabitEthernet000〕isisdispriority69修改isis优先级 DIS:hello时间13hello即3。3s OSPF和ISIS区别: 路由引入:向isis中引入路由时,默认是以Level2的形式引入。 isis1 importroutedirectlevel1以Level1形式引入路由。 路由渗透(路由泄露):避免次优路径 isis1 importrouteisislevel2intolevel1