(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合

上传人:精****库 文档编号:139407485 上传时间:2020-07-21 格式:DOCX 页数:40 大小:32.89KB
返回 下载 相关 举报
(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合_第1页
第1页 / 共40页
(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合_第2页
第2页 / 共40页
(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合_第3页
第3页 / 共40页
(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合_第4页
第4页 / 共40页
(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合_第5页
第5页 / 共40页
点击查看更多>>
资源描述

《(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合》由会员分享,可在线阅读,更多相关《(2020年)企业形象网络工程师学习讲义——CISCO相关技术大集合(40页珍藏版)》请在金锄头文库上搜索。

1、网络工程师学习资料CISCO 相关技术大集合命令状态 1. router 路由器处于用户命令状态,这时用户可以看路由器的连接状态,访问其它网络和主机,但不能看到和更改路由器的设置内容。 2. router# 在router提示符下键入enable,路由器进入特权命令状态router#,这时不但可以执行所有的用户命令,还可以看到和更改路由器的设置内容。 3. router(config)# 在router#提示符下键入configure terminal,出现提示符router(config)#,此时路由器处于全局设置状态,这时可以设置路由器的全局参数。 4. router(config-if)

2、#; router(config-line)#; router(config-router)#; 路由器处于局部设置状态,这时可以设置路由器某个局部的参数。 5. 路由器处于RXBOOT状态,在开机后60秒内按ctrl-break可进入此状态,这时路由器不能完成正常的功能,只能进行软件升级和手工引导。 6. 设置对话状态 这是一台新路由器开机时自动进入的状态,在特权命令状态使用SETUP命令也可进入此状态,这时可通过对话方式对路由器进行设置。 设置对话过程 1. 显示提示信息 2. 全局参数的设置 3. 接口参数的设置 4. 显示结果 利用设置对话过程可以避免手工输入命令的烦琐,但它还不能完全

3、代替手工设置,一些特殊的设置还必须通过手工输入的方式完成。 进入设置对话过程后,路由器首先会显示一些提示信息: - System Configuration Dialog - At any point you may enter a question mark ? for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets . 这是告诉你在设置对话过程中的任何地方都可以键入“?”得到系统的帮助,按ctrl-c可以退出设置过程,缺省设置将显示在中

4、。然后路由器会问是否进入设置对话: Would you like to enter the initial configuration dialog? yes: 如果按y或回车,路由器就会进入设置对话过程。首先你可以看到各端口当前的状况: First, would you like to see the current interface summary? yes: Any interface listed with OK? value NO does not have a valid configuration Interface IP-Address OK? Method Status P

5、rotocol Ethernet0 unassigned NO unset up up Serial0 unassigned NO unset up up 然后,路由器就开始全局参数的设置: Configuring global parameters: 1设置路由器名: Enter host name Router: 2设置进入特权状态的密文(secret),此密文在设置以后不会以明文方式显示: The enable secret is a one-way cryptographic secret used instead of the enable password when it exis

6、ts. Enter enable secret: cisco 3设置进入特权状态的密码(password),此密码只在没有密文时起作用,并且在设置以后会以明文方式显示: The enable password is used when there is no enable secret and when using older software and some boot images. Enter enable password: pass 4设置虚拟终端访问时的密码: Enter virtual terminal password: cisco 5询问是否要设置路由器支持的各种网络协议:

7、Configure SNMP Network Management? yes: Configure DECnet? no: Configure AppleTalk? no: Configure IPX? no: Configure IP? yes: Configure IGRP routing? yes: Configure RIP routing? no: 6如果配置的是拨号访问服务器,系统还会设置异步口的参数: Configure Async lines? yes: 1) 设置线路的最高速度: Async line speed 9600: 2) 是否使用硬件流控: Configure fo

8、r HW flow control? yes: 3) 是否设置modem: Configure for modems? yes/no: yes 4) 是否使用默认的modem命令: Configure for default chat script? yes: 5) 是否设置异步口的PPP参数: Configure for Dial-in IP SLIP/PPP access? no: yes 6) 是否使用动态IP地址: Configure for Dynamic IP addresses? yes: 7) 是否使用缺省IP地址: Configure Default IP addresses

9、? no: yes 8) 是否使用TCP头压缩: Configure for TCP Header Compression? yes: 9) 是否在异步口上使用路由表更新: Configure for routing updates on async links? no: y 10) 是否设置异步口上的其它协议。 接下来,系统会对每个接口进行参数的设置。 1Configuring interface Ethernet0: 1) 是否使用此接口: Is this interface in use? yes: 2) 是否设置此接口的IP参数: Configure IP on this interf

10、ace? yes: 3) 设置接口的IP地址: IP address for this interface: 192.168.162.2 4) 设置接口的IP子网掩码: Number of bits in subnet field 0: Class C network is 192.168.162.0, 0 subnet bits; mask is /24 在设置完所有接口的参数后,系统会把整个设置对话过程的结果显示出来: The following configuration command script was created: hostname Router enable secret

11、5 $W5Oh$p6J7tIgRMBOIKVXVG53Uh1 enable password pass 请注意在enable secret后面显示的是乱码,而enable password后面显示的是设置的内容。显示结束后,系统会问是否使用这个设置: Use this configuration? yes/no: yes 如果回答yes,系统就会把设置的结果存入路由器的NVRAM中,然后结束设置对话过程,使路由器开始正常的工作。 返回目录 广域网设置一、HDLC HDLC是CISCO路由器使用的缺省协议,一台新路由器在未指定封装协议时默认使用HDLC封装。 1. 有关命令 端口设置 任务 命令

12、 设置HDLC封装 encapsulation hdlc 设置DCE端线路速度 clockrate speed 复位一个硬件接口 clear interface serial unit 显示接口状态 show interfaces serial unit 1 注:1.以下给出一个显示Cisco同步串口状态的例子. Router#show interface serial 0 Serial 0 is up, line protocol is up Hardware is MCI Serial Internet address is 150.136.190.203, subnet mask is

13、255.255.255.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 0:00:07, output 0:00:00, output hang never Output queue 0/40, 0 drops; input queue 0/75, 0 drops Five minute input rate 0 bits/sec, 0 packets/s

14、ec Five minute output rate 0 bits/sec, 0 packets/sec 16263 packets input, 1347238 bytes, 0 no buffer Received 13983 broadcasts, 0 runts, 0 giants 2 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 2 abort 22146 packets output, 2383680 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets, 0 restarts 1 carrier transitions 2. 举例 设置如下: Router1: interface Serial0 ip a

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 企业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号