网络——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:理论知识

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值