## 修改時間是在 用戶視圖下配置
<Huawei>clock timezone ?
STRING<1-32> Name of time zone
<Huawei>clock timezone loca
<Huawei>clock timezone local add 08:00:00
<Huawei>clock datetime 12:00:00 2016-03-11
<Huawei>dis clo
<Huawei>display clock
2016-03-11 12:00:03
Friday
Time Zone(local) : UTC+08:00
##進入 系統視圖
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
##修改名稱
[Huawei]sysname R1
[R1]
##配置console 口參數
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):admin
[Huawei-ui-console0]set authentication password cipher Huayun#123
[Huawei-ui-console0]id
[Huawei-ui-console0]idle-timeout 20
[Huawei-ui-console0]quit
###對接口進行配置
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.0.13.1 24
[R1-GigabitEthernet0/0/0]description This interface connects to R3-G0/0/3
[R1-GigabitEthernet0/0/0]di this
[V200R003C00]
#
interface GigabitEthernet0/0/0
description This interface connects to R3-G0/0/3
ip address 10.0.13.1 255.255.255.0
#
return
[R1-GigabitEthernet0/0/0]
###在用戶視圖 下執行dir
<R3>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - May 07 2020 06:01:18 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 2,263 May 07 2020 06:00:44 statemach.efs
3 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
4 -rw- 205 May 07 2020 06:05:01 private-data.txt
5 -rw- 555 May 07 2020 06:05:00 vrpcfg.zip
1,090,732 KB total (784,456 KB free)
<R3>
##查看保存的文件
<R3>display saved-configuration
[V200R003C00]
#
sysname R3
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
###查看運行的文件
<R3>display current-configuration
[V200R003C00]
#
sysname R3
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
##查看下次啓動的文件
<R3>display startup
MainBoard:
Startup system software: null
Next startup system software: null
Backup system software for next startup: null
Startup saved-configuration file: flash:/vrpcfg.zip
Next startup saved-configuration file: flash:/vrpcfg.zip
### reset 重置文件
<R3>reset saved-configuration
This will delete the configuration in the flash memory.
The device configuratio
ns will be erased to reconfigure.
Are you sure? (y/n)[n]:y
Clear the configuration in the device successfully