查看: 5789|回复: 99

通过实验从头开始学H3C技术 130页H3C实验手册 H3C网络学院路由交换分册实验指导书

  [复制链接]

1040

主题

1186

帖子

1万

积分

分区版主

Rank: 15Rank: 15Rank: 15Rank: 15Rank: 15

贡献
32
技术
24
活跃
5
在线时间
39 小时
擅长技术
思科华为
发表于 2014-2-11 22:56:52 | 显示全部楼层 |阅读模式


通过实验从头开始学H3C技术  130页H3C实验手册 H3C网络学院路由交换分册实验指导书


文档节选:实验1 网络设备基本操作
实验任务一:通过 Console 登录
本实验的主要任务是练习通过 Console 电缆连接进行设备配置的方法。试验前请保证路由
器(交换机)的所有配置已经清空。
步骤一:连接配置电缆
步骤二:启动 PC,运行超级终端
在 PC 桌面上运行【开始】->【程序】->【附件】->【通信】->【超级终端】。填入一个任
意名称,点击【确定】。
每秒位数为 9600bps、8 位数据位、1 位停止位、无奇偶校验和无流量控制
步骤三:进入 Console 配置界面
用户视图的提示符为<系统名>
实验任务二:使用系统操作及文件操作的基本命令
步骤一:进入系统视图
执行 system-view 命令进入系统视图。系统视图的提示符为[系统名]。执行quit 命令可以
从系统视图切换到用户视图。
步骤二:练习使用帮助特性和补全键
s? sysname ? <Tab> <Tab>
步骤三:更改系统名称
[H3C]sysname YourName
[YourName]
步骤四:更改系统时间
[YourName]display clock
17:28:07 UTC Mon 09/08/2008
[YourName]quit
<YourName>clock datetime 10:20:30 10/01/2008
<YourName>display clock
10:20:32 UTC Wed 10/01/2008
步骤五:显示系统运行配置
<YourName>display current-configuration
<Space> <Enter> <Ctrl+C>
步骤六:显示保存的配置
<YourName>display saved-configuration
此时尚未保存配置,因此不存在saved-configuration
步骤七:保存配置
默认配置文件名通常为 startup.cfg,某些版本为config.cfg。
<YourName>save
The current configuration will be written to the device. Are you sure? [Y/N]:
Please input the file name(*.cfg)[cf:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration cf:/startup.cfg. Please wait...
.
Configuration is saved to cf successfully.........
<YourName>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cf:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
cf:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration cf:/startup.cfg. Please wait...
.
Configuration is saved to cf successfully.
由于执行了save 命令,保存配置与运行配置一致。
步骤八:删除和清空配置
[YourName]undo sysname
<YourName>reset saved-configuration
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration file in cf is being cleared.
Please wait ...
........
Configuration file in cf is cleared.
<YourName>reboot
Start to check configuration with next startup configuration file, please wait
......
This command will reboot the device. Current configuration may be lost in next
startup if you continue. Continue? [Y/N]:Y
步骤九:显示文件目录
<YourName> pwd
cf:
<YourName>dir
Directory of cf:/
0 drw- - Jan 19 2007 18:26:34 logfile
1 -rw- 16337860 Aug 03 2007 17:59:36 msr30-cmw520-r1206p01-si.bin
2 -rw- 739 Oct 01 2008 10:15:54 startup.cfg
249852 KB total (221648 KB free)
File system type of cf: FAT32
步骤十:显示文本文件内容
用 more 命令
步骤十一:改变当前工作路径
使 cd 命令
步骤十二:文件删除
用 save、dir、delete、dir 命令
虽然删除了该文件,但是在删除该文件前后,为什么CF 卡的可用内存空间却没有变化呢。
那是因为使用delete 命令删除文件时,被删除的文件被保存在回收站中,仍会占用存储空间。
如果用户经常使用该命令删除文件,则可能导致设备的存储空间不足。如果要彻底删除回收站
中的某个废弃文件,必须在文件的原归属目录下执行reset recycle-bin 命令,才可以将回收站
中的废弃文件彻底删除,以回收存储空间。
dir /all 命令显示内容包括隐藏文件、隐藏子文件夹以及回收站中的原属于该目录下的文件
的信息,回收站里的文件会以方括号“[ ]”标出。文件myconfig.cfg 应该仍然存在于CF 卡的
回收站中。
用 reset recycle-bin 命令清空回收站后,可发现文件列表中已经找不到myconfig.cfg 文件,
并且可用内存空间已经增加。
使用 delete /unreserved 命令删除一个文件,则该文件将被彻底删除,不能再恢复。其效
果等同于执行delete 命令之后,再在同一个目录下执行了reset recycle-bin 命令。



购买主题 已有 5 人购买  本主题需向作者支付 7 金币 才能浏览

0

主题

625

帖子

4609

积分

Yib

Rank: 10Rank: 10Rank: 10

贡献
0
技术
0
活跃
1034
在线时间
71 小时
发表于 2015-6-24 07:35:10 | 显示全部楼层
xxfenxiang

0

主题

375

帖子

2505

积分

论坛贵宾VIP-永久权限

Rank: 8Rank: 8

贡献
0
技术
0
活跃
385
在线时间
44 小时
擅长技术
思科华为
发表于 2015-6-22 15:32:29 | 显示全部楼层
楼主太有才了,膜拜中……

0

主题

15

帖子

75

积分

Byte

Rank: 2

贡献
0
技术
0
活跃
19
在线时间
0 小时
发表于 2015-6-16 22:38:33 | 显示全部楼层
下载学习了,多谢兄弟啊。

0

主题

89

帖子

505

积分

论坛贵宾VIP-永久权限

Rank: 8Rank: 8

贡献
0
技术
0
活跃
128
在线时间
11 小时
发表于 2015-6-15 14:02:35 | 显示全部楼层
感谢你的资料

0

主题

205

帖子

1145

积分

Mib

Rank: 4

贡献
0
技术
0
活跃
241
在线时间
23 小时
发表于 2015-1-31 23:50:03 | 显示全部楼层
这个还真的可以有

0

主题

64

帖子

432

积分

Kib

Rank: 3Rank: 3

贡献
0
技术
0
活跃
77
在线时间
6 小时
擅长技术
思科华为
发表于 2015-1-31 18:49:57 | 显示全部楼层
需要,学习了,谢谢

0

主题

352

帖子

2050

积分

论坛VIP原价+免回复特权

Rank: 8Rank: 8

贡献
0
技术
0
活跃
-2
在线时间
0 小时
发表于 2014-3-27 10:03:20 | 显示全部楼层
微软,Linux,操作系统技术尽在www.santongit.com!

0

主题

314

帖子

906

积分

Gib

Rank: 5Rank: 5

贡献
0
技术
0
活跃
0
在线时间
0 小时
发表于 2014-3-19 14:54:30 | 显示全部楼层
微软,Linux,操作系统技术尽在www.santongit.com!
使用 高级模式(可批量传图、插入视频等)
您需要登录后才可以回帖 登录 | 立即注册

快速回复 返回顶部 返回列表