网络应用基础交换机的基础操作(NETBASE第六课)(三)

简介: 网络应用基础交换机的基础操作(NETBASE第六课)(三)

代码四

Huawei>
<Huawei>sys  //  一 主视图进入到系统视图sys+tab键
Enter system view, return user view with Ctrl+Z. 
[Huawei]sysname  <DREAMS> //二 修改系统视图的名字为swith1
<DREAMS> //三 按住ctrl键+键返回上一步
<DREAMS> save //四   
The current configuration will be written to the device.
Are you sure to continue?[Y/N]
Jul  9 2023 16:26:44-08:00 swith1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 4, th
e change loop count is 0, and the maximum number of records is 4095.
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Jul  9 2023 16:26:54-08:00 swith1 %%01CFM/4/SAVE(l)[54]:The user chose Y when de
ciding whether to save the configuration to the device.
flash:/vrpcfg.zip exists, overwrite?[Y/N]:y
Now saving the current configuration to the slot 0.
Jul  9 2023 16:26:59-08:00 swith1 %%01CFM/4/OVERWRITE_FILE(l)[55]:When deciding 
whether to overwrite the configuration file vrpcfg.zip, the user chose Y.
Save the configuration successfully.
<DREAMS>
<DREAMS>
<DREAMS>
<DREAMS>
<DREAMS>rese  
<DREAMS>reset  sa 
<DREAMS>reset  saved-configuration 
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device.
Jul  9 2023 16:46:49-08:00 DREAMS %%01CFM/4/RST_CFG(l)[54]:The user chose Y when
 deciding whether to reset the saved configuration.
Info: Succeeded in clearing the configuration in the device.
<DREAMS>reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:n
Info: If want to reboot with saving diagnostic information, input 'N' and then e
xecute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
Jul  9 2023 16:47:01-08:00 DREAMS %%01CMD/4/REBOOT(l)[55]:The user chose Y when 
deciding whether to reboot the system. (Task=co0, Ip=**, User=**)
<DREAMS>
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/BOARD_DISABLE(l)[56]:Board 0 has b
een unavailable.
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[57]:Interface Gigabi
tEthernet0/0/1 has been unavailable.
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[58]:Interface Gigabi
tEthernet0/0/2 has been unavailable.
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[59]:Interface Gigabi
tEthernet0/0/3 has been unavailable.
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[60]:Interface Gigabi
tEthernet0/0/4 has been unavailable.
Jul  9 2023 16:47:01-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[61]:Interface Gigabi
tEthernet0/0/5 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[62]:Interface Gigabi
tEthernet0/0/6 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[63]:Interface Gigabi
tEthernet0/0/7 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[64]:Interface Gigabi
tEthernet0/0/8 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[65]:Interface Gigabi
tEthernet0/0/9 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[66]:Interface Gigabi
tEthernet0/0/10 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[67]:Interface Gigabi
tEthernet0/0/11 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[68]:Interface Gigabi
tEthernet0/0/12 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[69]:Interface Gigabi
tEthernet0/0/13 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[70]:Interface Gigabi
tEthernet0/0/14 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[71]:Interface Gigabi
tEthernet0/0/15 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[72]:Interface Gigabi
tEthernet0/0/16 has been unavailable.
Jul  9 2023 16:47:02-08:00 DREAMS %%01IFNET/4/IF_DISABLE(l)[73]:Interface Gigabi
tEthernet0/0/17 has been unavailable.
<Huawei>
Jul  9 2023 16:47:22-08:00 Huawei %%01ALML/4/PUBLISH_EVENT(l)[0]:Publish event. 
(Slot=0, Event ID=BOARD_SERVICE_REGISTER).
Jul  9 2023 16:47:23-08:00 Huawei %%01IFNET/4/BOARD_ENABLE(l)[1]:Board 0 has bee
n available.
Jul  9 2023 16:47:24-08:00 Huawei %%01SRM/3/FANEXC(l)[2]:Fault occurs in the fan
 in slot 0.
Jul  9 2023 16:47:24-08:00 Huawei %%01HSC/4/SICTMP_EXCD_LWTHR(l)[3]:Temperature 
of SIC in slot 0 exceeds the low threshold.
Jul  9 2023 16:47:25-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 3, th
e change loop count is 0, and the maximum number of records is 4095.
<Huawei>
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[4]:    GigabitEthernet0/0/1: 
change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_STATE(l)[5]:Interface Vlanif1 h
as turned into DOWN state.
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[6]:    GigabitEthernet0/0/2: 
change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[7]:    GigabitEthernet0/0/3: 
change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[8]:    GigabitEthernet0/0/4: 
change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[9]:    GigabitEthernet0/0/5: 
change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[10]:    GigabitEthernet0/0/6:
 change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[11]:    GigabitEthernet0/0/7:
 change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[12]:    GigabitEthernet0/0/8:
 change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[13]:    GigabitEthernet0/0/9:
 change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[14]:    GigabitEthernet0/0/10
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[15]:    GigabitEthernet0/0/11
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[16]:    GigabitEthernet0/0/12
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[17]:    GigabitEthernet0/0/13
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[18]:    GigabitEthernet0/0/14
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[19]:    GigabitEthernet0/0/15
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[20]:    GigabitEthernet0/0/16
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01PHY/1/PHY(l)[21]:    GigabitEthernet0/0/17
: change status to down
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/CARD_ENABLE(l)[22]:Board 0 card 0 
has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[23]:Interface Gigabit
Ethernet0/0/1 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[24]:Interface Gigabit
Ethernet0/0/2 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[25]:Interface Gigabit
Ethernet0/0/3 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[26]:Interface Gigabit
Ethernet0/0/4 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[27]:Interface Gigabit
Ethernet0/0/5 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[28]:Interface Gigabit
Ethernet0/0/6 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[29]:Interface Gigabit
Ethernet0/0/7 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[30]:Interface Gigabit
Ethernet0/0/8 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[31]:Interface Gigabit
Ethernet0/0/9 has been available.
Jul  9 2023 16:47:28-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[32]:Interface Gigabit
Ethernet0/0/10 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[33]:Interface Gigabit
Ethernet0/0/11 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[34]:Interface Gigabit
Ethernet0/0/12 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[35]:Interface Gigabit
Ethernet0/0/13 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[36]:Interface Gigabit
Ethernet0/0/14 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[37]:Interface Gigabit
Ethernet0/0/15 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[38]:Interface Gigabit
Ethernet0/0/16 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[39]:Interface Gigabit
Ethernet0/0/17 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[40]:Interface Gigabit
Ethernet0/0/18 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[41]:Interface Gigabit
Ethernet0/0/19 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[42]:Interface Gigabit
Ethernet0/0/20 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[43]:Interface Gigabit
Ethernet0/0/21 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[44]:Interface Gigabit
Ethernet0/0/22 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[45]:Interface Gigabit
Ethernet0/0/23 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01IFNET/4/IF_ENABLE(l)[46]:Interface Gigabit
Ethernet0/0/24 has been available.
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[47]:    GigabitEthernet0/0/18
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[48]:    GigabitEthernet0/0/19
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[49]:    GigabitEthernet0/0/20
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[50]:    GigabitEthernet0/0/21
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[51]:    GigabitEthernet0/0/22
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[52]:    GigabitEthernet0/0/23
: change status to down
Jul  9 2023 16:47:29-08:00 Huawei %%01PHY/1/PHY(l)[53]:    GigabitEthernet0/0/24
: change status to down
<Huawei>
<Huawei>
<Huawei>

代码五

<SW1>**reset saved-configuration**   //恢复出厂设置
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:**y **   //是否要恢复出厂设置
..........
Info: Succeeded in clearing the configuration in the device.
<SW1>**reboot**               //重启终端
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:**n**      //提示是否保存当前配置,选择是Y/否N
...........
System will reboot! Continue?[Y/N]:**y**   //提示设备是否要重启,选择是Y/否N
**5、辟邪剑谱**
<Huawei>u t m关闭日志提示
<Huawei>dis ver显示版本
<Huawei>dis cu查看当前配置信息
<Huawei>sy进入系统视图
[Huawei]sy S1更改设备名为S1
[S1]int g0/0/1进入接口
[S1-GigabitEthernet0/0/1]sh禁用接口
[S1-GigabitEthernet0/0/1]undo sh启用接口
Ctrl+z返回用户视图
[S1]user-in co 0进入console口
[S1-ui-console0]auth p启用密码认证
[S1-ui-console0]set a p c 123设置密码
[S1-ui-console0]ret返回到用户视图
<S1>sa保存
<S1>quit 
Please Press ENTER.
Login authentication
Password:输入123
[S1]user-in co 0进入console口
[S1-ui-console0]i 1440设置超时时间24小时
<S1>res sa
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y确认恢复
<S1>reboot 
ext startup:, Continue?[Y/N]:n不保存
System will reboot! Continue?[Y/N]:y重启

代码六

代码七

实操出真章

16     <tedu-ntd-lsw1> reset saved-configuration 
    Warning: The action will delete the saved configuration in the device.
    The configuration will be erased to reconfigure. Continue? [Y/N]:Y       //提示是否恢复选Y
    <tedu-ntd-lsw1> reboot
    Info: The system is now comparing the configuration, please wait.
    Warning: All the configuration will be saved to the configuration file for the n
    ext startup:, Continue?[Y/N]:N                      //提示是否保存选N
    Info: If want to reboot with saving diagnostic information, input 'N' and then e
    xecute 'reboot save diagnostic-information'.
    System will reboot! Continue?[Y/N]:Y                  //提示是否重启选Y
    .. ..
    <Huawei>                                             //重启完毕后,已恢复出厂设置
相关文章
|
5天前
|
网络协议 安全 物联网
探索未来网络:IPv6的演进与应用
本文深入探讨了互联网协议第6版(IPv6)的发展历程、技术特点以及在各领域的应用前景。通过对IPv4面临的问题进行分析,阐明了IPv6出现的必要性及其在地址空间扩展、安全性提升和自动配置等方面的显著优势。结合当前技术趋势和应用案例,展望了IPv6在未来网络中的发展潜力,为相关领域的研究和实践提供了参考。
|
5天前
|
并行计算 安全 网络协议
探索未来网络:量子互联网的原理与应用
本文深入探讨了量子互联网的基本概念、技术原理及其潜在应用。通过对量子纠缠、量子叠加和量子隐形传态等核心概念的解释,文章展示了量子互联网如何利用量子力学特性来实现超高速、超高安全性的通信。此外,还讨论了量子互联网在金融、医疗、国防等领域的应用前景,以及当前面临的技术挑战和未来的发展方向。
|
10天前
|
机器学习/深度学习 人工智能 自然语言处理
深度学习中的卷积神经网络(CNN)及其应用
【9月更文挑战第24天】本文将深入探讨深度学习中的一种重要模型——卷积神经网络(CNN)。我们将通过简单的代码示例,了解CNN的工作原理和应用场景。无论你是初学者还是有经验的开发者,这篇文章都将为你提供有价值的信息。
36 1
|
15天前
|
机器学习/深度学习 人工智能 自动驾驶
深度学习中的卷积神经网络(CNN)及其在图像识别中的应用
【9月更文挑战第19天】在人工智能的浩瀚星海中,卷积神经网络(CNN)如同一颗璀璨的星辰,照亮了图像处理的天空。本文将深入CNN的核心,揭示其在图像识别领域的强大力量。通过浅显易懂的语言和直观的比喻,我们将一同探索CNN的奥秘,并见证它如何在现实世界中大放异彩。
|
16天前
|
自动驾驶 物联网 5G
毫米波技术及其在5G网络中的应用详解
毫米波技术及其在5G网络中的应用详解
107 3
|
16天前
|
自动驾驶 物联网 5G
深入探索5G网络中的网络切片技术及其应用场景
深入探索5G网络中的网络切片技术及其应用场景
150 3
|
17天前
|
开发者 Python
Python Socket编程:不只是基础,更有进阶秘籍,让你的网络应用飞起来!
在数字时代,网络应用成为连接世界的桥梁。Python凭借简洁的语法和丰富的库支持,成为开发高效网络应用的首选。本文通过实时聊天室案例,介绍Python Socket编程的基础与进阶技巧。基础篇涵盖服务器和客户端的建立与数据交换;进阶篇则探讨多线程与异步IO优化方案,助力提升应用性能。通过本案例,你将掌握Socket编程的核心技能,推动网络应用飞得更高、更远。
32 1
|
5天前
|
网络协议 物联网 5G
探索未来网络:IPv6的演进与应用
本文深入探讨了互联网协议第六版(IPv6)的发展背景、技术特性及其在现代网络中的应用。通过分析IPv4面临的地址枯竭问题,阐述了IPv6作为解决方案的重要性和紧迫性。文章详细介绍了IPv6相较于IPv4的改进之处,如更大的地址空间、简化的包头格式、增强的组播支持等,并探讨了IPv6在实际部署中遇到的挑战及应对策略。通过对IPv6过渡技术和双栈技术的讨论,揭示了其在促进下一代互联网发展中的关键作用。此外,文章还展望了IPv6在未来网络安全、物联网整合以及新兴技术中的应用前景,强调了掌握IPv6技术对于把握未来互联网发展趋势的重要性。
|
3天前
|
机器学习/深度学习 人工智能 算法框架/工具
深度学习中的卷积神经网络(CNN)及其在图像识别中的应用
【9月更文挑战第31天】本文旨在通过浅显易懂的语言和直观的比喻,为初学者揭开深度学习中卷积神经网络(CNN)的神秘面纱。我们将从CNN的基本原理出发,逐步深入到其在图像识别领域的实际应用,并通过一个简单的代码示例,展示如何利用CNN进行图像分类。无论你是编程新手还是深度学习的初学者,这篇文章都将为你打开一扇通往人工智能世界的大门。
|
4天前
|
SQL 安全 算法
网络安全的盾牌与剑:漏洞防御与加密技术的实战应用
【9月更文挑战第30天】在数字时代的浪潮中,网络安全成为守护信息资产的关键防线。本文深入浅出地探讨了网络安全中的两大核心议题——安全漏洞与加密技术,并辅以实例和代码演示,旨在提升公众的安全意识和技术防护能力。
下一篇
无影云桌面