ISIS

实验内容: 拓扑如下图所示,Router A 连接局域网A,Router B 连接局域网B。请在两台路由器上配置IS-IS 路由协议使得两个局域网可以相互通信。

image

先将拓扑图复现,设备连起来

然后开机

ISIS的配置不是很难,这里直接给出R1和R2的命令执行记录,大家可以参考一下

R1

[Huawei]isis
[Huawei-isis-1]quit
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 10.0.0.1 30
[Huawei-GigabitEthernet0/0/0]isis enable 1
[Huawei-GigabitEthernet0/0/0]isis circuit-type p2p
[Huawei-GigabitEthernet0/0/0]q
[Huawei]isis 1
[Huawei-isis-1]is-level level-2
[Huawei-isis-1]network-entity 49.0001.0000.0000.0001.00
[Huawei-isis-1]q
[Huawei]interface e0/0/1
[Huawei-Ethernet0/0/1]ip address 192.83.1.1 24
[Huawei-Ethernet0/0/1]isis enable 1
[Huawei-Ethernet0/0/1]q
[Huawei]

R2

[Huawei]isis
[Huawei-isis-1]quit
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 10.0.0.2 30
[Huawei-GigabitEthernet0/0/0]isis enable 1
[Huawei-GigabitEthernet0/0/0]isis circuit-type p2p
[Huawei-GigabitEthernet0/0/0]q
[Huawei]isis 1
[Huawei-isis-1]is-level level-2
[Huawei-isis-1]network-entity 49.0001.0000.0000.0002.00
[Huawei-isis-1]q
[Huawei]interface e0/0/1
[Huawei-Ethernet0/0/1]ip address 192.83.2.1 24
[Huawei-Ethernet0/0/1]isis enable 1
[Huawei-Ethernet0/0/1]q
[Huawei]

指令解析

启用IS-IS
[R] isis

启用IS-IS协议的接口并设置网络类型

[R1] interface g0/0/0
[R1-GigabitEthernet0/0/0] ip address 10.0.0.1 30
[R1-GigabitEthernet0/0/0] isis enable 1
[R1-GigabitEthernet0/0/0] isis circuit-type p2p
[R1-GigabitEthernet0/0/0] quit

配置一个唯一的IS-IS系统ID

[R1] isis 1
[R1-isis-1] is-level level-2
[R1-isis-1] network-entity 49.0001.0000.0000.0001.00
[R1-isis-1] quit

LAN接口分配IP地址,并启用IS-IS

[R1] interface g0/0/1
[R1-GigabitEthernet0/0/1] ip address 192.168.1.1 24
[R1-GigabitEthernet0/0/1] isis enable 1
[R1-GigabitEthernet0/0/1] quit

然后PC1和PC2配置好IP和子网掩码网关啥的,互相Ping一下,能成功就OK

image

阅读剩余
THE END