word
word
0 / 101
word
实验1 网络设备的根本操作
实验容与目标
完成实验,您应该能够:
使用Console口登录设备
使用Telnet终端登录设备
掌握根本系统操作命令的使用
掌握根本文件操作命令 input the file name(*.cfg)[cf:/]
系统提示请输入保存配置文件的文件名,注意文件名的格式为*.cfg。该实验中系统默认将配置文件保存在CF卡中,,如果不更改系统默认保存的文件名,请按回车键。
Validating file. Please wait...
Now saving current configuration to the device.
word
word
4 / 101
word
Saving configuration cf:/. Please wait...
.
Configuration is saved to cf successfully.........
这是第一次保存配置文件的过程。,如此显示如下:
<AHPTC>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cf:/]
cf:/ exists, overwrite? [Y/N]:y
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration cf:/. Please wait...
.
Configuration is saved to cf successfully.
显示保存的配置:
<AHPTC>display saved-configuration
#
version , Release 1509P01, Basic
#
sysname AHPTC
#
domain default enable system
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
interface Aux0
async mode flow
link-protocol ppp
#
interface Serial5/0
link-protocol ppp
#
interface Serial5/1
link-protocol ppp
#
interface Serial5/2
word
word
5 / 101
word
link-protocol ppp
#
interface Serial5/3
link-protocol ppp
#
interface NULL0
#
interface GigabitEthernet0/0
port link-mode route
#
interface GigabitEthernet0/1
port link-mode route
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
#
Return
由于执行了save命令,保存配置与运行配置一致。
步骤六:删除和清空配置
当需要删除某条命令时,可以使用undo命令进展逐条删除。例如删除sysname命令后,系统名称恢复成H3C。
[AHPTC]undo sysname
[H3C]
当需要恢复到出厂默认配置时,首先在用户视图下执行reset saved-configuration命令用于清空保存配置〔只是去除保存配置,当前配置还是存在的〕,再执行reboot重启设备后,配置恢复到出厂默认配置。
[AHPTC]quit
<AHPTC>reset saved-configuration
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration
E实验手册簿 来自淘豆网m.daumloan.com转载请标明出处.