思科模拟器基本操作hao

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

三层交换机基日常本操作和维护
1、设置系统名称
ZXR10>-----普通用户模式
ZXR10#------特权模式
ZXR10(config)#--------全局模式
ZXR10(config)#interface fastethernet 0/1 //进入交换机fei_0/1口 ZXR10(config-if)#-------------子接口模式
ZXR10>enable //进入特权模式ZXR10#configure terminal //进入全局配置模式
ZXR10(config)#hostname ZTE //对系统性命名为ZTE
ZTE(config) #exit //退出用exit命令
2、设置系统日期和时间
ZXR10#clock set 15:52:35 apr 18 2011 //特权模式下
验证方法:-----注:思科模拟器上没有月份显示,用???代替
ZXR10#show clock-------显示设备当前的系统时间
3、设置设备特权模式密码
ZXR10(config)#enable secret zte //密文enable密码ZXR10(config)#enable password zte //明文
验证方法:
ZXR10(config)#exit
ZXR10#exit
按回车键
ZXR10>输入enable
Password:输入你的enable 密码。

4、设置登录标志
banner motd c //Set Message of the Day banner
Enter TEXT message. End with the character 'c'.
Hello world!!
c

验证:
ZXR10(config)#exit
ZXR10#exit
按回车键
出现:
Hello world!!--------欢迎语
ZXR10>
5、设置telnet登陆模拟器交换路由设备
拓扑图
switch(config-line)可以设置通过console端口连接设备及Telnet 远程登录时所需的密码;
1.switch>enable ;进入特权模式
2.switch#config terminal ;进入全局配置模式
3.switch(config)#hostname ZTE ;设置交换机的主机名
4.ZTE(config)#enable secret ZTE;设置特权加密口令
5.ZTE (config)#enable password ZTE1 ;设置特权非密口令
6.ZTE (config)#line console 0 ;进入控制台口
7.ZTE(config-line)#password zte设置控制台登录口令
8.ZTE(config-line)#login 控制台允许登录
9.ZTE (config)#line vty 0 4 ;进入虚拟终端
10.ZTE (config-line)#password ZTE ;设置虚拟终端登录口令
11.ZTE (config-line)#login ;虚拟终端允许登录
12.ZTE#exit ;返回命令
13.设置端口IP地址
ZTE (config)#interface fastethernet 0/0
ZTE (config)#no shutdown
ZTE (config-if)#ip add 1.1.1.1 255.0.0.0
14.电脑IP设置:
15.telnet登录模拟器设备
6、显示当前运行配置文件ZXR10# show running-config
7、保存配置文件
ZXR10#write
8、显示启动配置文件
ZXR10# show startup-config
ZXR10(config)#do show startup-config
9、要查看交换机的日志,可执行如下操作:ZXR10#show logging //显示连接登录用户信息
10、备份和恢复配置文件
拓扑图:
思科语句:Router#copy running-config tftp:
Address or name of remote host []? 192.168.1.2
Destination filename [router-confg]? 111.txt
将系统FLASH下的running-config文件采用tftp方式下载到tftp服务器上,重新命名文件为111.txt
验证:
Router#copy tftp: running-config
Address or name of remote host []? 192.168.1.2
Source filename []? qqqq.txt
Destination filename [running-config]? running-config
将tftp服务器上的qqqq.txt文件采用tftp方式下载到FLASH下的成为系统的running-config文件。

11、配置TELNET用户名与密码
ZXR10(config)#username zte password zte。

相关文档
最新文档