1、Copyright ?1998, Cisco Systems, Inc.,ICRC_revision_11.3,路由器基础,第五章,外部配置资源,Console Port,Auxiliary Port,Interfaces,Virtual Terminals,VTY 0 4,TFTP Server,Network Management Station,RAM,路由器内的配置组件,RAM,NVRAM,路由器内的配置组件,RAM,NVRAM,Flash,路由器内的配置组件,RAM,NVRAM,Flash,ROM,路由器内的配置组件,Interfaces,RAM,NVRAM,Flash,ROM,路由
2、器内的配置组件,Console,Auxiliary,Interfaces,RAM,NVRAM,Flash,ROM,路由器内的配置组件,系统启动简介,启动例行程序,路由器的模式,Router,用户模式,有限的检查路由器。,路由器的模式,Router,用户模式,有限的检查路由器。,路由器的模式,Router,用户模式,有限的检查路由器。,路由器的模式,Router,用户模式,有限的检查路由器。,RXBoot模式,自举帮助程序。当它不能在Flash中找到可用的Cisco IOS映像文件,用于帮助路由器自举。,Router,路由器的模式,Router,用户模式,有限的检查路由器。,Router(con
3、fig)#,RXBoot模式,自举帮助程序。当它不能在Flash中找到可用的Cisco IOS映像文件,用于帮助路由器自举。,Router,路由器的模式,Router,用户模式,有限的检查路由器。,复杂的多行配置,其他配置模式,Router(config - mode)#,Router(config)#,RXBoot模式,自举帮助程序。当它不能在Flash中找到可用的Cisco IOS映像文件,用于帮助路由器自举。,Router,路由器的模式,Router,用户模式,有限的检查路由器。,#,Copyright ?1998, Cisco Systems, Inc.,ICRC_revision_1
4、1.3,用户访问接口 (操作界面),用户接口概览,用户模式 特权模式,登陆到路由器,登陆到路由器,Console,Router con0 is now availablePress RETURN to get started.,Router,Console,Router con0 is now availablePress RETURN to get started.,User-mode prompt,登陆到路由器,Router Routerenable Password:,Console,Router con0 is now availablePress RETURN to get star
5、ted.,User-mode prompt,登陆到路由器,Router Routerenable Password: Router#,Console,Router con0 is now availablePress RETURN to get started.,User-mode prompt,Privileged-mode prompt,登陆到路由器,Router Routerenable Password: Router# Router#disable Router,Console,Router con0 is now availablePress RETURN to get start
6、ed.,User-mode prompt,Privileged-mode prompt,登陆到路由器,Router Routerenable Password: Router# Router#exit Router Routerlogout,Console,Router con0 is now availablePress RETURN to get started.,User mode prompt,Privileged mode prompt,登陆到路由器,Console,User Access Verification Password:,使用口令,Console,User Access
7、 Verification Password: % Password timeout expired,使用口令,Console,User Access Verification Password: % Password timeout expired Password: Password:,使用口令,Console,User Access Verification Password: % Password timeout expired Password: Password: % Bad Passwords,使用口令,Console,Router con0 is now availablePr
8、ess RETURN to get started.,使用口令,User Access Verification Password: Router Routerenable Password:,Console,Router con0 is now availablePress RETURN to get started.,使用口令,用户模式命令列表,Router#? Exec commands: access-enable Create a temporary Access-List entryaccess-template Create a temporary Access-List ent
9、rybfe For manual emergency modes settingclear Reset functionsclock Manage the system clockconfigure Enter configuration modeconnect Open a terminal connectioncopy Copy configuration or image datadebug Debugging functions (see also undebug)disable Turn off privileged commandsdisconnect Disconnect an
10、existing network connectionenable Turn on privileged commandserase Erase flash or configuration memoryexit Exit from the EXEChelp Description of the interactive help systemlat Open a lat connectionlock Lock the terminallogin Log in as a particular userlogout Exit from the EXECmbranch Trace multicast
11、 route down tree branch-More-,特权模式命令列表,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address,上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find comput
12、er addressRouter#cl? clear clock,上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer addressRouter#cl? clear clockRouter#clock % Incomplete command.,上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Un
13、known command or computer name, or unable to find computer addressRouter#cl? clear clockRouter#clock % Incomplete command.Router#clock ? set Set the time and date,上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer addres
14、sRouter#cl? clear clockRouter#clock % Incomplete command.Router#clock ? set Set the time and dateRouter#clock set % Incomplete command.,上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer addressRouter#cl? clear clockRout
15、er#clock % Incomplete command.Router#clock ? set Set the time and dateRouter#clock set % Incomplete command.Router#clock set ? Current Time (hh:mm:ss),上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer addressRouter#cl?
16、clear clockRouter#clock % Incomplete command.Router#clock ? set Set the time and dateRouter#clock set % Incomplete command.Router#clock set ? Current Time (hh:mm:ss),上下文帮助,Router#clok Translating “clo“.domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer add
17、ressRouter#cl? clear clockRouter#clock % Incomplete command.Router#clock ? set Set the time and dateRouter#clock set % Incomplete command.Router#clock set ? Current Time (hh:mm:ss),符号翻译 关键字补足 上次命令回忆 ,命令提示 语法检查,上下文帮助,RouterShape the future of internetworking by creating unpreced,Using Enhanced Editin
18、g Commands,Router$ future of internetworking by creating unprecedented op,Using Enhanced Editing Commands,RouterShape the value of internetworking by creating unpreced,使用增强编辑命令,Router$ value for customers, employees, and partners.,使用增强编辑命令,Router$ value for customers, employees, and partners.,使用增强编辑
19、命令,Router$ value for customers, employees, and partners.,使用增强编辑命令,Router$ value for customers, employees, and partners.,使用增强编辑命令,Router$ value for customers, employees, and partners.,Automatic scrolling of long lines.Move to the beginning of the command line.Move to the end of the command line.Move
20、to the beginning of the previous word.Move forward one character.Move back one character.Move forward one word.,使用增强编辑命令,查看过去的命令,Router#show historyshow historyenableterminal history size 10terminal no editingterminal editingshow history Router#,Copyright ?1998, Cisco Systems, Inc.,ICRC_revision_11.
21、3,检查路由器的状态,路由器状态命令,路由器状态命令,RAM,Internetwork Operating System,Programs,Tables and Buffers,Dynamic Configuration Information,NVRAM,Flash,Backup Configuration File,Operating Systems,I n t e r f a c e s,Router#show version,Router#show processes CPU Router#show protocols,Router#show mem Router#show ip ro
22、ute,路由器状态命令,RAM,Internetwork Operating System,Programs,Tables and Buffers,Dynamic Configuration Information,NVRAM,Flash,Backup Configuration File,Operating Systems,I n t e r f a c e s,Router#show version,Router#show processes CPU Router#show protocols,Router#show flash,Router#show mem Router#show ip
23、 route,路由器状态命令,RAM,Internetwork Operating System,Programs,Tables and Buffers,Dynamic Configuration Information,NVRAM,Flash,Backup Configuration File,Operating Systems,I n t e r f a c e s,Router#show version,Router#show running-config,Router#show processes CPU Router#show protocols,Router#show flash,
24、Router#show mem Router#show ip route,路由器状态命令,RAM,Internetwork Operating System,Programs,Tables and Buffers,Dynamic Configuration Information,NVRAM,Flash,Backup Configuration File,Operating Systems,I n t e r f a c e s,Router#show startup-config,Router#show running-config,Router#show processes CPU Rou
25、ter#show protocols,Router#show flash,Router#show mem Router#show ip route,Router#show version,路由器状态命令,RAM,Internetwork Operating System,Programs,Tables and Buffers,Dynamic Configuration Information,NVRAM,Flash,Backup Configuration File,Operating Systems,I n t e r f a c e s,Router#show interfaces,Rou
26、ter#show mem Router#show ip route,Router#show flash,Router#show startup-config,Router#show running-config,Router#show processes CPU Router#show protocols,Router#show version,路由器状态命令,Router#show version IOS (tm) 2500 Software (C2500-JS-L), Version 11.2 (6), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1
27、997 by cisco Systems, Inc. Compiled Tue 06-May-97 16:17 by kuong Image text-base: 0x0303ED8C, data-base: 0x00001000ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE ROM: 2500-XBOOT Bootstrap Software, Version 10.1(1), RELEASE SOFTWARE (fc1) router uptime is 1 week, 3 days, 32 minutes System r
28、estarted by reload System image file is “c2500-js-l“, booted via tftp from 171.69.1.129 -More-,show version Command,Router#show startup-config Using 1108 out of 130048 bytes ! version 11.2 ! hostname router- More -,show startup-config Command and show running-config Command,Use write terminal with R
29、elease 10.2 and earlier,Use show config with Release 10.2 and earlier,Router#show running-config Building configuration. Current configuration: ! version 11.2 !- More -,Router#show interfaces Serial0 is up, line protocol is up Hardware is MK5025 Internet address is 183.8.64.129, subnet mask is 255.2
30、55.255.128 MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec, rely 255/255, load 9/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) 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 Fi
31、ve minute input rate 1000 bits/sec, 0 packets/sec Five minute output rate 2000 bits/sec, 0 packets/sec 331885 packets input, 62400237 bytes, 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,
32、0 underruns 0 output errors, 0 collisions, 8 interface resets, 0 restarts 45 carrier transitions,show interfaces Command,Router#show protocols Global values: Internet Protocol routing is enabled DECNET routing is enabled XNS routing is enabledVines routing is enabled Appletalk routing is enabled Nov
33、ell routing is enabled -More- Ethernet0 is up, line protocol is up Internet address is 183.8.128.2, subnet mask is 255.255.255.128 Decnet cost is 5 XNS address is 3010.aa00.0400.0284 CLNS enabled Vines metric is 32 AppleTalk address is 3012.93, zone ld-e0 Novell address is 3010.aa00.0400.0284-More-,show protocols Command,