网络应用基础交换机的基础操作(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>                                             //重启完毕后,已恢复出厂设置
相关文章
|
1月前
|
人工智能 运维 物联网
AI在蜂窝网络中的应用前景
AI在蜂窝网络中的应用前景
54 3
|
16天前
|
Kubernetes 安全 Devops
有效抵御网络应用及API威胁,聊聊F5 BIG-IP Next Web应用防火墙
有效抵御网络应用及API威胁,聊聊F5 BIG-IP Next Web应用防火墙
40 10
有效抵御网络应用及API威胁,聊聊F5 BIG-IP Next Web应用防火墙
|
1月前
|
存储 监控 物联网
计算机网络的应用
计算机网络已深入现代生活的多个方面,包括通信与交流(电子邮件、即时通讯、社交媒体)、媒体与娱乐(在线媒体、在线游戏)、商务与经济(电子商务、远程办公)、教育与学习(在线教育平台)、物联网与智能家居、远程服务(远程医疗、智能交通系统)及数据存储与处理(云计算、数据共享与分析)。这些应用极大地方便了人们的生活,促进了社会的发展。
52 2
计算机网络的应用
|
1月前
|
机器学习/深度学习 运维 安全
图神经网络在欺诈检测与蛋白质功能预测中的应用概述
金融交易网络与蛋白质结构的共同特点是它们无法通过简单的欧几里得空间模型来准确描述,而是需要复杂的图结构来捕捉实体间的交互模式。传统深度学习方法在处理这类数据时效果不佳,图神经网络(GNNs)因此成为解决此类问题的关键技术。GNNs通过消息传递机制,能有效提取图结构中的深层特征,适用于欺诈检测和蛋白质功能预测等复杂网络建模任务。
71 2
图神经网络在欺诈检测与蛋白质功能预测中的应用概述
|
23天前
|
存储 安全 网络安全
网络安全的盾与剑:漏洞防御与加密技术的实战应用
在数字化浪潮中,网络安全成为保护信息资产的重中之重。本文将深入探讨网络安全的两个关键领域——安全漏洞的防御策略和加密技术的应用,通过具体案例分析常见的安全威胁,并提供实用的防护措施。同时,我们将展示如何利用Python编程语言实现简单的加密算法,增强读者的安全意识和技术能力。文章旨在为非专业读者提供一扇了解网络安全复杂世界的窗口,以及为专业人士提供可立即投入使用的技术参考。
|
1月前
|
机器学习/深度学习 自然语言处理 语音技术
Python在深度学习领域的应用,重点讲解了神经网络的基础概念、基本结构、训练过程及优化技巧
本文介绍了Python在深度学习领域的应用,重点讲解了神经网络的基础概念、基本结构、训练过程及优化技巧,并通过TensorFlow和PyTorch等库展示了实现神经网络的具体示例,涵盖图像识别、语音识别等多个应用场景。
54 8
|
28天前
|
网络协议 物联网 数据处理
C语言在网络通信程序实现中的应用,介绍了网络通信的基本概念、C语言的特点及其在网络通信中的优势
本文探讨了C语言在网络通信程序实现中的应用,介绍了网络通信的基本概念、C语言的特点及其在网络通信中的优势。文章详细讲解了使用C语言实现网络通信程序的基本步骤,包括TCP和UDP通信程序的实现,并讨论了关键技术、优化方法及未来发展趋势,旨在帮助读者掌握C语言在网络通信中的应用技巧。
40 2
|
1月前
|
机器学习/深度学习 人工智能 自然语言处理
探索深度学习中的卷积神经网络(CNN)及其在现代应用中的革新
探索深度学习中的卷积神经网络(CNN)及其在现代应用中的革新
|
1月前
|
安全 网络安全 数据安全/隐私保护
利用Docker的网络安全功能来保护容器化应用
通过综合运用这些 Docker 网络安全功能和策略,可以有效地保护容器化应用,降低安全风险,确保应用在安全的环境中运行。同时,随着安全威胁的不断变化,还需要持续关注和研究新的网络安全技术和方法,不断完善和强化网络安全保护措施,以适应日益复杂的安全挑战。
44 5
|
1月前
|
机器学习/深度学习 人工智能 自然语言处理
深度学习中的卷积神经网络(CNN)及其在图像识别中的应用
本文旨在通过深入浅出的方式,为读者揭示卷积神经网络(CNN)的神秘面纱,并展示其在图像识别领域的实际应用。我们将从CNN的基本概念出发,逐步深入到网络结构、工作原理以及训练过程,最后通过一个实际的代码示例,带领读者体验CNN的强大功能。无论你是深度学习的初学者,还是希望进一步了解CNN的专业人士,这篇文章都将为你提供有价值的信息和启发。

热门文章

最新文章