数通——华为HCIA

AP :https://cloud.tencent.com/developer/article/2473313

ensp模拟器下载:https://blog.csdn.net/weixin_48711866/article/details/121538418?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7EPaidSort-1-121538418-blog-150059932.235%5Ev43%5Epc_blog_bottom_relevance_base7&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7EPaidSort-1-121538418-blog-150059932.235%5Ev43%5Epc_blog_bottom_relevance_base7&utm_relevant_index=1

ensp安装:https://blog.csdn.net/IT99_/article/details/150059932

HCIA视频参考https://www.bilibili.com/video/BV1ZZLyzLEJW/?p=7&spm_id_from=333.1387.top_right_bar_window_history.content.click&vd_source=f2c475e2a8a69bec4076fc26819c3e8d

ensp解析:https://cloud.tencent.com/developer/article/2339901

ensp设备:ensp模拟器设备间的连线:copper以太网线

ensp命令行终端

1.更改终端命令行名称<huawei>为sw1:sys sw1

2.创建vlan :vlan vlan-id(1~4094);同时配多个vlan:vlan batch 10 20

3.在接口视图下,配置接口类型:port link-type access/trunk/hybrid,简写p l a/t

4.进入接口:int e0/0/1

5.查看VLAN标签:display vlan

6.查看接口类型:display port vlan

7.在接口视图下,查看接口信息:display this

8.在接口视图下,配置Access接口的缺省VLAN:port default vlan vlan-id(1~4094);简写p d v 10配置接口vlan 10

9.关闭生成树协议:stp disable

10.开启/使能STP:stp enable

11.查看MAC地址:display mac-address

12.stp模式为STP:stp mode stp

13.查询STP信息:display stp

14.查STP摘要信息:display stp brief

15.设置STP BID优先级设为0:stp priority 0

16.设备设为备份根网桥:stp root secondary

17.关闭信息中心:undo info-center enable

18.查询接口类型,放行的vlan:display port vlan

19.终端IP信息查询:ipconfig

20.查询g0/0/0口详细信息(包括MAC地址):display interface g0/0/0

21.查看接口配置信息:display this

22.删除接口:undo interface port

23.创建并进入子接口:int g0/0/0

24.接口视图,子接口可以处理相应VLAN的数据:AR1-GigabitEthernert0/0/1.10dotlq termination vid 10

25.使能子接口处理ARP广播报文:AR1-GigabitEthernert0/0/1.10arp broadcast enable

26.创建并进入VALNIF接口:int Vlanif 10

27.3层接口信息:display ip interface brief

手工静态配置链路聚合

28.创建并进入聚合组1:interface Eth-Trunk 1

29.聚合组视图添加成员:LSW1-Eth-Trunk1trunkport GigabitEthernet 0/0/1

30.查询聚合组信息:display eth-trunk

31.设置链路聚合模式为LACP模式:LSW1-Eth-Trunk2mode lacp-static

32.设置链路聚合成员数量范围:LSW1-Eth-Trunk2max bandwidth-affected-linknumber 7

33.设置最大活动链路数:LSW1-Eth-Trunk2max active-linknumber 3

34.设置LACP优先级:LSW1lacp priority 0

35.将接口添加到聚合组中:LSW3-Ethernet0/0/5:eth-trunk 1

静态NAT配置

36.接口视图下配置静态NAT:nat static global{global-address}inside{host-address}

global参数用于配置外部公有地址,inside参数用于配置内部私有地址。

37.系统视图下配置静态NAT:nat static global{global-address}inside{host-address}//配置静态NAT将内网主机的私有地址一对一映射到公有地址。

在接口下开启静态NAT:nat static enable 在接口下使能nat static功能。

AAA配置

38.进入设备的console 0口:user-interface console 0

39.在console口配置密码:authentication mode password

40.进入aaa:aaa

41.设置认证模式为aaa:authentication-mode aaa//设置密码、优先级、服务类型(终端)

42.重启设备:reboot fast

43.清除保存的设置:reset saved-configuration

DHCP配置

44.使能dhcp:dhcp enable

45.接口打开dhcp:dhcp select interface

相关推荐
2501_919749033 小时前
华为鸿蒙免费日记本—小羊日记
华为·harmonyos·鸿蒙
m0_738185823 小时前
Flutter 鸿蒙化实战:rive 适配 OpenHarmony,Rive 动画
flutter·华为·harmonyos·鸿蒙
zd2005723 小时前
我给x86版本开源鸿蒙系统装上了 Homebrew,还塞了整个 Node 和 opencode 进去
华为·开源·harmonyos
打工仔折腾 AI3 小时前
鸿蒙版ToDesk远控实测:蓝牙键鼠、双模式鼠标与跨端剪贴板怎么用
后端·python·华为·性能优化·计算机外设·harmonyos·ai agent 实战
yumgpkpm15 小时前
(CDH 7)CDP Private Cloud Base 7.3.1 → Acceldata ODP 3.3.6.4 引擎迁移风险评估表
服务器·人工智能·hadoop·python·华为·zookeeper·hbase
m0_7381858215 小时前
Flutter 鸿蒙化实战:screen_protector 适配 OpenHarmony,防截屏/防泄露
flutter·华为·harmonyos·鸿蒙
xixixi7777716 小时前
解读|华为星河 AI 三层安全围栏:以 AI 守护 AI,重构智算中心 Token 生产纵深防御体系
人工智能·安全·web安全·华为·提示词注入·agent安全·模型投毒
yumgpkpm21 小时前
Acceldata ODP 3.3.6.4 vs CDP Private Cloud Base 7.3.2 对比
大数据·运维·服务器·hadoop·华为·zookeeper·hbase
老陈说编程1 天前
2. 鸿蒙(HarmonyOS)超级终端与生态
华为·harmonyos
2501_919749031 天前
华为鸿蒙免费时钟工具—小羊时钟
华为·harmonyos