1.flash 相当于电脑的 硬盘
2.NVRAM 拿来专门存放系统配置文件
3.RAM 运行内存
4.ROM 系统引导
1.修改系统名[Huawei]sysname SWL1
2.配置登入信息
[SWL1]header shell information "Welocom to the learning"
[SWL1]q
<SWL1>q User interface con0 is available
Please Press ENTER.
Welocom to the learning
<SWL1>
3.配置 console 口登入密码验证
<SWL1>system-view
Enter system view, return user view with Ctrl+Z.
[SWL1]user-interface console 0
[SWL1-ui-console0]authentication-mode password
[SWL1-ui-console0]set authentication password cipher ?
STRING<1-16>/<24> Plain text/cipher text password
[SWL1-ui-console0]set authentication password cipher 123456
[SWL1-ui-console0]idle-timeout 20 0
4.查看当前设备上存储的文件列表
<SWL1>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Aug 06 2015 21:26:42 src
1 drw- - Aug 04 2023 19:54:34 compatible
32,004 KB total (31,972 KB free)
5.管理设备配置文件
<SWL1>display saved-configuration
<SWL1>save
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.
<SWL1>display saved-configuration
sysname SWL1
.....................................
<SWL1>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.
Info: Succeeded in clearing the configuration in the device.
<SWL1>display saved-configuration
6.重启设备
<SWL1>reboot
Info: The system is now comparing the configuration, please wait.
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
<SWL1>##########
Login authentication
Password:
Welocom to the learning
<SWL1>