CCiscoIOS簡介實用教案_第1頁
CCiscoIOS簡介實用教案_第2頁
CCiscoIOS簡介實用教案_第3頁
CCiscoIOS簡介實用教案_第4頁
CCiscoIOS簡介實用教案_第5頁
已閱讀5頁,還剩58頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、本章本章(bn zhn)目標(biāo)目標(biāo) 通過本章的學(xué)習(xí),您應(yīng)該掌握以下內(nèi)容: 開啟(kiq)交換機和路由器并觀察其啟動過程 注意交換機的出廠初始配置情況,完成路由器的初始參數(shù)配置 在網(wǎng)絡(luò)設(shè)備上進入并辨識不同的命令模式 在不同的用戶界面下應(yīng)用各種幫助和命令行編輯功能 查看并確認并于各網(wǎng)絡(luò)設(shè)備的基本信息第1頁/共62頁第一頁,共63頁。IOS是運行于Cisco路由器和交換機上的操作系統(tǒng),Cisco IOS 軟件提供多種網(wǎng)絡(luò)服務(wù)進而(jn r)支持各種網(wǎng)絡(luò)應(yīng)用.Internetwork Operation System (IOS)軟件軟件(run jin)第2頁/共62頁第二頁,共63頁。網(wǎng)絡(luò)設(shè)備的配置網(wǎng)

2、絡(luò)設(shè)備的配置(pizh) 基于以下各方面來配置設(shè)備: 所需功能(gngnng)的網(wǎng)絡(luò)策略 與協(xié)議關(guān)聯(lián)的地址和相關(guān)參數(shù) 管理方面的需要 交換機將出廠缺省設(shè)置作為初始配置 如果路由器中沒有配置文件,會提示進入初始化安裝設(shè)置過程第3頁/共62頁第三頁,共63頁。硬件自檢(z jin)定位并加載Cisco IOS映象文件定位并運行配置文件Cisco設(shè)備的簡單啟動設(shè)備的簡單啟動(qdng)過程過程第4頁/共62頁第四頁,共63頁。設(shè)備設(shè)備(shbi)(shbi)接口接口第5頁/共62頁第五頁,共63頁。 可以通過(tnggu)多種途徑來配置 配置直接在設(shè)備的內(nèi)存中生效控制(kngzh)端口Aux 端口端

3、口PC or Unix服務(wù)器Web 或網(wǎng)絡(luò)(wnglu)管理服務(wù)器 虛擬終端多種途徑的配置方式多種途徑的配置方式TelnetTFTP第6頁/共62頁第六頁,共63頁。Cisco IOS用戶界面用戶界面(yn h ji min)的基本特性的基本特性 提供命令行界面 在不同的網(wǎng)絡(luò)設(shè)備上運行(ynxng)時有差別 在命令模式下可以鍵入或粘貼命令 鍵入命令后回車,設(shè)備即解析和執(zhí)行所鍵入的命令 兩個主要命令模式是用戶模式和特權(quán)模式 不同的命令模式有不同的提示符CiscoIOS第7頁/共62頁第七頁,共63頁。用戶模式(msh)對交換機和路由器的有限操作命令提示符為 router主要有兩個命令模式(msh

4、)提供命令鍵入.模式(msh)一:Cisco IOS的主要命令模式的主要命令模式第8頁/共62頁第八頁,共63頁。特權(quán)(tqun)(或enabled)模式對交換機和路由器更深入的操作有配置和監(jiān)視權(quán)力是進入其它配置模式的前提命令提示符為 router#模式(msh)二 (也是最常用的模式(msh):Cisco IOS的主要的主要(zhyo)命令模式命令模式第9頁/共62頁第九頁,共63頁。交換機的初始交換機的初始(ch sh)啟動啟動 系統(tǒng)啟動例程會初始(ch sh)化交換機 初始(ch sh)啟動利用缺省配置參數(shù)1. 啟動前確認正確連接線纜和控制線2. 接入電源3. 觀察啟動順序面板(min

5、bn)上的指示燈LEDsCisco IOS輸出到控制臺上的內(nèi)容第10頁/共62頁第十頁,共63頁。檢查檢查(jinch)交換機指示燈交換機指示燈(LEDs)第11頁/共62頁第十一頁,共63頁。交換機自檢交換機自檢(z jin)期間的端口指示燈期間的端口指示燈 1. 啟動時,所有端口指示燈變綠.2. 每個端口自檢完畢,對應(yīng)的指示燈熄滅.3. 如果端口自檢失敗, 對應(yīng)指示燈呈黃色.4. 如果有任何自檢失敗情況,系統(tǒng)指示燈呈現(xiàn)(chngxin)黃色.5. 如果沒有自檢失敗, 自檢過程完成.6. 隨著自檢過程的完成, 指示燈閃亮后熄滅.第12頁/共62頁第十二頁,共63頁。交換機初次交換機初次(ch

6、 c)啟動時的顯示信息啟動時的顯示信息控制臺連接(linji)Catalyst 1900 Management ConsoleCopyright (c) Cisco 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: FAA0304S0U3Po

7、wer Supply S/N: PHI025101F3-1 user(s) now active on Management Console. User Interface Menu M Menus K Command Line I IP ConfigurationEnter Selection: 第13頁/共62頁第十三頁,共63頁??刂婆_登入交換機并鍵入登入交換機并鍵入(jin r)特權(quán)模式密碼特權(quán)模式密碼 enableEnter password:# disable quit用戶(yngh)模式提示特權(quán)模式(msh)提示第14頁/共62頁第十四頁,共63頁。上下文關(guān)聯(lián)(gunlin)幫助

8、錯誤信息提示(tsh)指出所輸入交換機命令的錯誤所在,以便于修改(xigi)或糾正.可以重新調(diào)出一個較長或較復(fù)雜的命令或其它內(nèi)容,用來再次運行、查看或修改. 之前命令保存區(qū)交換機命令行幫助機制交換機命令行幫助機制提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù). 第15頁/共62頁第十五頁,共63頁。Switch#show interfacesSwitch#show version顯示顯示(xinsh)交換機初始啟動的狀態(tài)交換機初始啟動的狀態(tài)Switch#show running-config顯示(xinsh)交換機的各種運行狀態(tài)第16頁/共62頁第十六頁,共63頁。CCIE#show versionCi

9、sco Catalyst 1900/2820 Enterprise Edition SoftwareVersion V8.01.01 written from 171.068.229.225Copyright (c) Cisco Systems, Inc. 1993-1998Ccie uptime is 15day(s) 21hour(s) 53minute(s) 11second(s) cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memoryHardware board revision is 5Upgra

10、de Status: No upgrade currently in progress. Config File Status: No configuration upload/download is in progress 27 Fixed Ethernet/IEEE 802.3 interface(s)Base Ethernet Address: 00-50-BD-73-E2-C0交換機之交換機之show version 命令命令(mng lng)第17頁/共62頁第十七頁,共63頁。CCIE#show runBuilding configuration.Current configura

11、tion:!hostname “CCIE!ip address 3 ip default-gateway !interface Ethernet 0/1interface Ethernet 0/24!Interface Ethernet 0/25!interface FastEthernet 0/26!interface FastEthernet 0/27交換機之交換機之show running-configuration 命令命令(mng lng)CCIE#show runBuilding configuration.Current

12、configuration:!hostname “CCIE!ip address 3 ip default-gateway !interface Ethernet 0/1interface Ethernet 0/12!Interface Ethernet 0/25!interface FastEthernet 0/26!interface FastEthernet 0/27Catalyst 1924Catalyst 1912第18頁/共62頁第十八頁,共63頁。CCIE#show interfaces ethernet 0/1Ether

13、net 0/1 is Enabled 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

14、pressure: Disabled-More-交換機之交換機之show interfaces命令命令(mng lng)第19頁/共62頁第十九頁,共63頁。 配置(pizh)模式: 全局配置(pizh)模式 CCIE# configure terminal (conf t) CCIE(config)# 端口配置(pizh)模式 CCIE(config)# interface fa0/1 CCIE(config-if)#配置配置(pizh)(pizh)交換機交換機第20頁/共62頁第二十頁,共63頁。配置交換機的各種配置交換機的各種( zhn)標(biāo)識標(biāo)識為交換機設(shè)置(shzh)本地標(biāo)識交換機名s

15、witch(config)#hostname CCIECCIE(config)#第21頁/共62頁第二十一頁,共63頁。Cisco路由器的初始路由器的初始(ch sh)啟動啟動 系統(tǒng)啟動例程會初始化路由器 如果需要,路由器可以(ky)有選擇性地回退啟動Check hardwareFind and load Cisco IOSsoftware image Find and apply routerconfiguration information Load Bootstrap1. 啟動前確認正確(zhngqu)連接線纜和控制線2. 按下電源開關(guān)3. 觀察啟動順序 Cisco IOS輸出到控制臺上

16、的內(nèi)容第22頁/共62頁第二十二頁,共63頁。路由器啟動時在控制臺上的輸出路由器啟動時在控制臺上的輸出(shch)內(nèi)容內(nèi)容沒有配置文件與有配置文件的路由器啟動(qdng)對比- System Configuration Dialog -Continue with configuration dialog? yes/no:yes or no At any point you may enter a question mark ? for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are

17、 in square brackets .Setup模式(msh)router con0 is now availablePress RETURN to get started.用戶模式提示router控制臺第23頁/共62頁第二十三頁,共63頁。Setup: 初始初始(ch sh)配置對話框配置對話框 Router#setup - System Configuration Dialog -Continue with configuration dialog? yes/no: yAt any point you may enter a question mark ? for help.Use

18、ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets .Basic management setup configures 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/

19、no: n第24頁/共62頁第二十四頁,共63頁。預(yù)先預(yù)先(yxin)瀏覽端口配置情況瀏覽端口配置情況First, would you like to see 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 admi

20、nistratively down downEthernet0 unassigned YES unset administratively down downSerial0 unassigned YES unset administratively down down 自檢(z jin)過程中所找到的端口第25頁/共62頁第二十五頁,共63頁。設(shè)置全局設(shè)置全局(qunj)參數(shù)參數(shù)初始化全局(qunj)參數(shù)Configuring global parameters: Enter host name Router:router_a The enable secret is a password u

21、sed to protect access to privileged 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. E

22、nter enable password: ccie The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: cisco_ccie Configure SNMP Network Management? no:第26頁/共62頁第二十六頁,共63頁。設(shè)置全局設(shè)置全局(qunj)參數(shù)參數(shù)(續(xù)續(xù))初始化協(xié)議(xiy)配置 Configure LAT? yes: n Configure AppleTal

23、k? 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:第27頁/共62頁第二十七頁,共63頁。設(shè)置設(shè)置(shzh)端口參數(shù)端口參數(shù)BRI interface needs isdn switch-type to be configured Va

24、lid 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 switch type for UK and Europe 5 basic-ni.National ISDN swit

25、ch 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) interface? no:Do you want to configure Ethernet0 interface? no:

26、 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:第28頁/共62頁第二十八頁,共63頁。設(shè)置腳本的確認設(shè)置腳本的確認(qurn)與應(yīng)用與應(yīng)用The followin

27、g 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 routingip routingno clns routingno ipx routingno vines routingno xns routingno apollo routingisdn sw

28、itch-type basic-5essinterface BRI0shutdownno ip address!interface Ethernet0no shutdownip address 1 no mop enabled!interface Serial0shutdownno ip address0 Go to the IOS command prompt without saving this config.1 Return back to the setup without saving this config.2 Save this con

29、figuration to nvram and exit.Enter your selection 2:第29頁/共62頁第二十九頁,共63頁。Consolerouterrouterenablerouter#router#disablerouterrouterlogoutrouter con0 is now availablePress RETURN to get started.用戶模式(msh)提示特權(quán)模式(msh)提示登入路由器登入路由器第30頁/共62頁第三十頁,共63頁。路由器在用戶模式路由器在用戶模式(msh)下的命令清單下的命令清單 只要所輸命令(mng lng)串在全部命令(m

30、ng lng)中是唯一的,可以將一個命令(mng lng)盡可能地簡寫,router?Exec commands: access-enable Create a temporary 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 di

31、sconnect Disconnect an existing network connection enable Turn on privileged commands exit 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 -第31頁/共62頁第三十一頁,共63頁。router

32、#?Exec commands: access-enable Create a temporary 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 Ent

33、er configuration mode connect Open a terminal 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 privil

34、eged commands erase Erase a filesystem exit Exit from the EXEC help Description of the interactive help system- More -路由器在特權(quán)模式路由器在特權(quán)模式(msh)下的命令清單下的命令清單只要輸入部分命令串(唯一表示某個(mu )命令),緊接著按tab鍵就可以完整地補全一個命令第32頁/共62頁第三十二頁,共63頁。路由器命令行幫助路由器命令行幫助(bngzh)機制機制上下文關(guān)聯(lián)(gunlin)幫助錯誤信息提示(tsh)指出所輸入交換機命令的錯誤所在,以便于修改或糾正.可以重新調(diào)出

35、一個較長或較復(fù)雜的命令或其它內(nèi)容,用來再次運行、查看或修改. 之前命令保存區(qū)提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù). 第33頁/共62頁第三十三頁,共63頁。路由器的上下文相關(guān)聯(lián)幫助路由器的上下文相關(guān)聯(lián)幫助(bngzh)Router# clokTranslating CLOK% Unknown command or computer name, or unable to find computer addressRouter# cl?clear clockRouter# clock% Incomplete command.Router# clock ?set Set the time and d

36、ateRouter# clock set% Incomplete command.Router# clock set ?hh:mm:ss Current Time 符號(fho)解析命令提示調(diào)出最近用過的內(nèi)容第34頁/共62頁第三十四頁,共63頁。Router$ future of internetworking by creating unprecedented op使用使用(shyng)增強的編輯命令增強的編輯命令(一行(yxng)中長字串會自動滾卷).第35頁/共62頁第三十五頁,共63頁。RouterShape the value of internetworking by creat

37、ing unpreced使用增強使用增強(zngqing)的編輯命令的編輯命令(一行(yxng)中長字串會自動滾卷).光標(biāo)(un bio)移動到命令行的開始位置.第36頁/共62頁第三十六頁,共63頁。Router$ value for customers, employees, and partners.使用增強的編輯使用增強的編輯(binj)命令命令(一行(yxng)中長字串會自動滾卷).光標(biāo)移動到命令行的開始(kish)位置.光標(biāo)移動到命令行的結(jié)束位置.第37頁/共62頁第三十七頁,共63頁。使用增強的編輯使用增強的編輯(binj)命令命令(一行(yxng)中長字串會自動滾卷).光標(biāo)移動

38、(ydng)到命令行的開始位置.光標(biāo)移動到命令行的結(jié)束位置.回移一個單詞Router$ value for customers, employees, and partners.第38頁/共62頁第三十八頁,共63頁。使用增強的編輯使用增強的編輯(binj)命令命令(一行(yxng)中長字串會自動滾卷).光標(biāo)移動到命令行的開始(kish)位置.光標(biāo)移動到命令行的結(jié)束位置.回移一個單詞.下移一個字符.Router$ value for customers, employees, and partners.第39頁/共62頁第三十九頁,共63頁。使用增強的編輯使用增強的編輯(binj)命令命令(一

39、行(yxng)中長字串會自動滾卷).光標(biāo)(un bio)移動到命令行的開始位置.光標(biāo)移動到命令行的結(jié)束位置.回移一個單詞下移一個字符.回移一個字符.Router$ value for customers, employees, and partners.第40頁/共62頁第四十頁,共63頁。使用增強使用增強(zngqing)的編輯命令的編輯命令(一行(yxng)中長字串會自動滾卷).光標(biāo)(un bio)移動到命令行的開始位置.光標(biāo)移動到命令行的結(jié)束位置.回移一個單詞下移一個字符.回移一個字符.下移一個單詞Router$ value for customers, employees, and p

40、artners.第41頁/共62頁第四十一頁,共63頁。(一行(yxng)中長字串會自動滾卷).光標(biāo)移動到命令行的開始(kish)位置.光標(biāo)移動到命令行的結(jié)束(jish)位置.回移一個單詞下移一個字符.回移一個字符.下移一個單詞使用增強的編輯命令使用增強的編輯命令刪除當(dāng)前字符Router$ value for customers, employees, and partners.第42頁/共62頁第四十二頁,共63頁。Ctrl-P or Up arrow調(diào)出最近(zujn)(前一)使用過的命令Ctrl-N or Down arrow調(diào)出更近使用(shyng)過的命令Router show hi

41、story顯示命令保存(bocn)區(qū)內(nèi)容Router terminal history size lines 設(shè)置命令保存區(qū)大小回覽之前用過的命令回覽之前用過的命令第43頁/共62頁第四十三頁,共63頁。show version 命令命令(mng lng)router#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

42、 Systems, Inc.Compiled Mon 08-Feb-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 reloadS

43、ystem image file is flash:c2500-js-l_120-3.bin(output omitted)-More-Configuration register is 0 x2102第44頁/共62頁第四十四頁,共63頁。查看查看(chkn)配置情況配置情況控制臺IOSSetup utilityshowstartup-configshowrunning-config將配置參數(shù)(cnsh)保存到NVRAM中ConfigConfigRAMNVRAM第45頁/共62頁第四十五頁,共63頁。show running 和和 show startup 命令命令(mng lng)wg_r

44、o_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 -保存(bocn)在NVRAM中保存(bocn)在RAM中顯示當(dāng)前運行的和保存的配置情況第46頁/共62頁第四十六頁,共63頁。路由器模式路由器模式(msh)一覽一覽 用戶模式 特權(quán)(tqun)模式 全局配置模式Router(config)#Routerenable

45、Router#config termExitCtrl-Z (end)配置(pizh)模式模式提示InterfaceRouter(config-if)#Subinterface Router(config-subif)#Controller Router(config-controller)#LineRouter(config-line)#RouterRouter(config-router)#IPX router Router(config-ipx-router)#第47頁/共62頁第四十七頁,共63頁。保存保存(bocn)配置配置router#router#copy running-conf

46、ig startup-configDestination filename startup-config?Building configurationrouter#router#wr(等同于copy run start)將當(dāng)前運行(ynxng)的配置復(fù)制到NVRAM中第48頁/共62頁第四十八頁,共63頁。配置配置(pizh)路由器的各種標(biāo)識路由器的各種標(biāo)識為路由器或其端口設(shè)置標(biāo)識(biozh)或信息路由器名Router(config)#hostname CCIECCIE(config)#開機(ki j)時的固定顯示信息router(config)#banner motd # welcome

47、to china! #第49頁/共62頁第四十九頁,共63頁。Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password cisco控制臺密碼(m m)虛擬終端(zhn dun)密碼Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password sanjose特權(quán)模式(msh)明文密碼Router(config)#enable password cisco特權(quán)模式加密密碼Router(con

48、fig)#enable secret sanfran路由器密碼配置路由器密碼配置第50頁/共62頁第五十頁,共63頁。其它其它(qt)控制臺命令控制臺命令Router(config)#line console 0Router(config-line)#exec-timeout 0 0 Router(config)#line console 0Router(config-line)#logging synchronous 禁止(jnzh)控制臺會話自動退出 重顯被打亂的控制臺輸入(shr)第51頁/共62頁第五十一頁,共63頁。Router(config)#interface type numb

49、erRouter(config-if)#端口配置端口配置 type 包括 serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number 用來(yn li)識別具體的單個端口Router(config-if)#exit 從當(dāng)前(dngqin)端口配置模式退出Router(config)#interface type slot/portRouter(config-if)# 模塊化端口的表示法第52頁/共62頁第五十二頁,共63頁。配置配置(pizh)串口串口進

50、入全局配置(pizh)模式Router(config-if)#clock rate 64000Router(config-if)#Router(config)#interface serial 0 Router(config-if)#Router#configure termRouter(config)#Router(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#exitRouter#指定(zhdng)某個端口設(shè)置時鐘頻率 (只在DCE端)調(diào)協(xié)波特率 (建議)第53頁/共62頁第五十三頁,共63頁。Router#show

51、 interface serial 0Serial0 is up, line protocol is up Hardware is HD64570 Internet address is /24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 00:00:09, output 00:00:04, output hang never Last c

52、learing of show interface counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5

53、minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec(output omitted) 確認確認(qurn)參數(shù)修改情況參數(shù)修改情況第54頁/共62頁第五十四頁,共63頁。以太網(wǎng)的以太網(wǎng)的 media-type 命令命令(mng lng)Router(config)#interface gi0/1Router(config-if)#media-type rj45為以太網(wǎng)端口選擇適當(dāng)?shù)慕橘|(zhì)(jizh)類型第55頁/共62頁第五十五頁,共63頁。開啟開啟(kiq)或關(guān)閉端口

54、或關(guān)閉端口Router#configure termRouter(config)#interface serial 0 Router(config-if)#no shutdown%LINK-3-UPDOWN: Interface Seria0, changed state to up%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial0, changed state to up 開啟(kiq)已經(jīng)關(guān)閉的端口Router#configure termRouter(config)#interface serial 0 Router(confi

55、g-if)#shutdown%LINK-5-CHANGED: Interface Serial0, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down 手工(shugng)關(guān)閉接口第56頁/共62頁第五十六頁,共63頁。路由器的路由器的 show interfaces 命令命令(mng lng)Router#show interfacesEthernet0 is up, line protocol is up H

56、ardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f) Internet address is 1/24 MTU 1500 bytes, BW 10000 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:00 Last input 00:00:07, output 00:00:08, output hang never Las

溫馨提示

  • 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)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論