华三模拟器h3c cloud lab网络互联设计

试题:

试题拓扑图

搭建网络拓扑图,并定义设备接口IP

答卷拓扑图

0.路由器命名:

system-view 或sys {TAB}

sysname 1/2/3/4/5 

1.路由器配置互通

1.1按拓扑图配置IP地址

1.1.1 设备(1):
sys
#进入系统视图
int g0/0
#进入接口
ip add 192.168.1.1 24
#添加IP地址、24为掩码-展开为255.255.255.0
int g0/1
#进入接口
ip add 192.168.2.1 24 
#添加IP地址、24为掩码-展开为255.255.255.0

1.1.2 设备(2):
sys
#进入系统视图
int g0/0
#进入接口
ip add 192.168.1.2 24
#添加IP地址、24为掩码-展开为255.255.255.0
int g0/1
#进入接口
ip add 192.168.3.1 24 
#添加IP地址、24为掩码-展开为255.255.255.0
1.1.3 设备(3):
sys
#进入系统视图
int g0/0
#进入接口
ip add 192.168.2.2 24
#添加IP地址、24为掩码-展开为255.255.255.0
int g0/1
#进入接口
ip add 192.168.4.1 24 
#添加IP地址、24为掩码-展开为255.255.255.0
1.1.4 设备(4):
sys
#进入系统视图
int g0/0
#进入接口
ip add 192.168.3.2 24
#添加IP地址、24为掩码-展开为255.255.255.0
1.1.5 设备(5):
sys
#进入系统视图
int g0/0
#进入接口
ip add 192.168.4.2 24
#添加IP地址、24为掩码-展开为255.255.255.0

1.2这里用rip来做下一跳宣告网段

#每个设备都是用下面全部命令做RIP:-----------------------------

sys #进入系统视图

rip #进入rip视图

network 192.168.1.0

network 192.168.2.0

network 192.168.3.0

network 192.168.4.0

#宣告网段

1.3检查网络连通性

1.3.1这里以拓扑图最下方{设备4}和{设备5}做连通性测试
[4]ping 192.168.4.2 # ping的是设备5的IP地址
Ping 192.168.4.2 (192.168.4.2): 56 data bytes, press CTRL+C to break
56 bytes from 192.168.4.2: icmp_seq=0 ttl=252 time=1.000 ms
56 bytes from 192.168.4.2: icmp_seq=1 ttl=252 time=2.000 ms
56 bytes from 192.168.4.2: icmp_seq=2 ttl=252 time=0.000 ms
56 bytes from 192.168.4.2: icmp_seq=3 ttl=252 time=1.000 ms
56 bytes from 192.168.4.2: icmp_seq=4 ttl=252 time=0.000 ms

--- Ping statistics for 192.168.4.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/0.800/2.000/0.748 ms
[4]%Nov 13 02:11:02:743 2022 4 PING/6/PING_STATISTICS: Ping statistics for 192.168.4.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.000/0.800/2.000/0.748 ms.


[5]ping 192.168.3.2 #ping的是设备4的IP地址
Ping 192.168.3.2 (192.168.3.2): 56 data bytes, press CTRL+C to break
56 bytes from 192.168.3.2: icmp_seq=0 ttl=252 time=2.000 ms
56 bytes from 192.168.3.2: icmp_seq=1 ttl=252 time=1.000 ms
56 bytes from 192.168.3.2: icmp_seq=2 ttl=252 time=1.000 ms
56 bytes from 192.168.3.2: icmp_seq=3 ttl=252 time=1.000 ms
56 bytes from 192.168.3.2: icmp_seq=4 ttl=252 time=1.000 ms

--- Ping statistics for 192.168.3.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.200/2.000/0.400 ms
[5]%Nov 13 02:12:31:137 2022 5 PING/6/PING_STATISTICS: Ping statistics for 192.168.3.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.200/2.000/0.400 ms.
#-------

这里就以这两个设备的IP作为示例,我这里使用RIP来做不同网段的网络互联

拓展命令(Command):

network xxx.xxx.xxx.xxx 例如(192.168.2.0) #宣告网段
display  ip routing-table #查看路由表
display  rip #查看rip信息
display rip 1 database #查看rip数据库

2.使用[查看接口命令查看每个接口的IP地址,并描述

2.1 设备1

#命令:[1]dis int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
GE0/0                UP   UP       192.168.1.1
GE0/1                UP   UP       192.168.2.1
GE0/2                DOWN DOWN     --
GE5/0                DOWN DOWN     --
GE5/1                DOWN DOWN     --
GE6/0                DOWN DOWN     --
GE6/1                DOWN DOWN     --
InLoop0              UP   UP(s)    --
NULL0                UP   UP(s)    --
REG0                 UP   --       --
Ser1/0               DOWN DOWN     --
Ser2/0               DOWN DOWN     --
Ser3/0               DOWN DOWN     --
Ser4/0               DOWN DOWN     --
#分析接口信息为:
#GE0/0接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.1.1 
#GE0/1接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.2.1 

2.2 设备2

#命令:[2]dis int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
GE0/0                UP   UP       192.168.1.2
GE0/1                UP   UP       192.168.3.1
GE0/2                DOWN DOWN     --
GE5/0                DOWN DOWN     --
GE5/1                DOWN DOWN     --
GE6/0                DOWN DOWN     --
GE6/1                DOWN DOWN     --
InLoop0              UP   UP(s)    --
NULL0                UP   UP(s)    --
REG0                 UP   --       --
Ser1/0               DOWN DOWN     --
Ser2/0               DOWN DOWN     --
Ser3/0               DOWN DOWN     --
Ser4/0               DOWN DOWN     --
#分析接口信息为:
#E0/0接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.1.2
#E0/1接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.3.1

2.3 设备3

#命令:[3]dis int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
GE0/0                UP   UP       192.168.2.2
GE0/1                UP   UP       192.168.4.1
GE0/2                DOWN DOWN     --
GE5/0                DOWN DOWN     --
GE5/1                DOWN DOWN     --
GE6/0                DOWN DOWN     --
GE6/1                DOWN DOWN     --
InLoop0              UP   UP(s)    --
NULL0                UP   UP(s)    --
REG0                 UP   --       --
Ser1/0               DOWN DOWN     --
Ser2/0               DOWN DOWN     --
Ser3/0               DOWN DOWN     --
Ser4/0               DOWN DOWN     --
#分析接口信息为:
#GE0/0接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.2.2
#GE0/1接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.4.1

2. 4 设备4

#命令:[4]dis int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
GE0/0                UP   UP       192.168.3.2
GE0/1                DOWN DOWN     --
GE0/2                DOWN DOWN     --
GE5/0                DOWN DOWN     --
GE5/1                DOWN DOWN     --
GE6/0                DOWN DOWN     --
GE6/1                DOWN DOWN     --
InLoop0              UP   UP(s)    --
NULL0                UP   UP(s)    --
REG0                 UP   --       --
Ser1/0               DOWN DOWN     --
Ser2/0               DOWN DOWN     --
Ser3/0               DOWN DOWN     --
Ser4/0               DOWN DOWN     --
#分析接口信息为:
#GE0/0接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.3.2

2.5 设备5

#命令:[5]dis int brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
GE0/0                UP   UP       192.168.4.2
GE0/1                DOWN DOWN     --
GE0/2                DOWN DOWN     --
GE5/0                DOWN DOWN     --
GE5/1                DOWN DOWN     --
GE6/0                DOWN DOWN     --
GE6/1                DOWN DOWN     --
InLoop0              UP   UP(s)    --
NULL0                UP   UP(s)    --
REG0                 UP   --       --
Ser1/0               DOWN DOWN     --
Ser2/0               DOWN DOWN     --
Ser3/0               DOWN DOWN     --
Ser4/0               DOWN DOWN     --
#分析接口信息为:
#GE0/0接口:千兆网口、链路(Link)状态为开启、协议(Protocol)状态为开启、IP地址为 192.168.4.2

3.使用[查看接口内容命令]查看每个接口配置,并描述

3.1这里以 {设备1}为例:

#命令:
<1>sys #进入系统视图
[1]int g0/0 #进入GigabitEthernet0/0接口
[1-GigabitEthernet0/0]dis th #全称为 display this 显示接口配置信息
        #
        interface GigabitEthernet0/0
         port link-mode route
         combo enable copper
         ip address 192.168.1.1 255.255.255.0
        #
        return

#这里可以看到,我们可以看到接口的名称,以及接口的IP地址(address)和掩码

4.措述每个路由器的版本

4.1这里所有路由器的版本信息都一样,以{设备1}为例:

#[1]dis version
H3C Comware Software, Version 7.1.064, Release 0821P11
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.
H3C MSR36-20 uptime is 0 weeks, 0 days, 1 hour, 21 minutes
Last reboot reason: User reboot
Boot image: flash:/msr36-cmw710-boot-r0821p11.bin
Boot image version: 7.1.064, Release 0821P11
  Compiled Mar 16 2021 15:00:00
Boot image: flash:/msr36-cmw710-system-r0821p11.bin
Boot image version: 7.1.064, Release 0821P11
  Compiled Mar 16 2021 15:00:00

CPU ID: 0x2
384M bytes DDR3 SDRAM Memory
1024M bytes Flash Memory
PCB               Version:  2.0
CPLD              Version:  1.0
Basic    BootWare Version:  1.42
Extended BootWare Version:  1.42

24M bytes Flash Memory
PCB               Version:  2.0
CPLD              Version:  1.0
Basic    BootWare Version:  1.42
Extended BootWare Version:  1.42
#第一行:我们可以看到版本(Version)为 7.1.064 发行号(Release)为 0821p11
#第二行:新华三版权信息
#第三行:设备型号(H3C MSR36-20),系统运行时间(Uptime):0天1小时2分钟
#第四行:上次重新启动原因:用户重新启动
#再往下就是系统启动的镜像文件,bin为二进制文件,以及CPU和内存(Memory)信息

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值