中间系统到中间系统(IS-IS,Intermediate system to intermediate system,意为“中间系统到中间系统”)是一种内部网关协议,是电信运营商普遍采用的内部网关协议之一
IS-IS与OSPF一样都是链路状态路由协议,使用SPF算法,使用Hello包建立邻居关系、使用LSP交换链路状态信息,采用分层设计.
相同区域内
原则:
通过环回口32位地址补齐成48位获得,即补足3位,然后4位分割
举例: 12.12.12.12
补足3位:变成012.012.012.012
4位分割:变成0120.1201.2012
所以12.12.12.12转换后变为:49.0001.0120.1201.2012.00
了解熟悉ISIS的机制,完成实验,通过ISIS协议全网互通,使路由器相互学习到各自的路由表。
1、路由器端口配置IP地址,环回地址。
2、isis端口申明,路由泄露。
3、RIP配置,引入isis,在ISIS引入RIP。
4、测试。
sysname R5
isis 1
is-level level-1
network-entity 49.0001.0050.0500.5005.00
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 45.0.0.2 255.255.255.252
isis enable 1
interface GigabitEthernet0/0/3
wlan
interface NULL0
interface LoopBack0
ip address 5.5.5.5 255.255.255.255
isis enable 1
interface LoopBack1
ip address 202.0.0.1 255.255.255.0
isis enable 1
interface LoopBack2
ip address 202.0.1.1 255.255.255.0
isis enable 1
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
sysname R4
isis 1
network-entity 49.0001.0040.0400.4004.00
import-route isis level-2 into level-1
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 45.0.0.1 255.255.255.252
isis enable 1
interface GigabitEthernet0/0/1
ip address 34.0.0.2 255.255.255.252
isis enable 1
interface GigabitEthernet0/0/3
wlan
interface NULL0
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
isis enable 1
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
sysname R3
isis 1
is-level level-2
network-entity 49.0001.0030.0300.3003.00
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 23.0.0.2 255.255.255.252
isis enable 1
interface GigabitEthernet0/0/1
ip address 34.0.0.1 255.255.255.252
isis enable 1
wlan
interface NULL0
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
isis enable 1
sysname R2
isis 1
network-entity 49.0001.0020.0200.2002.00
import-route isis level-2 into level-1
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 23.0.0.1 255.255.255.252
isis enable 1
interface GigabitEthernet0/0/1
ip address 12.0.0.2 255.255.255.252
isis enable 1
wlan
interface NULL0
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
isis enable 1
sysname R1
isis 1
is-level level-1
network-entity 49.0001.0010.0100.1001.00
import-route rip 1 level-1
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 16.0.0.1 255.255.255.252
interface GigabitEthernet0/0/1
ip address 12.0.0.1 255.255.255.252
isis enable 1
wlan
interface NULL0
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
isis enable 1
rip 1
undo summary
version 2
network 16.0.0.0
import-route isis 1 cost 5
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
sysname R6
firewall zone Local
priority 16
interface GigabitEthernet0/0/0
ip address 16.0.0.2 255.255.255.252
wlan
interface NULL0
interface LoopBack0
ip address 6.6.6.6 255.255.255.255
interface LoopBack1
ip address 203.0.0.1 255.255.255.0
interface LoopBack2
ip address 203.0.1.1 255.255.255.0
rip 1
undo summary
version 2
network 203.0.0.0
network 203.0.1.0
network 6.0.0.0
network 16.0.0.0
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
return