华为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不存在,它将被创建,即使它没有在任何后续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序列化来完成深拷贝,但是这种方法存在一些缺陷,比如对于函数…...

工程(十七)——自己数据集跑R2live
博主创建了一个科研互助群Q:772356582,欢迎大家加入讨论。 r2live是比较早的算法,编译过程有很多问题,通过以下两个博客可以解决 编译R2LIVE问题&解决方法-CSDN博客 r2live process has died 问题解决了_required process …...

【python高级用法】迭代器、生成器、装饰器、闭包
迭代器 可迭代对象:可以使用for循环来遍历的,可以使用isinstance()来测试。 迭代器:同时实现了__iter__()方法和__next__()方法,可以使用isinstance()方法来测试是否是迭代器对象 from collections.abc import Iterable, Iterat…...

Nx市工业数据洞察:Flask、MySQL、Echarts的可视化之旅
Nx市工业数据洞察:Flask、MySQL、Echarts的可视化之旅 背景数据集来源技术选型功能介绍创新点总结 背景 随着工业化的不断发展,Nx市工业数据的收集和分析变得愈发重要。本博客将介绍如何利用Flask、MySQL和Echarts等技术,从统计局获取的数据…...
关于正态分布
目录 1.正态分布是什么2.正态分布有什么用途3.如何确定数据服从正态分布 本文简单介绍正态分布的基本概念和用途。 1.正态分布是什么 正态分布,也称为高斯分布,是由德国数学家卡尔弗里德里希高斯在研究测量误差时提出的。他发现许多自然现象和统计数据…...

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

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

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

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

雨课堂作业整理
第一次作业 1.下列序列是图序列的是( ) A.1,2,2,3,4,4,5 B.1,1,2,2,4,6,6 C.0,0,2&am…...
C#/WPF 只允许一个实例程序运行并将已运行程序置顶
使用用互斥量(System.Threading.Mutex): 同步基元,它只向一个线程授予对共享资源的独占访问权。在程序启动时候,请求一个互斥体,如果能获取对指定互斥的访问权,就职运行一个实例。 实例代码: /// <…...

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

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

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

CSS与JavaScript的简单认识
CSS:是一门语言,用于控制网页表现,让页面更好看的。 CSS(Cascading Style Sheet):层叠样式表 CSS与html结合的三种方式: 1、内部样式:用style标签,在标签内部定义CSS样式…...

MAC 中多显示器的设置(Parallels Desktop)
目录 一、硬件列表: 二、线路连接: 三、软件设置: 1. 设置显示器排列位置及显示参数 2. 分别设置外接显示器为:扩展显示器,内建显示器为主显示器 3. 设置Parallels Desktop屏幕参数 四、结果 一、硬件列表&a…...
迁移到云原生:如何使用微服务迁移应用程序
企业遇到大规模部署和监督生产中的应用程序的任务。幸运的是,我们可以使用大量技术和工具。然而,从传统的,整体的结构转变为云态一个人提出了自己的障碍。在这里,您会发现将应用程序从整体设置转移到基于微服务的体系结构时要进行…...

使用docker在3台服务器上搭建基于redis 6.x的一主两从三台均是哨兵模式
一、环境及版本说明 如果服务器已经安装了docker,则忽略此步骤,如果没有安装,则可以按照一下方式安装: 1. 在线安装(有互联网环境): 请看我这篇文章 传送阵>> 点我查看 2. 离线安装(内网环境):请看我这篇文章 传送阵>> 点我查看 说明:假设每台服务器已…...

多云管理“拦路虎”:深入解析网络互联、身份同步与成本可视化的技术复杂度
一、引言:多云环境的技术复杂性本质 企业采用多云策略已从技术选型升维至生存刚需。当业务系统分散部署在多个云平台时,基础设施的技术债呈现指数级积累。网络连接、身份认证、成本管理这三大核心挑战相互嵌套:跨云网络构建数据…...
在鸿蒙HarmonyOS 5中实现抖音风格的点赞功能
下面我将详细介绍如何使用HarmonyOS SDK在HarmonyOS 5中实现类似抖音的点赞功能,包括动画效果、数据同步和交互优化。 1. 基础点赞功能实现 1.1 创建数据模型 // VideoModel.ets export class VideoModel {id: string "";title: string ""…...
IGP(Interior Gateway Protocol,内部网关协议)
IGP(Interior Gateway Protocol,内部网关协议) 是一种用于在一个自治系统(AS)内部传递路由信息的路由协议,主要用于在一个组织或机构的内部网络中决定数据包的最佳路径。与用于自治系统之间通信的 EGP&…...

SCAU期末笔记 - 数据分析与数据挖掘题库解析
这门怎么题库答案不全啊日 来简单学一下子来 一、选择题(可多选) 将原始数据进行集成、变换、维度规约、数值规约是在以下哪个步骤的任务?(C) A. 频繁模式挖掘 B.分类和预测 C.数据预处理 D.数据流挖掘 A. 频繁模式挖掘:专注于发现数据中…...
力扣-35.搜索插入位置
题目描述 给定一个排序数组和一个目标值,在数组中找到目标值,并返回其索引。如果目标值不存在于数组中,返回它将会被按顺序插入的位置。 请必须使用时间复杂度为 O(log n) 的算法。 class Solution {public int searchInsert(int[] nums, …...
动态 Web 开发技术入门篇
一、HTTP 协议核心 1.1 HTTP 基础 协议全称 :HyperText Transfer Protocol(超文本传输协议) 默认端口 :HTTP 使用 80 端口,HTTPS 使用 443 端口。 请求方法 : GET :用于获取资源,…...
C#学习第29天:表达式树(Expression Trees)
目录 什么是表达式树? 核心概念 1.表达式树的构建 2. 表达式树与Lambda表达式 3.解析和访问表达式树 4.动态条件查询 表达式树的优势 1.动态构建查询 2.LINQ 提供程序支持: 3.性能优化 4.元数据处理 5.代码转换和重写 适用场景 代码复杂性…...

【MATLAB代码】基于最大相关熵准则(MCC)的三维鲁棒卡尔曼滤波算法(MCC-KF),附源代码|订阅专栏后可直接查看
文章所述的代码实现了基于最大相关熵准则(MCC)的三维鲁棒卡尔曼滤波算法(MCC-KF),针对传感器观测数据中存在的脉冲型异常噪声问题,通过非线性加权机制提升滤波器的抗干扰能力。代码通过对比传统KF与MCC-KF在含异常值场景下的表现,验证了后者在状态估计鲁棒性方面的显著优…...
4. TypeScript 类型推断与类型组合
一、类型推断 (一) 什么是类型推断 TypeScript 的类型推断会根据变量、函数返回值、对象和数组的赋值和使用方式,自动确定它们的类型。 这一特性减少了显式类型注解的需要,在保持类型安全的同时简化了代码。通过分析上下文和初始值,TypeSc…...