网络应用基础交换机(NETBASE第五课)(二)

简介: 网络应用基础交换机(NETBASE第五课)(二)
22 重启设备
<swith1>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]:y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
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  8 2023 16:43:18-08:00 swith1 %%01CMD/4/REBOOT(l)[1]:The user chose Y when d
eciding whether to reboot the system. (Task=co0, Ip=**, User=**)
<swith1>
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/BOARD_DISABLE(l)[2]:Board 0 has be
en unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFPDT/4/IF_STATE(l)[3]:GigabitEthernet0/0/
1 has turned into DOWN state.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[4]:Interface Gigabit
Ethernet0/0/1 has been unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFPDT/4/IF_STATE(l)[5]:GigabitEthernet0/0/
2 has turned into DOWN state.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[6]:Interface Gigabit
Ethernet0/0/2 has been unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFPDT/4/IF_STATE(l)[7]:GigabitEthernet0/0/
3 has turned into DOWN state.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[8]:Interface Gigabit
Ethernet0/0/3 has been unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_STATE(l)[9]:Interface Vlanif1 h
as turned into DOWN state.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFPDT/4/IF_STATE(l)[10]:GigabitEthernet0/0
/4 has turned into DOWN state.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[11]:Interface Gigabi
tEthernet0/0/4 has been unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[12]:Interface Gigabi
tEthernet0/0/5 has been unavailable.
Jul  8 2023 16:43:18-08:00 swith1 %%01IFNET/4/IF_DISABLE(l)[13]:Interfa

22 [SW1]user-interface console 0   //进入终端进行配置
[SW1-ui-console0]authentication-mode  password    //启用密码认证
[SW1-ui-console0]set authentication password cipher 123456  //设置终端密码为123456(密文)
**想要验证密码,在用户视图中直接敲入quit

[Huawei]dis 
[Huawei]display in  
[Huawei]display increment-command
Error: Please execute this command on the administrator switch.
[Huawei]dis 
[Huawei]display  
                ^
Error:Incomplete command found at '^' position.
[Huawei]
<Huawei>
<Huawei>dis 
<Huawei>display cuur  
<Huawei>display cur 
<Huawei>display current-configuration 
#
sysname Huawei
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
ospf 1
#
user-interface con 0
user-interface vty 0 4
#
return
<Huawei>

[s1-ui-console0]set au  
[s1-ui-console0]set authentication p  
[s1-ui-console0]set authentication password ci  
[s1-ui-console0]set authentication password cipher 123
[s1-ui-console0]
Jul  8 2023 17:24:59-08:00 s1 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 7, the ch
ange loop count is 0, and the maximum number of records is 4095.
[s1-ui-console0]
[s1-ui-console0]quit  
[s1-ui-console0]quit 
[s1]
[s1]quit  
[s1]quit 
<s1>sys
Enter system view, return user view with Ctrl+Z.
[s1]
<s1>
<s1>QUIT User interface con0 is available

<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]in  
[Huawei]info-center
                    ^
Error:Incomplete command found at '^' position.
[Huawei]inter 
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]
Jul  8 2023 17:21:53-08:00 Huawei %%01PHY/1/PHY(l)[0]:    GigabitEthernet0/0/2: 
change status to down
Jul  8 2023 17:21:54-08:00 Huawei %%01PHY/1/PHY(l)[1]:    GigabitEthernet0/0/2: 
change status to up
[Huawei-GigabitEthernet0/0/1]dis  
[Huawei-GigabitEthernet0/0/1]display this
#
interface GigabitEthernet0/0/1
#
return
[Huawei-GigabitEthernet0/0/1]
<Huawei>dis ver 
<Huawei>dis version 
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.110 (S5700 V200R001C00)
Copyright (c) 2000-2011 HUAWEI TECH CO., LTD
Quidway S5700-28C-HI Routing Switch uptime is 0 week, 0 day, 0 hour, 9 minutes
<Huawei>sys

Enter system view, return user view with Ctrl+Z.
[Huawei]sysn  
[Huawei]sysname s1  
[Huawei]sysname s1
[s1]
Jul  8 2023 17:23:29-08:00 s1 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 5, the ch
ange loop count is 0, and the maximum number of records is 4095.
[s1]
[s1]
[s1]user  
[s1]user-in 
[s1]user-interface co 
[s1]user-interface console 0  
[s1]user-interface console 0
[s1-ui-console0]aus 
[s1-ui-console0]aut 
[s1-ui-console0]authentication-mode pa  
[s1-ui-console0]authentication-mode password 
[s1-ui-console0]
[s1-ui-console0]
Jul  8 2023 17:24:29-08:00 s1 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 6, the ch
ange loop count is 0, and the maximum number of records is 4095.

[s1-ui-console0]set au  
[s1-ui-console0]set authentication p  
[s1-ui-console0]set authentication password ci  
[s1-ui-console0]set authentication password cipher 123
[s1-ui-console0]
Jul  8 2023 17:24:59-08:00 s1 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 7, the ch
ange loop count is 0, and the maximum number of records is 4095.
[s1-ui-console0]
[s1-ui-console0]quit  
[s1-ui-console0]quit 
[s1]
[s1]quit  
[s1]quit 
<s1>sys
Enter system view, return user view with Ctrl+Z.
[s1]
<s1>
<s1>QUIT User interface con0 is available

ENSP操作指令 总结性语句一

1  ipconfig  查看 pc机的IP地址

2  ping 连接的IP地址

3 system-view  进入系统视图

4 [Huawei]interface GigabitEthernet  0/0/1   进入接口视图 过0/0/1

5  quit 返回上一层视图

6   ctrl+Z 快速返回用户视图

7  [sy]sysname  tedu-ntd-lswl  进入系统视图改名字

8 shutdown 禁用

9 undo shutdown 启用

10  display current-configuration    查看当前配置

11 save   保存配置

12  [tedu-ntd-lsw1] user-interface  console  0                      //进终端配置

13 [tedu-ntd-lsw1-ui-console0] set authentication password cipher Taren1   //设置终端登录密码为 Taren1

14 [tedu-ntd-lsw1-ui-console0] authentication-mode password         //启用密码认证

15 [tedu-ntd-lsw1-ui-console0] idle-timeout 2880          //将闲置超时设为2880分钟

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  ipconfig  查看 pc机的IP地址
    2  ping 连接的IP地址
    3 system-view  进入系统视图
    4 [Huawei]interface GigabitEthernet  0/0/1   进入接口视图 过0/0/1
    5  quit 返回上一层视图
    6   ctrl+Z 快速返回用户视图
    7  [sy]sysname  tedu-ntd-lswl  进入系统视图改名字
    8 shutdown 禁用
    9 undo shutdown 启用
    10  display current-configuration    查看当前配置
    11 save   保存配置
    12  [tedu-ntd-lsw1] user-interface  console  0                      //进终端配置
    13 [tedu-ntd-lsw1-ui-console0] set authentication password cipher Taren1   //设置终端登录密码为 Taren1
    14 [tedu-ntd-lsw1-ui-console0] authentication-mode password         //启用密码认证
    15 [tedu-ntd-lsw1-ui-console0] idle-timeout 2880          //将闲置超时设为2880分钟

    <Huawei>u t m                                 //关闭日志提示
    <Huawei>la c                                     //改变语言模式为中文
    Change language mode, confirm? [Y/N] y
    <Huawei>dis ver
    <Huawei>sys
    [Huawei]sy tedu-ntd-lsw1
    [tedu-ntd-lsw1]int g0/0/10
    [tedu-ntd-lsw1-GigabitEthernet0/0/10]sh
    [tedu-ntd-lsw1-GigabitEthernet0/0/10]undo sh
    [tedu-ntd-lsw1-GigabitEthernet0/0/10]quit
    [tedu-ntd-lsw1]dis cur
    [tedu-ntd-lsw1]user-i co 0
    [tedu-ntd-lsw1-ui-console0]auth p
    [tedu-ntd-lsw1-ui-console0]set a p c Taren1
    [tedu-ntd-lsw1-ui-console0]ret
    <tedu-ntd-lsw1>save
    是否继续?[Y/N]y
    <tedu-ntd-lsw1>quit
    Please Press ENTER.
    Login authentication
    Password:            //输入密码Taren1
    <tedu-ntd-lsw1>u t m 
    <tedu-ntd-lsw1>sy
    [tedu-ntd-lsw1]user-i co 0                     
    [tedu-ntd-lsw1-ui-console0]i 1440
    [tedu-ntd-lsw1-ui-console0]return 
    <tedu-ntd-lsw1>res sa
    The configuration will be erased to reconfigure. Continue? [Y/N]:y
    <tedu-ntd-lsw1>reboot 
    ext startup:, Continue?[Y/N]:n
    System will reboot! Continue?[Y/N]:y

相关文章
|
6天前
|
机器学习/深度学习 人工智能 自然语言处理
深度学习中的自适应神经网络:原理与应用
【8月更文挑战第14天】在深度学习领域,自适应神经网络作为一种新兴技术,正逐渐改变我们处理数据和解决问题的方式。这种网络通过动态调整其结构和参数来适应输入数据的分布和特征,从而在无需人工干预的情况下实现最优性能。本文将深入探讨自适应神经网络的工作原理、关键技术及其在多个领域的实际应用,旨在为读者提供一个全面的视角,理解这一技术如何推动深度学习向更高效、更智能的方向发展。
|
4天前
|
负载均衡 算法 光互联
合理使用光互联产品减少万卡集群高性能网络中TOR交换机上行网络的ECMP哈希冲突
本文通过分析万卡集群高性能网络TOR层的ECMP哈希冲突,介绍如何通过使用有源光缆AOC和无源铜缆DAC分支线缆产品来减少ECMP哈希冲突的方法。
|
4天前
|
存储 安全 网络安全
信息安全:网络安全审计技术原理与应用.
信息安全:网络安全审计技术原理与应用.
17 4
|
3天前
|
机器学习/深度学习 编解码 人工智能
【生成式对抗网络】GANs在数据生成、艺术创作,以及在增强现实和虚拟现实中的应用
生成对抗网络(Generative Adversarial Networks, GANs)在数据生成领域具有显著的应用价值。GANs通过生成器(Generator)和判别器(Discriminator)两个相互竞争的神经网络,不断迭代优化,从而生成高质量的数据样本。这一技术在数据增强方面尤为重要,特别是在数据稀缺或难以获取的领域,如医疗影像分析、自动驾驶等。GANs能够生成与真实数据相似的新数据样本,从而扩充数据集规模,提高模型的泛化能力。此外,GANs还可以用于生成仿真数据,如金融领域中的股票价格走势,用于训练预测模型,提高预测准确性
11 2
|
4天前
|
安全 关系型数据库 网络安全
信息安全:网络安全漏洞防护技术原理与应用.
信息安全:网络安全漏洞防护技术原理与应用.
16 3
|
11天前
|
达摩院 供应链 JavaScript
网络流问题--仓储物流调度【数学规划的应用(含代码)】阿里达摩院MindOpt
本文通过使用MindOpt工具优化仓储物流调度问题,旨在提高物流效率并降低成本。首先,通过考虑供需匹配、运输时间与距离、车辆容量、仓库储存能力等因素构建案例场景。接着,利用数学规划方法,包括线性规划和网络流问题,来建立模型。在网络流问题中,通过定义节点(资源)和边(资源间的关系),确保流量守恒和容量限制条件下找到最优解。文中还详细介绍了MindOpt Studio云建模平台和MindOpt APL建模语言的应用,并通过实例展示了如何声明集合、参数、变量、目标函数及约束条件,并最终解析了求解结果。通过这些步骤,实现了在满足各仓库需求的同时最小化运输成本的目标。
|
16天前
|
数据采集 资源调度 JavaScript
Node.js 适合做高并发、I/O密集型项目、轻量级实时应用、前端构建工具、命令行工具以及网络爬虫和数据处理等项目
【8月更文挑战第4天】Node.js 适合做高并发、I/O密集型项目、轻量级实时应用、前端构建工具、命令行工具以及网络爬虫和数据处理等项目
30 5
|
1天前
|
机器学习/深度学习 Shell 计算机视觉
一文搞懂 卷积神经网络 卷积算子应用举例 池化 激活函数
这篇文章通过案例详细解释了卷积神经网络中的卷积算子应用、池化操作和激活函数,包括如何使用卷积算子进行边缘检测和图像模糊,以及ReLU激活函数如何解决梯度消失问题。
8 0
|
24天前
|
存储 安全 算法
密码学原理及其在网络安全中的应用
【7月更文挑战第27天】密码学作为保护信息安全的基石,在网络安全中发挥着不可或缺的作用。通过加密、解密、身份验证、数字签名和哈希函数等技术手段,密码学确保了数据的机密性、完整性和认证性。随着计算能力的不断提升和密码分析技术的不断进步,密码学需要不断创新和发展,以应对新的安全挑战。未来,随着量子计算技术的兴起和后量子密码学的研究深入,密码学将在网络安全领域发挥更加重要的作用。
|
25天前
|
网络协议 程序员 视频直播