华为ensp网络设计期末测试题-复盘

news2025/4/22 6:05:10

网络拓扑图

地址分配表

vlan端口分配表

需求

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en 
Info: Information center is disabled.
[Huawei]sys S1
[S1]vlan 99
[S1-vlan99]vlan 100
[S1-vlan100]des IT
[S1-vlan100]vlan 200
[S1-vlan200]des HR
[S1-vlan200]inte g0/0/21
[S1-GigabitEthernet0/0/21]p l a
[S1-GigabitEthernet0/0/21]p d v 100
[S1-GigabitEthernet0/0/21]inte g0/0/23
[S1-GigabitEthernet0/0/23]p l a 
[S1-GigabitEthernet0/0/23]p d v 100
[S1-GigabitEthernet0/0/23]inte g0/0/22
[S1-GigabitEthernet0/0/22]p l a
[S1-GigabitEthernet0/0/22]p d v 200
[S1-GigabitEthernet0/0/22]inte g0/0/24
[S1-GigabitEthernet0/0/24]p l a 
[S1-GigabitEthernet0/0/24]p d v 200
[S1-GigabitEthernet0/0/24]inte g0/0/1
[S1-GigabitEthernet0/0/1]p l a 
[S1-GigabitEthernet0/0/1]p d v 99 
[S1-GigabitEthernet0/0/1]dhcp en 
Info: The operation may take a few seconds. Please wait for a moment.done.
[S1]inte vlan 99
[S1-Vlanif99]ip ad 10.10.10.10 24
[S1-Vlanif99]inte vlan 100
[S1-Vlanif100]ip ad 192.168.1.254 24
[S1-Vlanif100]dhcp se re
[S1-Vlanif100]dhcp re se 10.10.10.1
[S1-Vlanif100]inte vlan 200
[S1-Vlanif200]ip ad 192.168.2.254 24
[S1-Vlanif200]dhcp se re
[S1-Vlanif200]dhcp re se 10.10.10.1
[S1-Vlanif200]ospf 
[S1-ospf-1]ar 0
[S1-ospf-1-area-0.0.0.0]net 192.168.1.0 0.0.0.255
[S1-ospf-1-area-0.0.0.0]net 192.168.2.0 0.0.0.255
[S1-ospf-1-area-0.0.0.0]net 10.10.10.0 0.0.0.255
[S1-ospf-1-area-0.0.0.0]
<S1>sa
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<S1>
<S1>
The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]un in en 
Info: Information center is disabled.
[Huawei]
[Huawei]sys route1
[route1]
[route1]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[route1]
[route1]ip po pc1
Info: It's successful to create an IP address pool.
[route1-ip-pool-pc1]
[route1-ip-pool-pc1]net 192.168.1.0 ma 24
[route1-ip-pool-pc1]
[route1-ip-pool-pc1]ga 192.168.1.254
[route1-ip-pool-pc1]
[route1-ip-pool-pc1]ex 192.168.1.10
[route1-ip-pool-pc1]
[route1-ip-pool-pc1]dns 192.168.3.100
[route1-ip-pool-pc1]
[route1-ip-pool-pc1]ip po pc2
Info: It's successful to create an IP address pool.
[route1-ip-pool-pc2]
[route1-ip-pool-pc2]net 192.168.2.0 ma 24
[route1-ip-pool-pc2]
[route1-ip-pool-pc2]ga 192.168.2.254
[route1-ip-pool-pc2]
[route1-ip-pool-pc2]ex 192.168.2.10
[route1-ip-pool-pc2]
[route1-ip-pool-pc2]dns 192.168.3.100
[route1-ip-pool-pc2]
[route1-ip-pool-pc2]ip po pc3
Info: It's successful to create an IP address pool.
[route1-ip-pool-pc3]
[route1-ip-pool-pc3]net 192.168.3.0 ma 24
[route1-ip-pool-pc3]
[route1-ip-pool-pc3]ga 192.168.3.254
[route1-ip-pool-pc3]
[route1-ip-pool-pc3]ex 192.168.3.100
[route1-ip-pool-pc3]
[route1-ip-pool-pc3]dns 192.168.3.100
[route1-ip-pool-pc3]
[route1-ip-pool-pc3]inte g0/0/1
[route1-GigabitEthernet0/0/1]
[route1-GigabitEthernet0/0/1]ip ad 10.10.10.1 24
[route1-GigabitEthernet0/0/1]
[route1-GigabitEthernet0/0/1]dhcp se gl 
[route1-GigabitEthernet0/0/1]
[route1-GigabitEthernet0/0/1]inte g0/0/0
[route1-GigabitEthernet0/0/0]
[route1-GigabitEthernet0/0/0]ip ad 10.0.12.1 24
[route1-GigabitEthernet0/0/0]
[route1-GigabitEthernet0/0/0]dhcp se gl
[route1-GigabitEthernet0/0/0]ospf 
[route1-ospf-1]
[route1-ospf-1]ar 0
[route1-ospf-1-area-0.0.0.0]
[route1-ospf-1-area-0.0.0.0]net 10.0.12.0 0.0.0.255
[route1-ospf-1-area-0.0.0.0]
[route1-ospf-1-area-0.0.0.0]net 10.10.10.0 0.0.0.255
[route1-ospf-1-area-0.0.0.0]

<Huawei>.
        ^
Error: Unrecognized command found at '^' position.
<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]
[Huawei]un in en 
Info: Information center is disabled.
[Huawei]
[Huawei]sys route2
[route2]
[route2]dhcp en 
Info: The operation may take a few seconds. Please wait for a moment.done.
[route2]
[route2]inte g0/0/0
[route2-GigabitEthernet0/0/0]
[route2-GigabitEthernet0/0/0]ip ad 10.0.12.2 24
[route2-GigabitEthernet0/0/0]
[route2-GigabitEthernet0/0/0]inte g0/0/1
[route2-GigabitEthernet0/0/1]
[route2-GigabitEthernet0/0/1]ip ad 192.168.3.254 24
[route2-GigabitEthernet0/0/1]
[route2-GigabitEthernet0/0/1]dhcp select relay
[route2-GigabitEthernet0/0/1]
[route2-GigabitEthernet0/0/1]dhcp re se 10.0.12.1
[route2-GigabitEthernet0/0/1]
[route2-GigabitEthernet0/0/1]inte g0/0/2
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]ip ad 200.200.200.2 24
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]ip route-sta 0.0.0.0 0 200.200.200.3
[route2]
[route2]ospf 
[route2-ospf-1]
[route2-ospf-1]default-route-adv
[route2-ospf-1]
[route2-ospf-1]ar 0
[route2-ospf-1-area-0.0.0.0]
[route2-ospf-1-area-0.0.0.0]net 10.0.12.0 0.0.0.255
[route2-ospf-1-area-0.0.0.0]
[route2-ospf-1-area-0.0.0.0]net 192.168.3.0 0.0.0.255
[route2-ospf-1-area-0.0.0.0]
[route2-ospf-1-area-0.0.0.0]
[route2-ospf-1-area-0.0.0.0]
[route2-ospf-1-area-0.0.0.0]acl 2000
[route2-acl-basic-2000]
[route2-acl-basic-2000]ru pe so 192.168.1.0 0.0.0.255
[route2-acl-basic-2000]
[route2-acl-basic-2000]ru pe so 192.168.2.0 0.0.0.255
[route2-acl-basic-2000]
[route2-acl-basic-2000]ru pe so 192.168.3.0 0.0.0.255
[route2-acl-basic-2000]
[route2-acl-basic-2000]inte g0/0/2
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]nat ou 2000
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]
[route2-GigabitEthernet0/0/2]acl 3000
[route2-acl-adv-3000]
[route2-acl-adv-3000]ru de ip so 192.168.1.253 0 de 192.168.3.253 0
[route2-acl-adv-3000]
[route2-acl-adv-3000]ru pe ip so a 
[route2-acl-adv-3000]
[route2-acl-adv-3000]inte g0/0/0
[route2-GigabitEthernet0/0/0]
[route2-GigabitEthernet0/0/0]traffic-filter in acl 3000
[route2-GigabitEthernet0/0/0]
[route2-GigabitEthernet0/0/0]q
[route2]us vty 0 4
[route2-ui-vty0-4]au pa 
Please configure the login password (maximum length 16):123456
[route2-ui-vty0-4]
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]un in en 
Info: Information center is disabled.
[Huawei]sys route3
[route3]inte g0/0/2
[route3-GigabitEthernet0/0/2]ip ad 200.200.200.3 24
[route3-GigabitEthernet0/0/2]inte g0/0/0
[route3-GigabitEthernet0/0/0]ip ad 100.100.100.254 24
[route3-GigabitEthernet0/0/0]

DHCP地址获取

IP地址配置

pc1不能访问pc3

pc1可以访问其他

pc1访问外网

R2登录测试

客户端访问www.123.com

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1346217.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

关于“Python”Django 管理网站的核心知识点整理大全52

目录 注意 18.2.2 激活模型 settings.py 18.2.3 Django 管理网站 1. 创建超级用户 注意 2. 向管理网站注册模型 admin.py 注意 3. 添加主题 Climbing。 18.2.4 定义模型 Entry models.py 18.2.5 迁移模型 Entry 18.2.6 向管理网站注册 Entry admin.py 往期快速…

十三:爬虫-Scrapy框架(下)

一&#xff1a;各文件的使用回顾 1.items的使用 items 文件主要用于定义储存爬取到的数据的数据结构&#xff0c;方便在爬虫和 Item Pipeline 之间传递数据。 items.pyimport scrapyclass TencentItem(scrapy.Item):# define the fields for your item here like:title scr…

c++简易AI

今天小编一时雅兴大发&#xff0c;做了一个c的简易AI&#xff0c;还是很垃圾的&#xff01; 题外话&#xff08;每期都会有&#xff09;&#xff1a;我的蛋仔名叫酷影kuying&#xff0c;大家能加我好友吗&#xff1f; 上代码咯&#xff01; #include<bits/stdc.h> #in…

2023年终总结丨很苦,很酷!

文章目录 个人简介丨了解博主写在前面丨博主介绍年终总结丨博主成就年终总结丨博主想说年终总结丨学习芝士年终总结丨未来展望写在后面丨新年快乐 个人简介丨了解博主 主页地址&#xff1a;https://blog.csdn.net/m0_68111267 荣誉身份 ⭐2022年度CSDN 社区之星 Top6 ⭐2023年…

基于NASM搭建一个能编译汇编语言的汇编软件工具环境(利用NotePad++)

文章目录 一、创建汇编语言源程序二、Notepad的下载、安装、使用三、下载和安装编译器NASM3.1 下载NASM编译器3.2 安装并配置环境变量 四、编译汇编语言源程序&#xff08;使用命令&#xff09;五、下载和使用配套源码及工具六、将编译功能集成到Notepad 一、创建汇编语言源程序…

vue3中pinia的使用及持久化(详细解释)

解释一下pinia&#xff1a; Pinia是一个基于Vue3的状态管理库&#xff0c;它提供了类似Vuex的功能&#xff0c;但是更加轻量化和简单易用。Pinia的核心思想是将所有状态存储在单个store中&#xff0c;并且将store的行为和数据暴露为可响应的API&#xff0c;从而实现数据&#…

[设计模式 Go实现] 创建型~工厂方法模式

工厂方法模式使用子类的方式延迟生成对象到子类中实现。 Go中不存在继承 所以使用匿名组合来实现 代码实现 package factorymethod//Operator 是被封装的实际类接口 type Operator interface {SetA(int)SetB(int)Result() int }//OperatorFactory 是工厂接口 type OperatorF…

国图公考:研究生可以考选调生吗?

研究生可以报考选调生吗?当然是可以的&#xff0c;但是同样需要满足一定的条件才可以。 除本科生外&#xff0c;具有硕士、博士学位的考生均可申请考试。但是&#xff0c;除了满足应届毕业生的身份&#xff0c;还需要满足年龄限制。一般来说&#xff0c;本科生不超过25岁&…

文件批量整理,文件归类整理,文件批量归类

我们每天都要面对无数的文件&#xff0c;从工作报告、个人照片到电影和音乐。如何有效地管理和归类这些文件&#xff0c;成为了我们日常生活和工作中所要处理的。今天&#xff0c;小编就给大家介绍一款简单易用的工具——文件批量改名高手&#xff0c;助你轻松实现文件批量归类…

基于DBNetpp的文本检测的仪表盘读数识别

一个不知名大学生&#xff0c;江湖人称菜狗 original author: Jacky Li Email : 3435673055qq.com Time of completion&#xff1a;2023.12.31 Last edited: 2023.12.31 祝自己生日快乐啦&#xff01;&#xff01;&#xff01;&#xff01; 目录 算法设计 &#xff08;1&…

【逗老师的无线电】ICOM IC-705终端模式Terminal Mode直连反射器配置-内置网关IP直连篇

各位友台大家好呀&#xff0c;逗老师最近整了一台IC-705&#xff0c;最吸引人的莫过于这玩意可以IP直连反射器。下面简单介绍一下这个功能和其配置方法 目录 一、功能二、依赖条件三、配置3.1、IC-705连接WIFI3.2、配置Terminal Mode3.2.1、点击MENU进入菜单&#xff0c;翻到第…

数据库的学习笔记——第一篇

SQL通用语法 SQL语句 DDL 数据定义 数据库、表字段 DML 数据操作 增删改 DQL 数据查询 查询表中记录 DCL 数据控制 创建用户、控制用户权限 DLL语句——数据库操作 SHOW DATABASES; # 查询数据库SELECT DATABASE(); # 查询当前数据库CREATE DATABASE [IF …

简单几步制作翻页电子画册

翻页电子画册是一种非常流行的电子书形式&#xff0c;它能够以生动、美观、有趣的方式展示您的内容。如果您想要制作自己的翻页电子画册&#xff0c;以下是一些简单的步骤&#xff0c;可以帮助您轻松上手。 首先&#xff0c;你需要一款在线制作电子杂志平台。比如FLBOOK&#x…

[NCTF 2022]calc

[NCTF 2022]calc 考点&#xff1a;python环境变量注入 打开题目&#xff0c;F12有hint 访问一下得到源码 app.route("/calc",methods[GET]) def calc():ip request.remote_addrnum request.values.get("num")log "echo {0} {1} {2}> ./tmp/log…

DragonEnglish:COCA20000+单词+释义

去年的时候接触到了 COCA20000 单词&#xff0c;对这种给单词特定顺序的方式蛮感兴趣的。因为我当时接触的版本只有单词或者单词释义的版本&#xff0c;所以我直接通过各种方式给它搭配了音标例句发音&#xff0c;然后每100个切割成1份&#xff0c;分成了 202 个文件来学习&…

AIGC重塑基础设施,高密数据中心为何众望所归?

凯文凯利在《必然》中认为&#xff0c;科技在本质上有所偏好&#xff0c;使得它朝往某种特定方向。 毫无疑问&#xff0c;进入到数字经济时代&#xff0c;人工智能技术飞速发展与加速应用之际&#xff0c;这个特定方向逐渐明朗&#xff1a;即算力科技&#xff0c;算力已经成为…

数据结构【线性表篇】(二)

数据结构【线性表篇】(二&#xff09; 文章目录 数据结构【线性表篇】(二&#xff09;前言为什么突然想学算法了&#xff1f;为什么选择码蹄集作为刷题软件&#xff1f; 目录一、单链表(一)、单链表的定义(二)、单链表的建立(三)、单链表的插入删除(四)、单链表的查找 二、主函…

电表通讯协议DLT645-2007编程

1、协议 电表有个电力行业推荐标准《DLT645-2007多功能电能表通信协议》&#xff0c;电表都支持&#xff0c;通过该协议读取数据&#xff0c;不同的电表不需要考虑编码格式、数据地址、高低位转换等复杂情况&#xff0c;统一采集。 不方便的地方在于这个协议定义得有点小复杂…

【数据结构与算法】字符串匹配(头歌习题)【合集】

目录 第1关&#xff1a;实现朴素的字符串匹配任务描述相关知识编程要求评测说明完整代码 第2关&#xff1a;实现KMP字符串匹配任务描述相关知识编程要求评测说明完整代码 第3关&#xff1a;【模板】KMP算法任务描述相关知识C STL容器string1、string的定义2、string中内容的访问…

计算机网络-动态路由

网络层协议&#xff1a;ip&#xff0c;ospf&#xff0c;rip&#xff0c;icmp共同组成网络层体系 ospf用于自治系统内部。 一个路由器或者网关需要能够支持多个不同的路由协议&#xff0c;以适应不同的网络环境。特别是在连接不同自治系统的边缘路由器或边界网关的情况下&#…