1思科模拟器基本操作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登陆模拟器交换路由设备

拓扑图

远程登录时所端口连接设备及Telnet ??switch(config-line)可以设置通过console

需的密码;switch>enable ;进入特权模式1. switch#config terminal ;进入全局配置模式2. ZTE ;设置交换机的主机名 3.switch(config)#hostname ZTE;设置特权加密口令4.ZTE(config)#enable secret

;设置特权非密口令5.ZTE (config)#enable password ZTE1

;进入控制台口ZTE (config)#line console 0 6. ZTE(config-line)#password zte设置控制台登录口令7.

8.ZTE(config-line)#login 控制台允许登录ZTE (config)#line vty 0 4 ;进入虚拟终端9. ;设置虚拟终端登录口令ZTE (config-line)#password ZTE 10. ZTE (config-line)#login ;虚拟终端允许登录11.

ZTE#exit ;返回命令12.

地址13.设置端口IP0/0 ZTE (config)#interface fastethernet

shutdown

ZTE (config)#no

255.0.0.0 add 1.1.1.1 ZTE (config-if)#ip

设置:IP电脑14.

登录模拟器设备 15.telnet

6、显示当前运行配置文件ZXR10# show running-config

、保存配置文件7ZXR10#write

、显示启动配置文件8 startup-configZXR10# show

show startup-config

#do configZXR10()

9、要查看交换机的日志,可执行如下操作: ZXR10#show logging //显示连接登录用户信息

10、备份和恢复配置文件

拓扑图:

Router#copy running-config tftp:

:思科语句Address or name of remote host []? 192.168.1.2

[router-confg]? 111.txt

Destination

服务器上,tftp文件采用FLASH下的running-configtftp方式下载到将系统111.txt 重新命名文件为

验证:

Router#copy tftp: running-config

Address or name of remote host []? 192.168.1.2

Source []? qqqq.txt

Destination [running-config]? running-config

将tftp服务器上的qqqq.txt文件采用tftp方式下载到FLASH下的成为系统的

running-config文件。

11、配置TELNET用户名与密码

ZXR10(config)#username zte password zte

相关文档
最新文档