当前位置: 首页 > news >正文

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

网络拓扑图

地址分配表

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

相关文章:

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

网络拓扑图 地址分配表 vlan端口分配表 需求 The device is running!<Huawei>sys Enter system view, return user view with CtrlZ. [Huawei]un in en Info: Information center is disabled. [Huawei]sys S1 [S1]vlan 99 [S1-vlan99]vlan 100 [S1-vlan100]des IT [S1-…...

Dockerfile: WORKDIR vs VOLUME

WORKDIR WORKDIR指令为Dockerfile中的任何RUN、CMD、ENTRYPOINT、COPY和ADD指令设置工作目录。 如果WORKDIR不存在&#xff0c;它将被创建&#xff0c;即使它没有在任何后续Dockerfile指令中使用。 语法 : WORKDIR dirpath WORKDIR指令可以在Dockerfile中多次使用。如果提供了…...

spring ioc源码-refresh();

主要作用是刷新应用上下文 Override public void refresh() throws BeansException, IllegalStateException {synchronized (this.startupShutdownMonitor) {// 启动刷新的性能跟踪步骤StartupStep contextRefresh this.applicationStartup.start("spring.context.refre…...

使用递归实现深拷贝

文章目录 为什么要使用递归什么深拷贝具体实现基础实现处理 函数处理 Symbol处理 Set处理 Map处理 循环引用 结语-源码 为什么要使用递归什么深拷贝 我们知道在 JavaScript 中可以通过使用JSON序列化来完成深拷贝&#xff0c;但是这种方法存在一些缺陷&#xff0c;比如对于函数…...

工程(十七)——自己数据集跑R2live

博主创建了一个科研互助群Q&#xff1a;772356582&#xff0c;欢迎大家加入讨论。 r2live是比较早的算法&#xff0c;编译过程有很多问题&#xff0c;通过以下两个博客可以解决 编译R2LIVE问题&解决方法-CSDN博客 r2live process has died 问题解决了_required process …...

【python高级用法】迭代器、生成器、装饰器、闭包

迭代器 可迭代对象&#xff1a;可以使用for循环来遍历的&#xff0c;可以使用isinstance()来测试。 迭代器&#xff1a;同时实现了__iter__()方法和__next__()方法&#xff0c;可以使用isinstance()方法来测试是否是迭代器对象 from collections.abc import Iterable, Iterat…...

Nx市工业数据洞察:Flask、MySQL、Echarts的可视化之旅

Nx市工业数据洞察&#xff1a;Flask、MySQL、Echarts的可视化之旅 背景数据集来源技术选型功能介绍创新点总结 背景 随着工业化的不断发展&#xff0c;Nx市工业数据的收集和分析变得愈发重要。本博客将介绍如何利用Flask、MySQL和Echarts等技术&#xff0c;从统计局获取的数据…...

关于正态分布

目录 1.正态分布是什么2.正态分布有什么用途3.如何确定数据服从正态分布 本文简单介绍正态分布的基本概念和用途。 1.正态分布是什么 正态分布&#xff0c;也称为高斯分布&#xff0c;是由德国数学家卡尔弗里德里希高斯在研究测量误差时提出的。他发现许多自然现象和统计数据…...

每日一练(编程题-C/C++)

目录 CSDN每日一练1. 2023/2/27- 一维数组的最大子数组和(类型&#xff1a;数组 难度&#xff1a;中等)2. 2023/4/7 - 小艺照镜子(类型&#xff1a;字符串 难度&#xff1a;困难)3. 2023/4/14 - 最近的回文数(难度&#xff1a;中等)4. 2023/2/1-蛇形矩阵(难度&#xff1a;困难)…...

Unity UnityWebRequest 在Mac上使用报CommectionError

今天是想把前两天写的Demo拿到Mac上打个IPA的完事我发现 在运行时释放游戏资源的时候UnityWebRequest返回的结果不是Success 查看Log发现是 req.result 是CommectionError error是 Cannot connect to destination host 代码如下&#xff1a; UnityWebRequest req UnityWebRequ…...

WorkPlus为企业打造私有化部署IM解决方案

在移动数字化时代&#xff0c;企业面临着如何全面掌控业务和生态的挑战。企业微信、钉钉、飞书、Teams等应用虽然提供了部分解决方案&#xff0c;但无法满足企业的私有化部署需求。此时&#xff0c;WorkPlus作为安全专属的移动数字化平台&#xff0c;被誉为移动应用的“航空母舰…...

QT上位机开发(抽奖软件)

【 声明&#xff1a;版权所有&#xff0c;欢迎转载&#xff0c;请勿用于商业用途。 联系信箱&#xff1a;feixiaoxing 163.com】 用抽奖软件抽奖&#xff0c;是一种很常见的抽奖方式。特别是写这篇文章的时候&#xff0c;正好处于2023年12月31日&#xff0c;也是一年中最后一天…...

雨课堂作业整理

第一次作业 1.下列序列是图序列的是&#xff08; &#xff09; A.1&#xff0c;2&#xff0c;2&#xff0c;3&#xff0c;4&#xff0c;4&#xff0c;5 B.1&#xff0c;1&#xff0c;2&#xff0c;2&#xff0c;4&#xff0c;6&#xff0c;6 C.0&#xff0c;0&#xff0c;2&am…...

C#/WPF 只允许一个实例程序运行并将已运行程序置顶

使用用互斥量(System.Threading.Mutex)&#xff1a; 同步基元&#xff0c;它只向一个线程授予对共享资源的独占访问权。在程序启动时候&#xff0c;请求一个互斥体&#xff0c;如果能获取对指定互斥的访问权&#xff0c;就职运行一个实例。 实例代码&#xff1a; /// <…...

【基础】【Python网络爬虫】【1.认识爬虫】什么是爬虫,爬虫分类,爬虫可以做什么

Python网络爬虫基础 认识爬虫1.什么是爬虫2.爬虫可以做什么3.为什么用 Ptyhon 爬虫4.爬虫的分类通用爬虫聚焦爬虫功能爬虫增量式爬虫分布式爬虫 5.爬虫的矛与盾&#xff08;重点&#xff09;6.盗亦有道的君子协议robots7.爬虫合法性探究 认识爬虫 1.什么是爬虫 网络爬虫&…...

【算法与数据结构】860、LeetCode柠檬水找零

文章目录 一、题目二、解法三、完整代码 所有的LeetCode题解索引&#xff0c;可以看这篇文章——【算法和数据结构】LeetCode题解。 一、题目 二、解法 思路分析&#xff1a;本题的思路比较简单&#xff0c;首先要保存收到的零钱&#xff0c;其次计算找零&#xff0c;最后分解找…...

「Verilog学习笔记」乘法与位运算

专栏前言 本专栏的内容主要是记录本人学习Verilog过程中的一些知识点&#xff0c;刷题网站用的是牛客网 观察乘数的特点&#xff1a; 1111_1011 1_0000_0000 - 1 - 100 timescale 1ns/1nsmodule dajiang13(input [7:0] A,output [15:0] B);//*************code*********…...

CSS与JavaScript的简单认识

CSS&#xff1a;是一门语言&#xff0c;用于控制网页表现&#xff0c;让页面更好看的。 CSS&#xff08;Cascading Style Sheet&#xff09;&#xff1a;层叠样式表 CSS与html结合的三种方式&#xff1a; 1、内部样式&#xff1a;用style标签&#xff0c;在标签内部定义CSS样式…...

MAC 中多显示器的设置(Parallels Desktop)

目录 一、硬件列表&#xff1a; 二、线路连接&#xff1a; 三、软件设置&#xff1a; 1. 设置显示器排列位置及显示参数 2. 分别设置外接显示器为&#xff1a;扩展显示器&#xff0c;内建显示器为主显示器 3. 设置Parallels Desktop屏幕参数 四、结果 一、硬件列表&a…...

迁移到云原生:如何使用微服务迁移应用程序

企业遇到大规模部署和监督生产中的应用程序的任务。幸运的是&#xff0c;我们可以使用大量技术和工具。然而&#xff0c;从传统的&#xff0c;整体的结构转变为云态一个人提出了自己的障碍。在这里&#xff0c;您会发现将应用程序从整体设置转移到基于微服务的体系结构时要进行…...

未来机器人的大脑:如何用神经网络模拟器实现更智能的决策?

编辑&#xff1a;陈萍萍的公主一点人工一点智能 未来机器人的大脑&#xff1a;如何用神经网络模拟器实现更智能的决策&#xff1f;RWM通过双自回归机制有效解决了复合误差、部分可观测性和随机动力学等关键挑战&#xff0c;在不依赖领域特定归纳偏见的条件下实现了卓越的预测准…...

Linux云原生安全:零信任架构与机密计算

Linux云原生安全&#xff1a;零信任架构与机密计算 构建坚不可摧的云原生防御体系 引言&#xff1a;云原生安全的范式革命 随着云原生技术的普及&#xff0c;安全边界正在从传统的网络边界向工作负载内部转移。Gartner预测&#xff0c;到2025年&#xff0c;零信任架构将成为超…...

3403. 从盒子中找出字典序最大的字符串 I

3403. 从盒子中找出字典序最大的字符串 I 题目链接&#xff1a;3403. 从盒子中找出字典序最大的字符串 I 代码如下&#xff1a; class Solution { public:string answerString(string word, int numFriends) {if (numFriends 1) {return word;}string res;for (int i 0;i &…...

【生成模型】视频生成论文调研

工作清单 上游应用方向&#xff1a;控制、速度、时长、高动态、多主体驱动 类型工作基础模型WAN / WAN-VACE / HunyuanVideo控制条件轨迹控制ATI~镜头控制ReCamMaster~多主体驱动Phantom~音频驱动Let Them Talk: Audio-Driven Multi-Person Conversational Video Generation速…...

算法岗面试经验分享-大模型篇

文章目录 A 基础语言模型A.1 TransformerA.2 Bert B 大语言模型结构B.1 GPTB.2 LLamaB.3 ChatGLMB.4 Qwen C 大语言模型微调C.1 Fine-tuningC.2 Adapter-tuningC.3 Prefix-tuningC.4 P-tuningC.5 LoRA A 基础语言模型 A.1 Transformer &#xff08;1&#xff09;资源 论文&a…...

iOS性能调优实战:借助克魔(KeyMob)与常用工具深度洞察App瓶颈

在日常iOS开发过程中&#xff0c;性能问题往往是最令人头疼的一类Bug。尤其是在App上线前的压测阶段或是处理用户反馈的高发期&#xff0c;开发者往往需要面对卡顿、崩溃、能耗异常、日志混乱等一系列问题。这些问题表面上看似偶发&#xff0c;但背后往往隐藏着系统资源调度不当…...

莫兰迪高级灰总结计划简约商务通用PPT模版

莫兰迪高级灰总结计划简约商务通用PPT模版&#xff0c;莫兰迪调色板清新简约工作汇报PPT模版&#xff0c;莫兰迪时尚风极简设计PPT模版&#xff0c;大学生毕业论文答辩PPT模版&#xff0c;莫兰迪配色总结计划简约商务通用PPT模版&#xff0c;莫兰迪商务汇报PPT模版&#xff0c;…...

免费数学几何作图web平台

光锐软件免费数学工具&#xff0c;maths,数学制图&#xff0c;数学作图&#xff0c;几何作图&#xff0c;几何&#xff0c;AR开发,AR教育,增强现实,软件公司,XR,MR,VR,虚拟仿真,虚拟现实,混合现实,教育科技产品,职业模拟培训,高保真VR场景,结构互动课件,元宇宙http://xaglare.c…...

day36-多路IO复用

一、基本概念 &#xff08;服务器多客户端模型&#xff09; 定义&#xff1a;单线程或单进程同时监测若干个文件描述符是否可以执行IO操作的能力 作用&#xff1a;应用程序通常需要处理来自多条事件流中的事件&#xff0c;比如我现在用的电脑&#xff0c;需要同时处理键盘鼠标…...

Python 实现 Web 静态服务器(HTTP 协议)

目录 一、在本地启动 HTTP 服务器1. Windows 下安装 node.js1&#xff09;下载安装包2&#xff09;配置环境变量3&#xff09;安装镜像4&#xff09;node.js 的常用命令 2. 安装 http-server 服务3. 使用 http-server 开启服务1&#xff09;使用 http-server2&#xff09;详解 …...