cisco路由器學(xué)習(xí)資料2_第1頁(yè)
cisco路由器學(xué)習(xí)資料2_第2頁(yè)
cisco路由器學(xué)習(xí)資料2_第3頁(yè)
cisco路由器學(xué)習(xí)資料2_第4頁(yè)
cisco路由器學(xué)習(xí)資料2_第5頁(yè)
已閱讀5頁(yè),還剩73頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、UT A培通用課程之一CISCO 網(wǎng)絡(luò)技術(shù)課程內(nèi)容配接CISCO設(shè)備的線纜及接法CISCO IOS及路由器的基本配置CISCO 配置文件CISCO CDP協(xié)議簡(jiǎn)介物理層數(shù)據(jù)鏈路層(MAC子層)物理層實(shí)現(xiàn)多種多樣有些物理層實(shí)現(xiàn)方式支持多種物理介質(zhì)Ethernet100baseTX10BaseT802.310Base510Base2100baseFX802.3 說(shuō)明了10mb以太網(wǎng)規(guī)范802.3u 說(shuō)明了100mb (快速) 以太網(wǎng)規(guī)范100baseT410BaseFDIX 標(biāo)準(zhǔn)LAN的物理層實(shí)現(xiàn)10Base5100BaseTX10BaseT100BaseFX使用介質(zhì)最大段長(zhǎng)拓?fù)漕?lèi)型連接器50-歐

2、姆 同軸電纜 (粗)500 米總線100米星形星形點(diǎn)到點(diǎn)EIA/TIA 3, 4, 5 類(lèi)雙絞線2 對(duì)EIA/TIA 5 類(lèi)雙絞線2 對(duì)62.5/125 微米多模光纖AUIISO 8877 (RJ-45)雙工型介質(zhì)接口連接器(MIC) STISO 8877 (RJ-45)400米100米以太網(wǎng)介質(zhì)比較UTP設(shè)備RJ-45 連接器188線對(duì)4 R41234567線對(duì)T 代表發(fā)送R 代表接收線對(duì)2 T2線對(duì)2 R2線對(duì)3 T3線對(duì)1 R1線對(duì)1 T1線對(duì)3 R3線對(duì)4 T4針 UTP實(shí)現(xiàn)直連線兩端的線序相同針 線1RD+2RD-3TD+4NC5NC6TD-7NC8NC直連10BaseT/100Ba

3、seT針 線1TD+2TD-3RD+4NC5NC6RD-7NC8NC服務(wù)器/路由器8 1棕白藍(lán)白棕藍(lán)綠綠白橙橙白18直連線81集線器/交換機(jī)8 1棕白藍(lán)白棕藍(lán)綠綠白橙橙白UTP實(shí)現(xiàn)交叉線部分線序交叉8 1交叉連接10BaseT/100BaseT針 線1RD+2RD-3TD+4NC5NC6TD-7NC8NC針 線1RD+2RD-3TD+4NC5NC6TD-7NC8NC交叉線181881集線器/交換機(jī)集線器/交換機(jī)棕白棕藍(lán)綠綠白橙白藍(lán)白橙棕白橙白藍(lán)白棕綠橙綠白藍(lán)UTP直連線與交叉線對(duì)比兩個(gè)端口均標(biāo)有或均沒(méi)標(biāo)有“X”時(shí)用交叉線. 有且僅有一個(gè)端口標(biāo)記有“ X”時(shí)使用直連線.1x 2x 3x 4x 1

4、x 2x 3x 4x 1x 2x 3x 4x 連接典型網(wǎng)決定使用10mb或100mb的物理介質(zhì)指明需要使用什么線類(lèi)確認(rèn)面板上的端口,查看是否標(biāo)記“ X”指明需要使用交叉線或直連線100 Mbps5類(lèi)交叉線10 Mbps3, 4, 5類(lèi)交叉線100 Mbps 5類(lèi)直連線10 Mbps3, 4, 5類(lèi)直連線10 Mbps3, 4, 5類(lèi)直連線連接到路由器通過(guò)CSU/DSU接入網(wǎng)絡(luò)EIA/TIA-232EIA/TIA-449EIA-530V.35X.21CSU/DSU端接用戶(hù)設(shè)備DTEDCE服務(wù)商區(qū)分不同的WAN串行連接器Data Terminal Equipment數(shù)據(jù)終端設(shè)備 WAN連接中用戶(hù)方

5、的最后設(shè)備Data Communications Equipmen數(shù)據(jù)通訊設(shè)備WAN服務(wù)商方的最后通訊設(shè)備 DCE提供時(shí)鐘DCEDTE調(diào)制解調(diào)器通道服務(wù)單元/數(shù)據(jù)服務(wù)單元SSSSSSDTEDTEDCEDCE串行連接中的DTE和 DCE比較DTE/DCE責(zé)任分界點(diǎn)控制口1603 路由器背板一覽 AUI以太網(wǎng)口10BaseT以太網(wǎng)口ISDN BRI S/TWAN串口可以采用模塊化方式3640 路由器背板一覽模塊化端口模塊WAN 接口卡課程內(nèi)容配接CISCO設(shè)備的線纜及接法CISCO IOS 及路由器的配置CISCO 配置文件CISCO CDP 協(xié)議簡(jiǎn)介PCs需要一個(gè)將RJ-45轉(zhuǎn)換到DB-9或DB

6、-25的轉(zhuǎn)換器通訊口設(shè)置為9600波特率, 8個(gè)數(shù)據(jù)位, 不設(shè)奇偶校驗(yàn)位, 1個(gè)停止位, 不設(shè)流量控制這是通過(guò)控制口的一種管外管理方式AUX端口用于調(diào)制解調(diào)器的遠(yuǎn)程連接訪問(wèn)控制臺(tái)連接帶控制口的設(shè)備創(chuàng)建超級(jí)終端(II)選擇串口(III)端口設(shè)置(IV)可以通過(guò)多種途徑來(lái)配置配置直接在設(shè)備的內(nèi)存中生效控制端口Aux 端口端口PC or Unix服務(wù)器Web 或網(wǎng)絡(luò)管理服務(wù)器 虛擬終端多種途徑的配置TelnetTFTPCisco IOS 軟件提供多種網(wǎng)絡(luò)服務(wù)進(jìn)而支持各種網(wǎng)絡(luò)應(yīng)用.Cisco 互連網(wǎng)操作系統(tǒng)(IOS)軟件提供命令行界面在不同的網(wǎng)絡(luò)設(shè)備上運(yùn)行時(shí)有差別 在命令模式下可以鍵入或粘貼命令 鍵入

7、命令后回車(chē),設(shè)備即解析和執(zhí)行所鍵入的命令兩個(gè)主要命令模式是用戶(hù)模式和特權(quán)模式不同的命令模式有不同的提示符CiscoIOSCisco IOS用戶(hù)界面的基本特性用戶(hù)模式對(duì)交換機(jī)和路由器的有限操作命令提示符為 主機(jī)名主要有兩個(gè)命令模式提供命令鍵入.模式一:Cisco IOS的主要命令模式特權(quán)(或enabled)模式對(duì)交換機(jī)和路由器更深入的操作有配置和監(jiān)視權(quán)力是進(jìn)入其它配置模式的前提命令提示符為 主機(jī)名#模式二 (也是最常用的模式):Cisco IOS的主要命令模式(續(xù))Consolewg_ro_cwg_ro_cenablewg_ro_c#wg_ro_c#disablewg_ro_cwg_ro_clo

8、goutwg_ro_c con0 is now availablePress RETURN to get started.用戶(hù)模式提示特權(quán)模式提示登入路由器路由器在用戶(hù)模式下的命令清單wg_ro_c?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 file

9、s on given device disable Turn off privileged commands disconnect 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 lo

10、gout Exit from the EXEC- More -wg_ro_c#?Exec commands: access-enable Create a temporary Access-List entry access-profile Apply user-pro interface access-template Create a temporary Access-List entry bfe For manual emergency modes setting cd Change current directory clear Reset functions clock Manage

11、 the system clock configure Enter configuration mode connect Open a terminal connection copy Copy from one another debug Debugging functions (see also undebug) delete Delete a file dir List files on a disable Turn off privileged commands disconnect Disconnect an existing network connection enable Tu

12、rn on privileged commands erase Erase a exit Exit from the EXEC help Description of the interactive help system- More -路由器在特權(quán)模式下的命令清單只要輸入部分命令串(唯一表示某個(gè)命令),緊接著按tab鍵就可以完整地輸入一個(gè)命令路由器命令行幫助機(jī)制上下文關(guān)聯(lián)幫助錯(cuò)誤信息提示指出所輸入交換機(jī)命令的錯(cuò)誤所在,以便于修改或糾正.可以重新調(diào)出一個(gè)較長(zhǎng)或較復(fù)雜的命令或其它內(nèi)容,用來(lái)再次運(yùn)行、查看或修改. 之前命令保存區(qū)提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù). 路由器的上下文相關(guān)聯(lián)幫助Rou

13、ter# 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 dateRouter# clock set% Incomplete command.Router# clock set ?hh:mm:ss Current Time 符號(hào)解析命令提示調(diào)出最近用過(guò)的內(nèi)容路由器的上下文相關(guān)聯(lián)幫助(

14、續(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 TimeRouter# clock set 19:56:00% Incomplete command.Router# clock

15、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命令提示語(yǔ)法檢查命令提示RouterShape the future of internetworking by creating unpreced使用

16、增強(qiáng)的編輯命令“Shape the future of internetworking by creating unprecedented value for customers, employees, and partners.”上述文字段在輸入時(shí)會(huì)超出一行Router$ future of internetworking by creating unprecedented op使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).RouterShape the value of internetworking by creating unpreced使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光

17、標(biāo)移動(dòng)到命令行的開(kāi)始位置.Router$ value for customers, employees, and partners.使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.回移一個(gè)單詞Router$ value for customers, employees, and partners.使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.回移一個(gè)單詞.下移一個(gè)字符.Router$

18、value for customers, employees, and partners.使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.回移一個(gè)單詞下移一個(gè)字符.回移一個(gè)字符.Router$ value for customers, employees, and partners.使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.回移一個(gè)單詞下移一個(gè)字符.回移一個(gè)字符.下移一個(gè)單詞Router$ value for customers, employees, and partners.(

19、一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).光標(biāo)移動(dòng)到命令行的開(kāi)始位置.光標(biāo)移動(dòng)到命令行的結(jié)束位置.回移一個(gè)單詞下移一個(gè)字符.回移一個(gè)字符.下移一個(gè)單詞使用增強(qiáng)的編輯命令刪除當(dāng)前字符Router$ value for customers, employees, and partners.Ctrl-P or Up arrow調(diào)出最近(前一)使用過(guò)的命令Ctrl-N or Down arrow調(diào)出更近使用過(guò)的命令Router show history顯示命令保存區(qū)內(nèi)容Router terminal history size lines 設(shè)置命令保存區(qū)大小回覽之前用過(guò)的命令show version 命令wg_ro_a

20、#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-Feb-99 18:18 by phanguyeImage text-base: 0 x03050C84, data-base: 0 x00001000ROM: System Bootstrap, Versi

21、on 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 flash:c2500-js-l_120-3.bin(output omitted)-More-Configuration register is 0 x2102查看配置情況控制臺(tái)IOSSetup utilityshowstartup-conf

22、igshowrunning-config將配置參數(shù)保存到NVRAM中ConfigConfigRAMNVRAMshow 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中顯示當(dāng)前運(yùn)行的和保存的配置情況路由器模式一覽Router

23、(config)#RouterenableRouter#config termExitCtrl-Z (end)用戶(hù)模式特權(quán)模式全局配置模式配置模式模式提示InterfaceRouter(config-if)#Subinterface Router(config-subif)#Controller Router(config-controller)#LineRouter(config-line)#RouterRouter(config-router)#IPX router Router(config-ipx-router)#保存配置wg_ro_c#wg_ro_c#copy running-con

24、fig startup-configDestination startup-config?Building configurationwg_ro_c#將當(dāng)前運(yùn)行的配置復(fù)制到NVRAM中配置路由器的各種標(biāo)識(shí)為路由器或其端口設(shè)置標(biāo)識(shí)或信息路由器名Router(config)#hostname agan agan(config)#開(kāi)機(jī)時(shí)的固定顯示信息Agan(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #配置路由器的各種標(biāo)識(shí)為路由器或其端口

25、設(shè)置標(biāo)識(shí)或信息路由器名Router(config)#hostname aganagan(config)#開(kāi)機(jī)時(shí)的固定顯示信息agan(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #端口描述agan(config)#interface ethernet 0agan(config-if)#description Engineering LAN, Bldg. 18Router(config)#line console 0Router(con

26、fig-line)#loginRouter(config-line)#password cisco控制臺(tái)密碼虛擬終端密碼Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password richagan路由器密碼配置Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password cisco控制臺(tái)密碼虛擬終端密碼Router(config)#line vty 0 4Router(config-lin

27、e)#login Router(config-line)#password richagan特權(quán)模式明文密碼Router(config)#enable password cisco特權(quán)模式加密密碼Router(config)#enable secret sanfran路由器密碼配置Router(config)#interface type numberRouter(config-if)#端口配置type 包括 serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel

28、number 用來(lái)識(shí)別具體的單個(gè)端口Router(config-if)#exit從當(dāng)前端口配置模式退出Router(config)#interface type slot/portRouter(config-if)#模塊化端口的表示法配置串口進(jìn)入全局配置模式Router(config)#interface serial 0 Router(config-if)#Router#configure termRouter(config)#指定某個(gè)端口配置串口進(jìn)入全局配置模式Router(config-if)#clock rate 64000Router(config-if)#Router(config

29、)#interface serial 0 Router(config-if)#Router#configure termRouter(config)#Router(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#exitRouter#指定某個(gè)端口設(shè)置時(shí)鐘頻率 (只在DCE端)調(diào)協(xié)波特率 (建議)Router#show interface serial 0Serial0 is up, line protocol is up Hardware is HD64570 Internet address is /24 MTU 150

30、0 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 clearing of show interface counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strat

31、egy: 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 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec(output omitted) 確認(rèn)參數(shù)修改情況

32、開(kāi)啟或關(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 開(kāi)啟已經(jīng)關(guān)閉的端口Router#configure termRouter(config)#interface serial 0 Router(config-i

33、f)#shutdown%LINK-5-CHANGED: Interface Serial0, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down 人工關(guān)閉端口路由器的 show interfaces 命令Router#show interfacesEthernet0 is up, line protocol is up Hardware is Lance, address is 00e0.1e5d.ae2f (b

34、ia 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 Last clearing of show interface

35、 counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 81833 packets input, 27556491 bytes, 0 no buffer Received 42308 broadcasts, 0 runts, 0 giants, 0 throttles 1 inpu

36、t errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort 0 input packets with dribble condition detected 55794 packets output, 3929696 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 4 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0

37、output buffers s outRouter#show interfaces serial 1Serial1 is up, line protocol is up Hardware is HD64570 Description: 64Kb Line to San Jose : : : : : : : : :Operational.Connection problem.Interface problem.Disabled .Serial1 is up, line protocol is upSerial1 is up, line protocol is downSerial1 is do

38、wn, line protocol is downSerial1 is administratively down, line protocol is down存活信息載波監(jiān)測(cè)解讀端口狀態(tài)串口上用 show controller 命令Router#show controller serial 0HD unit 0, idb = 0 x121C04, driver structure at 0 x127078buffer size 1524 HD unit 0, V.35 DTE cable.顯示串口線的線纜類(lèi)型課程內(nèi)容配接CISCO設(shè)備的線纜及接法CISCO IOS 及路由器的配置CISCO

39、配置文件CISCO CDP 協(xié)議簡(jiǎn)介加載配置文件控制臺(tái)IOSSetup utilityshowstartup-configshowrunning-config從NVRAM中加載并運(yùn)行配置文件如果NVRAM中沒(méi)有配置文件, 進(jìn)入setup模式ConfigConfigRAMNVRAM使用 show 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

40、.Current configuration:!version 12.0!- More -存在NVRAM中存在RAM中顯示當(dāng)前運(yùn)行的和保存的配置情況配置參數(shù)的來(lái)源ConfigConfigRAMNVRAMNVRAMcopy running startupcopy startup running (合并)配置參數(shù)的來(lái)源ConfigConfigRAMNVRAMNVRAMTerminalcopy running startupcopy startup running (合并)config term(合并)ConfigConfigConsoleRAMNVRAMNVRAMTerminalTFTP 服務(wù)器c

41、opy running startupcopy startup running (合并)TFTP服務(wù)器copy start tftpcopy tcopy run tftpcopy t (合并)config term(合并)配置參數(shù)的來(lái)源配置參數(shù)的來(lái)源ConfigConfigConsoleRAMNVRAMNVRAMTerminalT刪除啟動(dòng)配置文件copy running startupcopy startup running (合并)TFTP服務(wù)器Blank000000000000erasestartconfig term(合并)copy t (合并)copy tcopy start tftp

42、copy run tftp使用copy run tftp 和 copy t 命令wg_ro_a#copy running-config tftp Address or name of remote host ? Destination running-config? wgroa.cfg .!1684 bytes copied in 13.300 secs (129 bytes/sec) wg_ro_a#copy t Address or name of remote host ? Source ? wgroa.cfg Destination running-config? Accessing

43、t. Loading wgroa.cfg from (via Ethernet0): !OK - 1684/3072 bytes1684 bytes copied in 17.692 secs (99 bytes/sec)wg_ro_a#show flashSystem flash directory:File Length Name/status 1 10084696 c2500-js-l_120-3.bin 10084760 bytes used, 6692456 available, 16777216 total16384K bytes of processor board System

44、 flash (Read ONLY)確認(rèn)存貯空間并解析文件名確認(rèn)Flash中有足夠空間來(lái)存放IOS映象文件wg_ro_a#copy flash tftpSource ? c2500-js-l_120-3.binAddress or name of remote host ? Destination c2500-js-l_120-3.bin? !10084696 bytes copied in 709.228 secs (14223 bytes/sec)wg_ro_a#作映象文件的備份在升級(jí)IOS前備份當(dāng)前的映象文件網(wǎng)絡(luò)服務(wù)器FLASHcopy flash tftpwg_ro_a#copy tA

45、ddress or name of remote host ? Source ? c2500-js-l_120-3.binDestination c2500-js-l_120-3.bin? Accessing t.Erase flash: before copying? confirmErasing the flash will remove all files! Continue? confirmErasing device. eeeee (output omitted) .erasedErase of flash: completeLoading c2500-js-l_120-3.bin

46、from (via Ethernet0): !(output omitted)OK - 10084696/20168704 bytesVerifying checksum. OK (0 x9AA0)10084696 bytes copied in 309.108 secs (32636 bytes/sec)wg_ro_a#從網(wǎng)絡(luò)升級(jí)IOS加載新的映象文件前對(duì)Flash作適當(dāng)?shù)奈募h除注意關(guān)于映象文件已經(jīng)存在的提示信息網(wǎng)絡(luò)服務(wù)器FLASH課程內(nèi)容配接CISCO設(shè)備的線纜及接法CISCO IOS 及路由器的配置CISCO 配置文件CISCO CDP 協(xié)議簡(jiǎn)介CDP協(xié)議Cisco Discovery

47、 Protocol是一個(gè)提供關(guān)于直接相連的交換機(jī)、路由器和其它Cisco設(shè)備的綜合信息的專(zhuān)有工具 CDP 能夠發(fā)現(xiàn)直接相鄰的設(shè)備而不管這些設(shè)備所運(yùn)行的是什么協(xié)議棧 物理介質(zhì)必須能夠支持Subnetwork Access Protocol (SNAP)上層地址Cisco專(zhuān)有的鏈路層協(xié)議介質(zhì)必須能夠支持 SNAPTCP/IPNovell IPXCDP能 發(fā)現(xiàn)并顯示關(guān)于直接相連的Cisco設(shè)備的信息ATMOthersLANs幀中繼AppleTalkOthersCDP運(yùn)行在使用10.3或更新版Cisco IOS的路由器以及Cisco 交換機(jī)和集線器上能獲取的信息包括:設(shè)備名對(duì)應(yīng)各協(xié)議的地址端口名角色特

48、征平臺(tái) CDPshow cdpCDPCDP用CDP發(fā)現(xiàn)直接相鄰的設(shè)備使用 CDP交換機(jī)B路由器A路由器B交換機(jī)AS0S1RouterA#sh cdp ? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbor entries traffic CDP statistics RouterA(config)#no cdp run RouterA(config)#interface serial0 RouterA(confi

49、g-if)#no cdp enable 交換機(jī)A同時(shí)也顯示其Mac地址使用show cdp neighbor 命令RouterA#sh cdp neighborsCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - RepeaterDevice ID Local Intrfce Holdtme Capability Platform Port IDRouterB Ser 0 148 R 2522 Ser 1SwitchA0050BD855780 Eth

溫馨提示

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

評(píng)論

0/150

提交評(píng)論