原版CCNA教材-第6章_操作與配置Cisco_IOS設(shè)備_第1頁
原版CCNA教材-第6章_操作與配置Cisco_IOS設(shè)備_第2頁
原版CCNA教材-第6章_操作與配置Cisco_IOS設(shè)備_第3頁
原版CCNA教材-第6章_操作與配置Cisco_IOS設(shè)備_第4頁
原版CCNA教材-第6章_操作與配置Cisco_IOS設(shè)備_第5頁
已閱讀5頁,還剩65頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、1 2002, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5第六章第六章操作與配置操作與配置Cisco IOSCisco IOS設(shè)備設(shè)備2 2 2 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5本章目標本章目標 通過本章的學(xué)習(xí),您應(yīng)該掌握以下內(nèi)容通過本章的學(xué)習(xí),您應(yīng)該掌握以下內(nèi)容:開啟交換機和路由器并觀察其啟動過程開啟交換機和路由器并觀察其啟動過程注意交換機的出廠初始配置情況,完成路由器的初注意交換機的出廠初始配置情況,完成路由器的初始參數(shù)配置始參數(shù)配置

2、在網(wǎng)絡(luò)設(shè)備上進入并辨識不同的命令模式在網(wǎng)絡(luò)設(shè)備上進入并辨識不同的命令模式在不同的用戶界面下應(yīng)用各種幫助和命令行編輯功在不同的用戶界面下應(yīng)用各種幫助和命令行編輯功能能查看并確認并于各網(wǎng)絡(luò)設(shè)備的基本信息查看并確認并于各網(wǎng)絡(luò)設(shè)備的基本信息3 3 3 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Cisco IOS 軟件提供多種網(wǎng)絡(luò)服務(wù)進而支持軟件提供多種網(wǎng)絡(luò)服務(wù)進而支持各種網(wǎng)絡(luò)應(yīng)用各種網(wǎng)絡(luò)應(yīng)用.Cisco 互連網(wǎng)操作系統(tǒng)互連網(wǎng)操作系統(tǒng)(IOS)軟件軟件4 4 4 2001, Cisco Systems, Inc. All r

3、ights reserved.3901_11_2001_c5網(wǎng)絡(luò)設(shè)備的配置網(wǎng)絡(luò)設(shè)備的配置基于以下各方面來配置設(shè)備基于以下各方面來配置設(shè)備: 所需功能的網(wǎng)絡(luò)策略所需功能的網(wǎng)絡(luò)策略 與協(xié)議關(guān)聯(lián)的地址和相關(guān)參數(shù)與協(xié)議關(guān)聯(lián)的地址和相關(guān)參數(shù) 管理方面的需要管理方面的需要 交換機將出廠缺省設(shè)置作為初始配置交換機將出廠缺省設(shè)置作為初始配置如果路由器中沒有配置文件,會提示進入初始化設(shè)如果路由器中沒有配置文件,會提示進入初始化設(shè)置過程置過程 5 5 5 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5硬件自檢硬件自檢定位并加載定位并加載C

4、isco IOS映象文件映象文件定位并運行配置文件定位并運行配置文件Cisco設(shè)備的簡單啟動過程設(shè)備的簡單啟動過程6 6 6 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5 可以通過多種途徑來配置可以通過多種途徑來配置 配置直接在設(shè)備的內(nèi)存中生配置直接在設(shè)備的內(nèi)存中生效效控制端口控制端口Aux 端口端口端口端口PC or Unix服務(wù)器服務(wù)器Web 或網(wǎng)絡(luò)管或網(wǎng)絡(luò)管理服務(wù)器理服務(wù)器 虛擬終端虛擬終端多種途徑的配置多種途徑的配置TelnetTFTP7 7 7 2001, Cisco Systems, Inc. All r

5、ights reserved.3901_11_2001_c5提供命令行界面提供命令行界面(CLI)在不同的網(wǎng)絡(luò)設(shè)備上運行時有差別在不同的網(wǎng)絡(luò)設(shè)備上運行時有差別 在命令模式下可以鍵入或粘貼命令在命令模式下可以鍵入或粘貼命令 鍵入命令后回車,設(shè)備即解析和執(zhí)鍵入命令后回車,設(shè)備即解析和執(zhí)行所鍵入的命令行所鍵入的命令兩個主要命令模式是用戶模式和特兩個主要命令模式是用戶模式和特權(quán)模式權(quán)模式不同的命令模式有不同的提示符不同的命令模式有不同的提示符CiscoIOSCisco IOS用戶界面的基本特性用戶界面的基本特性8 8 8 2001, Cisco Systems, Inc. All rights res

6、erved.3901_11_2001_c5用戶模式用戶模式 對交換機和路由器的有限操作對交換機和路由器的有限操作 命令提示符為命令提示符為 主機名主機名主要有兩個命令模式提供命令鍵入主要有兩個命令模式提供命令鍵入.模式一模式一:Cisco IOS的主要命令模式的主要命令模式9 9 9 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5特權(quán)特權(quán)(或或enabled)模式模式 對交換機和路由器更深入的操作對交換機和路由器更深入的操作 有配置和監(jiān)視權(quán)力有配置和監(jiān)視權(quán)力 是進入其它配置模式的前提是進入其它配置模式的前提 命令提示符

7、為命令提示符為 主機名主機名#模式二模式二 (也是最常用的模式也是最常用的模式):Cisco IOS的主要命令模式的主要命令模式(續(xù)續(xù))101010 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5系統(tǒng)啟動例程會初始化交換機系統(tǒng)啟動例程會初始化交換機初始啟動利用缺省配置參數(shù)初始啟動利用缺省配置參數(shù)1. 啟動前確認正確連接線纜和控制線啟動前確認正確連接線纜和控制線2. 接入電源接入電源3. 觀察啟動順序觀察啟動順序面板上的指示燈面板上的指示燈LEDsCisco IOS輸出到控制臺上的內(nèi)容輸出到控制臺上的內(nèi)容交換機的初始啟動

8、交換機的初始啟動111111 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5檢查交換機指示燈檢查交換機指示燈(LEDs)Redundant Power Supply LED121212 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5交換機自檢期間的端口指示燈交換機自檢期間的端口指示燈 1. 啟動時,所有端口指示燈變綠啟動時,所有端口指示燈變綠.2. 每個端口自檢完畢,對應(yīng)的指示燈熄滅每個端口自檢完畢,對應(yīng)的指示燈熄滅.3. 如果端口自檢失敗如果

9、端口自檢失敗, 對應(yīng)指示燈呈黃色對應(yīng)指示燈呈黃色.4. 如果有任何自檢失敗情況,系統(tǒng)指示燈呈現(xiàn)黃色如果有任何自檢失敗情況,系統(tǒng)指示燈呈現(xiàn)黃色.5. 如果沒有自檢失敗如果沒有自檢失敗, 自檢過程完成自檢過程完成.6. 隨著自檢過程的完成隨著自檢過程的完成, 指示燈閃亮后熄滅指示燈閃亮后熄滅.131313 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5交換機初次啟動時的顯示信息交換機初次啟動時的顯示信息控制臺連接控制臺連接Catalyst 1900 Management ConsoleCopyright (c) Cisco

10、 Systems, Inc. 1993-1998All rights reserved.Enterprise Edition SoftwareEthernet Address: 00-50-BD-73-E2-C0PCA Number: 73-3121-01PCA Serial Number: FAA0252A0QXModel Number: WS-C1924-ENSystem Serial Number: FAA0304S0U3Power Supply S/N: PHI025101F3-1 user(s) now active on Management Console. User Inter

11、face Menu M Menus K Command Line I IP ConfigurationEnter Selection: 141414 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5控制臺控制臺登入交換機并鍵入特權(quán)模式密碼登入交換機并鍵入特權(quán)模式密碼 enableEnter password:# disable quit用戶模式提示用戶模式提示特權(quán)模式提示特權(quán)模式提示151515 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5上下

12、文關(guān)聯(lián)幫助上下文關(guān)聯(lián)幫助錯誤信息提示錯誤信息提示指出所輸入交換機命令的錯誤所指出所輸入交換機命令的錯誤所在,以便于修改或糾正在,以便于修改或糾正.可以重新調(diào)出一個較長或較復(fù)雜可以重新調(diào)出一個較長或較復(fù)雜的命令或其它內(nèi)容,用來再次運的命令或其它內(nèi)容,用來再次運行、查看或修改行、查看或修改. 之前命令保存區(qū)之前命令保存區(qū)交換機命令行幫助機制交換機命令行幫助機制提供命令清單和與特定命令提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù)相關(guān)聯(lián)的參數(shù). 161616 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Switch#show int

13、erfacesSwitch#show version顯示交換機初始啟動的狀態(tài)顯示交換機初始啟動的狀態(tài)Switch#show running-config顯示交換機的各種運行狀態(tài)顯示交換機的各種運行狀態(tài)171717 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5wg_sw_c#show versionCisco Catalyst 1900/2820 Enterprise Edition SoftwareVersion V8.01.01 written from 171.068.229.225Copyright (c) C

14、isco Systems, Inc. 1993-1998wg_sw_c uptime is 15day(s) 21hour(s) 53minute(s) 11second(s) cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memoryHardware board revision is 5Upgrade Status: No upgrade currently in progress. Config File Status: No configuration upload/download is in pro

15、gress 27 Fixed Ethernet/IEEE 802.3 interface(s)Base Ethernet Address: 00-50-BD-73-E2-C0交換機之交換機之show version 命令命令181818 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5wg_sw_c #show runBuilding configuration.Current configuration:!hostname wg_sw_c!ip address 3 ip def

16、ault-gateway !interface Ethernet 0/1interface Ethernet 0/24!Interface Ethernet 0/25!interface FastEthernet 0/26!interface FastEthernet 0/27交換機之交換機之show running-configuration 命令命令wg_sw_c#show runBuilding configuration.Current configuration:!hostname wg_sw_c!ip address 3 i

17、p default-gateway !interface Ethernet 0/1interface Ethernet 0/12!Interface Ethernet 0/25!interface FastEthernet 0/26!interface FastEthernet 0/27Catalyst 1924Catalyst 1912191919 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5wg_sw_c#show interfaces ethernet 0/1Ethernet 0/1 is En

18、abled Hardware is Built-in 10Base-TAddress is 0050.BD73.E2C1MTU 1500 bytes, BW 10000 Kbits802.1d STP State: Forwarding Forward Transitions: 1Port monitoring: DisabledUnknown unicast flooding: Enabled Unregistered multicast flooding: Enabled Description: Duplex setting: Half duplex Back pressure: Dis

19、abled-More-交換機之交換機之show interfaces命令命令202020 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5wg_sw_a#show ip interface vlan 1IP Address: 1Subnet Mask: Default Gateway: Management VLAN: 1Domain name: Name server 1: Name server 2: HTTP server : E

20、nabledHTTP port : 80RIP : Enabledwg_sw_a#查看交換機的查看交換機的IPIP地址地址212121 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5 配置模式配置模式:全局配置模式全局配置模式 wg_sw_a# conf termwg_sw_a(config)#端口配置模式端口配置模式1900(config)# interface ethernet 0/11900(config-if)#2950(config)#interface fastEthernet 0/12950(config

21、-if)#配置交換機配置交換機222222 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5配置交換機的各種標識配置交換機的各種標識為交換機設(shè)置本地標識為交換機設(shè)置本地標識交換機名交換機名(config)#hostname wg_sw_cwg_sw_c(config)#232323 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c51900(config)# ip address ip address mask1900(config)#ip addr

22、ess 1 配置交換機配置交換機IPIP地址地址2950(config)#interface vlan 12950(config-if)#ip add2950(config-if)#ip address 0 242424 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5配置交換機默認網(wǎng)關(guān)配置交換機默認網(wǎng)關(guān) 2950(config-if)#exit 2950(config)#ip default-gateway

23、252525 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5系統(tǒng)啟動例程會初始化路由器系統(tǒng)啟動例程會初始化路由器如果需要,路由器可以有選擇性地回退啟動如果需要,路由器可以有選擇性地回退啟動Check hardwareFind and load Cisco IOSsoftware image Find and apply routerconfiguration information Load Bootstrap1. 啟動前確認正確連接線纜和控制線啟動前確認正確連接線纜和控制線2. 按下電源開關(guān)按下電源開關(guān)3. 觀察啟動

24、順序觀察啟動順序 Cisco IOS輸出到控制臺上的內(nèi)容輸出到控制臺上的內(nèi)容Cisco路由器的初始啟動路由器的初始啟動262626 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5沒有配置文件與有配置文件的路由器啟動對比沒有配置文件與有配置文件的路由器啟動對比- System Configuration Dialog -% Please answer yes or noContinue with configuration dialog? yes/no:yes At any point you may enter a q

25、uestion mark ? for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets .Setup模式模式wg_ro_c con0 is now availablePress RETURN to get started.用戶模式用戶模式提示提示wg_ro_c路由器啟動時在控制臺上的輸出內(nèi)容路由器啟動時在控制臺上的輸出內(nèi)容控制臺控制臺272727 2001, Cisco Systems, Inc. All rights reserved.3901

26、_11_2001_c5Setup: 初始配置對話框初始配置對話框 Router#setup - System Configuration Dialog -Continue with configuration dialog? yes/no: yAt 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 .Basic management setup confi

27、gures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the systemWould you like to enter basic management setup? yes/no: n282828 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5預(yù)先瀏覽端口配置情況預(yù)先瀏覽端口配置情況First, would you like to se

28、e the current interface summary? yes:Interface IP-Address OK? Method Status ProtocolBRI0 unassigned YES unset administratively down downBRI0:1 unassigned YES unset administratively down downBRI0:2 unassigned YES unset administratively down downEthernet0 unassigned YES unset administratively down dow

29、nSerial0 unassigned YES unset administratively down down自檢過程中所找到的端口自檢過程中所找到的端口292929 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5設(shè)置全局參數(shù)設(shè)置全局參數(shù)初始化全局參數(shù)初始化全局參數(shù)Configuring global parameters: Enter host name Router:wg_ro_c The enable secret is a password used to protect access to privileg

30、ed EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: cisco The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: sanfran The

31、 virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: sanjose Configure SNMP Network Management? no:303030 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5設(shè)置全局參數(shù)設(shè)置全局參數(shù)(續(xù)續(xù))初始化協(xié)議配置初始化協(xié)議配置 Configure LAT? yes: n Configu

32、re AppleTalk? no: Configure DECnet? no: Configure IP? yes: Configure IGRP routing? yes: n Configure RIP routing? no: Configure CLNS? no: Configure IPX? no: Configure Vines? no: Configure XNS? no: Configure Apollo? no:313131 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5設(shè)置端口參數(shù)設(shè)置端口參數(shù)BRI

33、 interface needs isdn switch-type to be configured Valid switch types are : 0 none.Only if you dont want to configure BRI. 1 basic-1tr6.1TR6 switch type for Germany 2 basic-5ess.AT&T 5ESS switch type for the US/Canada 3 basic-dms100.Northern DMS-100 switch type for US/Canada 4 basic-net3.NET3 sw

34、itch type for UK and Europe 5 basic-ni.National ISDN switch type 6 basic-ts013.TS013 switch type for Australia 7 ntt.NTT switch type for Japan 8 vn3.VN3 and VN4 switch types for France Choose ISDN BRI Switch Type 2:Configuring interface parameters:Do you want to configure BRI0 (BRI d-channel) interf

35、ace? no:Do you want to configure Ethernet0 interface? no: y Configure IP on this interface? no: y IP address for this interface: 3 Subnet mask for this interface : Class A network is , 24 subnet bits; mask is /24Do you want to configure Serial0 interface? no:3

36、23232 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5設(shè)置腳本的確認與應(yīng)用設(shè)置腳本的確認與應(yīng)用The following configuration command script was created:hostname Routerenable secret 5 $1$/CCk$4r7zDwDNeqkxFO.kJxC3G0enable password sanfranline vty 0 4password sanjoseno snmp-server!no appletalk routingno decnet r

37、outingip routingno clns routingno ipx routingno vines routingno xns routingno apollo routingisdn switch-type basic-5essinterface BRI0shutdownno ip address!interface Ethernet0no shutdownip address 1 no mop enabled!interface Serial0shutdownno ip addressend0 Go to the IOS command p

38、rompt without saving this config.1 Return back to the setup without saving this config.2 Save this configuration to nvram and exit.Enter your selection 2:333333 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Consolewg_ro_cwg_ro_cenablewg_ro_c#wg_ro_c#disablewg_ro_cwg_ro_clogoutwg_ro_c

39、con0 is now availablePress RETURN to get started.用戶模式提示用戶模式提示特權(quán)模式提示特權(quán)模式提示登入路由器登入路由器343434 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5 只要所輸命令串在全部命令中是唯一的,可以將一個命令只要所輸命令串在全部命令中是唯一的,可以將一個命令盡可能地簡寫,盡可能地簡寫,路由器在用戶模式下的命令清單路由器在用戶模式下的命令清單wg_ro_c?Exec commands: access-enable Create a temporary

40、Access-List entry atmsig Execute Atm Signalling Commands cd Change current device clear Reset functions connect Open a terminal connection dir List files on given device disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands exit

41、Exit from the EXEC help Description of the interactive help system lat Open a lat connection lock Lock the terminal login Log in as a particular user logout Exit from the EXEC- More -353535 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5wg_ro_c#?Exec commands: access-enable Create a te

42、mporary Access-List entry access-profile Apply user-profile to interface access-template Create a temporary Access-List entry bfe For manual emergency modes setting cd Change current directory clear Reset functions clock Manage the system clock configure Enter configuration mode connect Open a termi

43、nal connection copy Copy from one file to another debug Debugging functions (see also undebug) delete Delete a file dir List files on a filesystem disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands erase Erase a filesystem exi

44、t Exit from the EXEC help Description of the interactive help system- More -路由器在特權(quán)模式下的命令清單路由器在特權(quán)模式下的命令清單只要輸入部分命令串只要輸入部分命令串(唯一表示某個命令唯一表示某個命令),緊接著按,緊接著按tab鍵就可以完整地輸入一個命令鍵就可以完整地輸入一個命令363636 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5路由器命令行幫助機制路由器命令行幫助機制上下文關(guān)聯(lián)幫助上下文關(guān)聯(lián)幫助錯誤信息提示錯誤信息提示指出所輸入交換

45、機命令的錯誤所指出所輸入交換機命令的錯誤所在,以便于修改或糾正在,以便于修改或糾正.可以重新調(diào)出一個較長或較復(fù)雜可以重新調(diào)出一個較長或較復(fù)雜的命令或其它內(nèi)容,用來再次運的命令或其它內(nèi)容,用來再次運行、查看或修改行、查看或修改. 之前命令保存區(qū)之前命令保存區(qū)提供命令清單和與特定命令提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù)相關(guān)聯(lián)的參數(shù). 373737 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5路由器的上下文相關(guān)聯(lián)幫助路由器的上下文相關(guān)聯(lián)幫助Router# clokTranslating CLOK% Unknown comm

46、and or computer name, or unable to find computer addressRouter# cl?clear clockRouter# clock% Incomplete command.Router# clock ?set Set the time and dateRouter# clock set% Incomplete command.Router# clock set ?hh:mm:ss Current Time 符號解析符號解析命令提示命令提示調(diào)出最近用過的內(nèi)容調(diào)出最近用過的內(nèi)容383838 2001, Cisco Systems, Inc. Al

47、l rights reserved.3901_11_2001_c5路由器的上下文相關(guān)聯(lián)幫助路由器的上下文相關(guān)聯(lián)幫助(續(xù)續(xù))Router# clokTranslating CLOK% Unknown command or computer name, or unable to find computer addressRouter# clear clockRouter# % Incomplete command.Router# set Set the time and dateRouter# % Incomplete command.Router# hh:mm:ss Current TimeRo

48、uter# clock set 19:56:00% Incomplete command.Router# clock set 19:56:00 ? Day of the monthMONTH Month of the yearRouter# clock set 19:56:00 04 8 % Invalid input detected at the markerRouter# clock set 19:56:00 04 August% Incomplete command.Router# clock set 19:56:00 04 August ? Year 命令提示命令提示 語法檢查語法檢

49、查 命令提示命令提示393939 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5RouterShape the future of internetworking by creating unpreced使用增強的編輯命令使用增強的編輯命令“Shape the future of internetworking by creating unprecedented value for customers, employees, and partners.”上述文字段在輸入時會超出一行上述文字段在輸入時會超出一行40404

50、0 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Router$ future of internetworking by creating unprecedented op使用增強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).414141 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5RouterShape the value of internetworking by creating unpreced使用增

51、強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.424242 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Router$ value for customers, employees, and partners.使用增強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.434343 2001, Ci

52、sco Systems, Inc. All rights reserved.3901_11_2001_c5使用增強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.回移一個字符回移一個字符Router$ value for customers, employees, and partners.444444 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5使用增強的編輯命令使用增強的編輯命

53、令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.回移一個字符回移一個字符.下移一個字符下移一個字符.Router$ value for customers, employees, and partners.454545 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5使用增強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移

54、動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.下移一個字符下移一個字符.回移一個字符回移一個字符.Router$ value for customers, employees, and partners.464646 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5使用增強的編輯命令使用增強的編輯命令(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.回移一個單詞回移一個單詞下移一個字符下移一個字符.回移一個字符回

55、移一個字符.下移一個單詞下移一個單詞Router$ value for customers, employees, and partners.474747 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5(一行中長字串會自動滾卷一行中長字串會自動滾卷).光標移動到命令行的開始位置光標移動到命令行的開始位置.光標移動到命令行的結(jié)束位置光標移動到命令行的結(jié)束位置.回移一個單詞回移一個單詞下移一個字符下移一個字符.回移一個字符回移一個字符.下移一個單詞下移一個單詞使用增強的編輯命令使用增強的編輯命令刪除當前字符刪除當前字符Ro

56、uter$ value for customers, employees, and partners.484848 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5Ctrl-P or Up arrow調(diào)出最近調(diào)出最近(前一前一)使用過的命令使用過的命令Ctrl-N or Down arrow調(diào)出最近使用過的命令調(diào)出最近使用過的命令Router show history顯示命令保存區(qū)內(nèi)容顯示命令保存區(qū)內(nèi)容Router terminal history size lines 設(shè)置命令保存區(qū)大小設(shè)置命令保存區(qū)大小回覽之前用過的

57、命令回覽之前用過的命令494949 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5show version 命令命令wg_ro_a#show versionCisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1)Copyright (c) 1986-1999 by cisco Systems, Inc.Compiled Mon 08-F

58、eb-99 18:18 by phanguyeImage text-base: 0 x03050C84, data-base: 0 x00001000ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1)wg_ro_a uptime is 20 minutesSystem restarted by reloadSystem image file is flash:c2500

59、-js-l_120-3.bin(output omitted)-More-Configuration register is 0 x2102505050 2001, Cisco Systems, Inc. All rights reserved.3901_11_2001_c5查看配置情況查看配置情況控制臺控制臺IOSSetup utilityshowstartup-configshowrunning-config將配置參數(shù)保存到將配置參數(shù)保存到NVRAM中中ConfigConfigRAMNVRAM515151 2001, Cisco Systems, Inc. All rights reser

60、ved.3901_11_2001_c5show running 和和 show startup 命令命令wg_ro_c#show startup-configUsing 1359 out of 32762 bytes!version 12.0!- More -wg_ro_c#show running-configBuilding configuration.Current configuration:!version 12.0!- More -保存在保存在NVRAM中中保存在保存在RAM中中顯示當前運行的和保存的配置情況顯示當前運行的和保存的配置情況525252 2001, Cisco Systems

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論