思科网络技术学院教程(第六章 配置路由器)_第1页
思科网络技术学院教程(第六章 配置路由器)_第2页
思科网络技术学院教程(第六章 配置路由器)_第3页
思科网络技术学院教程(第六章 配置路由器)_第4页
思科网络技术学院教程(第六章 配置路由器)_第5页
已阅读5页,还剩26页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ICRC_revision_11.3配置路由器配置路由器第六章第六章Copyright ?1998 Cisco Systems, Inc.ICRC_revision_11.3加载配置文件加载配置文件Copyright ?1998, Cisco Systems, Inc.3Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3路由器配置概览路由器配置概览加载配置文件参数到加载配置文件参数到RAM给路由器命名给路由器命名分配访问口令分配访问口令进行接口等的配置进行接口等的配置将配置文件参数写入将配置文件参数写入 NVRAM4Copyright

2、?1998, Cisco Systems, Inc.ICRC_revision_11.3加载配置文件加载配置文件Console or TerminalRAMTFTP Serverconfigure terminalcopy startup-config running-configcopy tftp running-configcopy tftp startup-config5Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3configure overwriteConsole or TerminalRAMTFTP Serverconf

3、igure terminalconfigure memoryconfigure network加载配置文件加载配置文件6Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3从从 TFTP 服务器加载服务器加载Router#copy tftp running-configHost or network configuration file host?IP address of remote host 55? 55Name of configuration file Router-confg?

4、P1R1.2Configure using P1R1.2 from 55? confirm yBooting P1R1.2 from 55:! OK - 874/16000 bytesP1R1#TFTP ServerRAMICRC_revision_11.3路由器的工作模式路由器的工作模式 Copyright ?1998, Cisco Systems, Inc.8Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#RouterRouter#路由器工作模式概览路由器工

5、作模式概览User EXEC modePrivileged EXEC modeGlobal configuration mode9Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#RouterRouter#Other configuration modesExitCtrl-Z (end)路由器模式概览路由器模式概览User EXEC modePrivileged EXEC modeGlobal configuration mode10Copyright ?1998, Cisco Systems, Inc.I

6、CRC_revision_11.3Router(config)#RouterRouter#Other configuration modesExitCtrl-Z (end)User EXEC modePrivileged EXEC modeGlobal configuration modeConfiguration ModePromptInterfaceRouter(config-if)#SubinterfaceRouter(config-subif)#ControllerRouter(config-controller)#LineRouter(config-line)#RouterRoute

7、r(config-router)#IPX-routerRouter(config-ipx-router)#Route-mapRouter(config-route-map)#路由器模式概览路由器模式概览11Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router NameRouter(config)#hostname P1R1P1R1#路由器的识别配置路由器的识别配置12Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router NameRouter(config)#h

8、ostname P1R1P1R1#Message of the Day BannerP1R1(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #路由器的识别配置路由器的识别配置13Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3路由器的识别配置路由器的识别配置Router NameRouter(config)#hostname P1R1P1R1#Message of the Da

9、y BannerP1R1(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #Interface DescriptionP1R1(config)#interface ethernet 0P1R1(config-if)#description Engineering LAN, Bldg. 1814Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3口令配置口令配置Router(confi

10、g)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password 15Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Password Router(config)#line

11、vty 0 4Router(config-line)#login Router(config-line)#password sanjose口令配置口令配置16Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Password Router(config)#line vty 0 4Router(co

12、nfig-line)#login Router(config-line)#password sanjoseEnable Password Router(config)#enable-password sanfran口令配置口令配置17Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Passwor

13、d Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password sanjoseEnable Password Router(config)#enable password ciscoSecret PasswordRouter(config)#enable secret sanfran口令配置口令配置18Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#interface type numberRouter

14、(config-if)# type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfaces接口配置接口配置19Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#interface type numberRouter(config-if)# type include

15、s serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfacesRouter(config)#interface type slot/portRouter(config-if)# For the Cisco 7000 and 7200 series routers接口配置接口配置20Copyright ?1998, Cisco Systems, Inc.ICRC_revis

16、ion_11.3Router(config)#interface type numberRouter(config-if)# type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfacesRouter(config-if)#exit Quit from current interface configuration modeRouter(confi

17、g)#interface type slot/portRouter(config-if)# For the Cisco 7000 and 7200 series routers接口配置接口配置21Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#show interfaces Ethernet0 is up, line protocol is up Hardware is Lance, address is 0060.4740.c2b6 (bia 0060.4740.c2b6) MTU 1500 bytes, BW 100

18、00 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00Serial1 is up, line protocol is down Hardware is MK5025 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 9/255 Encapsulation HDLC, loopbac

19、k not set, keepalive set (10 sec)show interfaces 命令命令.22Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#show interface serial 1Serial1 is up, line protocol is up Hardware is cxBus Serial Description: 56Kb Line San Jose - MP : : : : : : : : : :Operational.Connection Problem.Interface Pro

20、blem.Disabled .Serial1 is up, line protocol is upSerial1 is up, line protocol is downSerial1 is down, line protocol is downSerial1 is administratively down, line protocol is downKeepalivesCarrier Detect接口状态说明接口状态说明23Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Enter global configuration mod

21、eRouter#configure termRouter(config)#串口配置串口配置24Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Enter global configuration modeRouter(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Specify interface串口配置串口配置25Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3

22、串口配置串口配置Enter global configuration modeRouter(config-if)#clock rate 56000Router(config-if)#Router(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Specify interfaceSet DCE clock rate (optional)26Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Configuring a Serial

23、 LineEnter global configuration modeRouter(config-if)#clock rate 56000Router(config-if)#Router(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Router(config-if)#bandwidth 56Router(config-if)#exitRouter(config)#exitRouter#Specify interfaceSet DCE clock rate (optional)S

24、et bandwidth (optional)27Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3检验配置检验配置Router#show interfaces serial 1Serial1 is up, line protocol is up Hardware is MK5025 MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec, rely 255/255, load 9/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec

25、) Last input 0:00:00, output 0:00:01, output hang never Last clearing of show interface counters never Output queue 0/40, 0 drops; input queue 0/75, 0 drops Five minute input rate 1000 bits/sec, 0 packets/sec Five minute output rate 2000 bits/sec, 0 packets/sec 331885 packets input, 62400237 bytes,

26、0 no buffer Received 230457 broadcasts, 0 runts, 0 giants 3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 403591 packets output, 66717279 bytes, 0 underruns 0 output errors, 0 collisions, 8 interface resets, 0 restarts 45 carrier transitions28Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#configure termRouter(config)#interface serial 1Router(config-if)#shutdown%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial1, changed state to down%LINK-5-CHANGED: Interface Serial, changed state to administratively down关闭一个接口关闭一个接口使用命令管理性的关闭一个端口而不影响整个配置。使用命令管理性的关闭一个端口而不影

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论