网络——IS-IS: 实验操作

ISIS—实验操作

实验拓扑+配置思路+IP分配+所有实验代码

拓扑图、拓扑配置思路、拓扑IP分配地址

在这里插入图片描述

拓扑代码图:

在这里插入图片描述

拓扑代码块

AR1代码块

sysname AR1 #更改设备名称
interface LoopBack0 #进入回环口0
ip address 1.1.1.1 255.255.255.255 #配置IP
isis enable 1 #启用ISIS
interface GigabitEthernet0/0/0
ip address 192.168.1.254 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/1
ip address 10.0.11.1 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0001.00 #配置NASP地址

AR2代码块

sysname AR2
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/0
ip address 10.0.25.2 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/1
ip address 192.168.2.254 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0002.00

SW1代码块

sysname SW1
vlan batch 11 to 12 #创建VLAN 11 到 12
interface LoopBack0
ip address 11.11.11.11 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/1
port link-type access #接口链路类型设置为ACCESS
port default vlan 11 #接口配置VLAN为11
interface Vlanif11 #进入VLANIF11
ip address 10.0.11.11 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/2
port link-type access
port default vlan 12
interface Vlanif12
ip address 10.0.12.1 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0011.00

SW2代码块

sysname SW2
vlan batch 12 23 #创建VLAN 12和23
interface LoopBack0
ip address 22.22.22.22 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 12
interface Vlanif12
ip address 10.0.12.2 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/2
port link-type access
port default vlan 23
interface Vlanif23
ip address 10.0.23.2 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0022.00

SW3代码块

sysname SW3
vlan batch 23 34
interface LoopBack0
ip address 33.33.33.33 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 23
interface Vlanif23
ip address 10.0.23.3 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/2
port link-type access
port default vlan 34
interface Vlanif34
ip address 10.0.34.3 255.255.255.0
isis enable 1
isis 1
is-level level-2 #指定设备角色为L2
network-entity 49.0001.0000.0000.0033.00

SW4代码块

sysname SW4
vlan batch 34 45
interface LoopBack0
ip address 44.44.44.44 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 34
interface Vlanif34
ip address 10.0.34.4 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/2
port link-type access
port default vlan 45
interface Vlanif45
ip address 10.0.45.4 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0044.00

SW5代码块

sysname SW5
vlan batch 25 45
interface LoopBack0
ip address 55.55.55.55 255.255.255.255
isis enable 1
interface GigabitEthernet0/0/1
port link-type access
port default vlan 45
interface Vlanif45
ip address 10.0.45.5 255.255.255.0
isis enable 1
interface GigabitEthernet0/0/2
port link-type access
port default vlan 25
interface Vlanif25
ip address 10.0.25.5 255.255.255.0
isis enable 1
isis 1
network-entity 49.0001.0000.0000.0055.00

ISIS的实验操作就到这里,ISIS的配置相对于OSPF协议还是简单快速了不少的,如果有不懂的地方可以参考我的网络——IS-IS:理论知识

猜你喜欢

转载自blog.csdn.net/qq_49296785/article/details/108070602