第二章廣域網(wǎng)協(xié)議設(shè)置要點_第1頁
第二章廣域網(wǎng)協(xié)議設(shè)置要點_第2頁
第二章廣域網(wǎng)協(xié)議設(shè)置要點_第3頁
第二章廣域網(wǎng)協(xié)議設(shè)置要點_第4頁
第二章廣域網(wǎng)協(xié)議設(shè)置要點_第5頁
已閱讀5頁,還剩46頁未讀 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、HDLCHDLC是 CISCO路由器使用的缺省協(xié)議,一臺新路由器在未指 定封裝協(xié)議時默認使用 HDLC封裝。1. 有關(guān)命令端口設(shè)置任務(wù)命令設(shè)置HDLC封裝en capsulatio n hdlc設(shè)置DCE端線路速度clockrate speed復(fù)位一個硬件接口clear in terfaceserialunit顯示接口狀態(tài)show in terfaces serialunit 1注:1.以下給出一個顯示 Cisco同步串口狀態(tài)的例子Router#show in terface serial 0Serial 0 is up, li ne protocol is upHardware is MCI

2、 SerialInternet address is 150.136.190.203, subnet mask is 255.255.255.0MTU1500 bytes, BW1544 Kbit, DLY20000 usec, rely 255/255, load 1/255Encapsulation HDLC, loopback not set, keepalive set (10 sec)Last input 0:00:07, output 0:00:00, output hang neverOutput queue 0/40, 0 drops; input queue 0/75, 0

3、dropsFive minute input rate 0 bits/sec, 0 packets/secFive minute output rate 0 bits/sec, 0 packets/sec16263 packets input, 1347238 bytes, 0 no bufferReceived 13983 broadcasts, 0 runts, 0 giants2 input errors, 0 CRC,0 frame, 0 overrun, 0 ignored, 2 abort22146 packets output, 2383680 bytes, 0 underrun

4、s0 output errors, 0 collisions, 2 interface resets, 0 restarts1 carrier tran siti ons2.132 JOO. 10 1SO(DCE)192,200,10.2(DTE)帥舉例設(shè)置如下:Routerl:in terface SerialOip address 192.200.10.1 255.255.255.0clockrate 1000000Router2:in terface Serial0ip address 192.200.10.2 255.255.255.03.舉例使用E1線路實現(xiàn)多個64K專線連接.相關(guān)命

5、令:任務(wù)命令進入controller酉己con troller t1 | e1置模式number選擇幀類型framing crc4 | no-crc4選擇line-code 類lin ecode ami | b8zs |型hdb3建立邏輯通道組與cha nn el-groupnumber時隙的映射1timeslots range顯示 controllersshow con trollers e1接口狀態(tài)slot/port 2注:1.當鏈路為 T1 時,channel-group編號為 0-23, Timeslot范圍1-24;當鏈路為E1時,channel-group編號為0-30,Times

6、lot 范圍 1-31.2.使用 show controllers e1 觀察 controller 狀態(tài),以下為 幀類型為crc4時controllers正常的狀態(tài).Router# show controllers e1e1 0/0 is up.Applique type is Channelized E1 - unbalancedFraming is CRC4, Line Code is HDB3 No alarms detected.Data in current interval (725 seconds elapsed):0 Line Code Violations, 0 Path

7、Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs,0 Unavail SecsTotal Data (last 24 hours) 0 Line Code Violations,0 Path Code Violations,0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,0 Errored Secs, 0 Bu

8、rsty Err Secs, 0 Severely Err Secs, 0 Unavail Secs以下例子為E1連接3條64K專線,幀類型為N0-CRC4非平衡鏈路 , 路由器具體設(shè)置如下 :shanxi#wri tBuilding configuration.Current configuration:version 11.2no service udp-small-serversno service tcp-small-servershostname shanxienable secret 5 $1$XN08$Ttr8nfLoP9.2RgZhcBzkk/enable password s

9、hanxiip sub net-zerocon troller E1 0frami ng NO-CRC4cha nn el-group 0 timeslots 1cha nn el-group 1 timeslots 2cha nn el-group 2 timeslots 3!in terface Ethernet0ip address 133.118.40.1 255.255.0.0media-type 10BaseT!in terface Ethernet1no ip addressshutdow nin teface Serial0:0ip address 202.119.96.1 2

10、55.255.255.252no ip mroute-cache!in teface Serial0:1ip address 202.119.96.5 255.255.255.252no ip mroute-cache!in teface Serial0:2ip address 202.119.96.9 255.255.255.252no ip mroute-cacheno ip classlessip route 133.210.40.0 255.255.255.0 Serial0:0ip route 133.210.41.0 255.255.255.0 Serial0:1ip route

11、133.210.42.0 255.255.255.0 Serial0:2!line con 0line aux 0line vty 0 4password shanxi login!end、PPPPPP(Point-to-Point Protocol)是 SLIP(Serial Line IPprotocol) 的繼承者,它提供了跨過同步和異步電路實現(xiàn)路由器到路由器(router-to-router)和主機到網(wǎng)絡(luò)(host-to-network)的連接。CHAP(Challe nge Ha ndshake Authe ntication Protocol) 和 PAP(Password Aut

12、hentication Protocol) (PAP) 通常被 用于在PPP封裝的串行線路上提供安全性認證。使用CHAP和PAP認證,每個路由器通過名字來識別,可以防止未經(jīng)授 權(quán)的訪問。CHAF和PAP在 RFC 1334上有詳細的說明1. 有關(guān)命令端口設(shè)置任務(wù)命令設(shè)置PPP封裝en capsulatio n ppp 1設(shè)置認證方法ppp authe nticati on chap | chap pap | pap chap | pap if-n eededlist- name | defaultcal lin指定口令user name name password secret設(shè)置 DCE端線

13、路速clockrate speed度注:1、要使用CHAP/PAf必須使用PPP封裝。在與非Cisco路由 器連接時,一般采用PPP封裝,其它廠家路由器一般不支持 Cisco 的HDLC封裝協(xié)議。2. 舉例路由器Router1和Router2的SO 口均封裝PPP協(xié)議,采用CHAP做認證,在Router1中應(yīng)建立一個用戶,以對端路由器主 機名作為用戶名,即用戶名應(yīng)為 router2。同時在Router2中 應(yīng)建立一個用戶,以對端路由器主機名作為用戶名,即用戶名 應(yīng)為router1。所建的這兩用戶的 password必須相同。Routerl1嘆2叩0SO(DCE)1922 叩(L2(DTE)S0

14、Router?設(shè)置如下:Router1:host name router1user name router2 password xxxin terface Serial。ip address 192.200.10.1 255.255.255.0clockrate 1000000ppp authentication chap!Router2:hostname router2username router1 password xxxinterface Serial0ip address 192.200.10.2 255.255.255.0ppp authentication chap三、x.251

15、. X25 技術(shù)X.25規(guī)范對應(yīng)OSI三層,X.25的第三層描述了分組的格式及分組交換的過程。 X.25 的第二層由 LAP(B Link Access Procedure,Bala need )實現(xiàn),它定義了用于 DTE/DCB連接的幀格式。X.25 的第一層定義了電氣和物理端口特性。X.25網(wǎng)絡(luò)設(shè)備分為數(shù)據(jù)終端設(shè)備(DTE、數(shù)據(jù)電路終端設(shè)備(DCE及分組交換設(shè)備(PSE。DTE是 X.25的末端系統(tǒng),如終端、計算機或網(wǎng)絡(luò)主機,一般位于用戶端,Cisco路由器就是DTE設(shè)備。DCE設(shè)備是專用通信設(shè)備,如調(diào)制解調(diào)器和分組交換 機。PSE是公共網(wǎng)絡(luò)的主干交換機。X.25定義了數(shù)據(jù)通訊的電話網(wǎng)絡(luò),

16、每個分配給用戶的x.25端 口都具有一個x.121地址,當用戶申請到的是 SVCX交換虛電路) 時,x.25 一端的用戶在訪問另一端的用戶時,首先將呼叫對方 x.121地址,然后接收到呼叫的一端可以接受或拒絕,如果接受 請求,于是連接建立實現(xiàn)數(shù)據(jù)傳輸,當沒有數(shù)據(jù)傳輸時掛斷連接, 整個呼叫過程就類似我們撥打普通電話一樣,其不同的是x.25可以實現(xiàn)一點對多點的連接。其中x.121地址、htc均必須與x.25 服務(wù)提供商分配的參數(shù)相同。X.25 PVC(永久虛電路),沒有呼叫的過程,類似DDN專線。2.有關(guān)命令:任務(wù)命令設(shè)置X.25封裝en capsulatio n x25 dce設(shè)置X.121地址

17、x25 addressx.121-address設(shè)置遠方站點的地x25 map protocol address址映射protocol2address2protocol9address9 x121-addressopti on設(shè)置最大的雙向虛x25 htc citcuit-number 1電路數(shù)設(shè)置一次連接可同2x25 nvc count時建立的虛電路數(shù)設(shè)置x25在清除空x25 idle minutes閑虛電路前的等待周期重新啟動x25,或清clear x25 serial nu mber一個svc,啟動一個| cmn s-i nterfacepvc相關(guān)參數(shù)mac-address vc-num

18、ber3清x25虛電路clear x25-vc顯示接口及x25相show in terfaces serial關(guān)信息show x25 in terfaceshow x25 map show x25 vc注:1、虛電路號從1到4095, Cisco路由器默認為1024,國內(nèi) 一般分配為16。2、虛電路計數(shù)從1到8,缺省為1。3、在改變了 x.25各層的相關(guān)參數(shù)后,應(yīng)重新啟動x25(使用 clear x25 serial number | cmns-interface mac-addressvc-number或clear x25-vc 命令),否則新設(shè)置的參數(shù)可能不能生效。同時應(yīng)對照服務(wù)提供商對于

19、x.25交換機端口的設(shè)置來配置路由器的相關(guān)參數(shù),若出現(xiàn)參數(shù)不匹配則可能會導(dǎo)致連接失 敗或其它意外情況。3. 實例:3.1. 在以下實例中每二個路由器間均通過svc實現(xiàn)連接。路由器設(shè)置如下:Router1:interface Serial0encapsulation x25ip address 192.200.10.1 255.255.255.0x25 address 110101x25 htc 16x25 nvc 2x25 map ip 192.200.10.2 110102 broadcastx25 map ip 192.200.10.3 110103 broadcast!Router2:i

20、nterface Serial0encapsulation x25 ip address 192.200.10.2 255.255.255.0x25 address 110102x25 htc 16x25 nvc 2x25 map ip 192.200.10.1 110101 broadcastx25 map ip 192.200.10.3 110103 broadcast!Router:interface Serial0encapsulation x25ip address 192.200.10.3 255.255.255.0x25 address 110103 x25 htc 16x25

21、nvc 2 x25 map ip 192.200.10.1 110101 broadcastx25 map ip 192.200.10.2 110102 broadcast!相關(guān)調(diào)試命令 :clear x25-vcshow interfaces serialshow x25 mapshow x25 routeshow x25 vc3.2. 在以下實例中路由器 router1 和 router2 均通過 svc 與 router 連接,但 router1 和 router2 不通過 svc 直接連接,此 三個路由器的串口運行 RIP 路由協(xié)議, 使用了子接口的概念。 由 于使用子接口, rout

22、er1 和 router2 均學(xué)習(xí)到了訪問對方局域網(wǎng) 的路徑,若不使用子接口, router1 和 router2 將學(xué)不到到對方 局域網(wǎng)的路由。子接口( Subinteface )是一個物理接口上的多個虛接口,可以用于在同一個物理接口上連接多個網(wǎng)。我們知道為了避免路由循環(huán),路由器支持split horizon法則,它只允許路由更新被 分配到路由器的其它接口,而不會再分配路由更新回到此路由被 接收的接口。無論如何,在廣域網(wǎng)環(huán)境使用基于連接的接口(象X.25和Frame Relay),同一接口通過虛電路(vc)連接多臺遠端路由器 時,從同一接口來的路由更新信息不可以再被發(fā)回到相同的接 口,除非強

23、制使用分開的物理接口連接不同的路由器。Cisco提供子接口( subinterface )作為分開的接口對待。你可以將路由 器邏輯地連接到相同物理接口的不同子接口,這樣來自不同子接口的路由更新就可以被分配到其他子接口,同時又滿足splithorizon 法貝V。和 mtnm豔監(jiān)si:m3SOL 1:192.200,1013/34S0L2:m200.11314Router1:interface Serial0encapsulation x25ip address 192.200.10.1 255.255.255.0x25 address 110101x25 htc 16x25 nvc 2x25

24、map ip 192.200.10.3 110103 broadcast !router ripnetwork 192.200.10.0 !Router2:interface Serial0encapsulation x25ip address 192.200.11.2 255.255.255.0x25 address 110102x25 htc 16x25 nvc 2x25 map ip 192.200.11.3 110103 broadcast !router ripnetwork 192.200.11.0 !Router:interface Serial0encapsulation x2

25、5x25 address 110103x25 htc 16x25 nvc 2!interface Serial0.1 point-to-pointip address 192.200.10.3 255.255.255.0x25 map ip 192.200.10.1 110101 broadcast !interface Serial0.2 point-to-pointip address 192.200.11.3 255.255.255.0x25 map ip 192.200.11.2 110102 broadcast !router ripnetwork 192.200.10.0netwo

26、rk 192.200.11.0四、Frame Relay1. 幀中繼技術(shù)Datar Link Coauiec tian IdntifieriPLCI)& /IdeiutifiEitPL CIJCSU/CSUJDSUD5ULocalManagonentIntejfecttLMDRatv(CIR)Conunitd InfomkatiukRatHfCIK)幀中繼是一種咼性能的WA【協(xié)議,它運行在OSI參考模型的物理層和數(shù)據(jù)鏈路層。它是一種數(shù)據(jù)包交換技術(shù),是X.25的簡化版本。它省略了 X.25的一些強健功能,如提供窗口技術(shù)和數(shù)據(jù)重發(fā)技術(shù), 而是依靠高層協(xié)議提供糾錯功能,這是因為幀中繼工作在更好的WA

27、f設(shè)備上,這些設(shè)備較之X.25的WAf設(shè)備具有更可靠的連接服務(wù)和更 高的可靠性,它嚴格地對應(yīng)于 OSI參考模型的最低二層,而X.25 還提供第三層的服務(wù),所以,幀中繼比X.25具有更高的性能和更有效的傳輸效率。幀中繼廣域網(wǎng)的設(shè)備分為數(shù)據(jù)終端設(shè)備(DTE和數(shù)據(jù)電路終端設(shè)備(DCE,Cisco路由器作為DTE設(shè)備。幀中繼技術(shù)提供面向連接的數(shù)據(jù)鏈路層的通信,在每對設(shè)備之間都存在一條定義好的通信鏈路, 且該鏈路有一個鏈路識別碼。 這 種服務(wù)通過幀中繼虛電路實現(xiàn), 每個幀中繼虛電路都以數(shù)據(jù)鏈路 識別碼(DLCI)標識自己。DLCI的值一般由幀中繼服務(wù)提供商 指定。幀中繼即支持 PVC也支持SVC幀中繼本

28、地管理接口( LMI)是對基本的幀中繼標準的擴展。它 是路由器和幀中繼交換機之間信令標準,提供幀中繼管理機制。它提供了許多管理復(fù)雜互聯(lián)網(wǎng)絡(luò)的特性,其中包括全局尋址、虛電路狀態(tài)消息和多目發(fā)送等功能。2. 有關(guān)命令:端口設(shè)置任務(wù)命令設(shè)置 Frame Relay 封en capsulati on裝1frame-relayietf設(shè)置 Frame Relayframe-relay lmi-typeLMI類型2ansi | cisco | q933a設(shè)置子接口in terfacein terface-typein terface-nu mber.sub int erface-nu mbermultipo

29、 in t|po in t-to-point映射協(xié)議地址與DLCIframe-relay map protocol protocol-address dlci3broadcast設(shè)置FR DLCI編號frame-relayin terface-dlcidlcibroadcast注:1.若使Cisco路由器與其它廠家路由設(shè)備相連,則使用In ternet工程任務(wù)組(IETF)規(guī)定的幀中繼封裝格式。2.從Cisco IOS版本11.2開始,軟件支持本地管理接口 ( LMI) 自動感覺”,自動感覺”使接口能確定交換機支持的 LMI類型, 用戶可以不明確配置LMI接口類型。3.幀中繼 point to

30、 point配置實例:broadcast選項允許在幀中繼網(wǎng)絡(luò)上傳輸路由廣播信息Fiaif Nrfavwk*1T11&L01 Routa4DLCI201DLCI105. 104. 102RGUtvlRouter1:interface serial 0encapsulation frame-relay!interface serial 0.1 point-to-pointip address 172.16.1.1 255.255.255.0frame-reply interface-dlci 105!interface serial 0.2 point-to-pointip address 172

31、.16.2.1 255.255.255.0frame-reply interface-dlci 102!interface serial 0.3 point-to-pointip address 172.16.4.1 255.255.255.0frame-reply interface-dlci 104Router2:interface serial 0encapsulation frame-relay!interface serial 0.1 point-to-pointip address 172.16.2.2 255.255.255.0frame-reply interface-dlci

32、 201!interface serial 0.2 point-to-pointip address 172.16.3.1 255.255.255.0frame-reply interface-dlci 203!相關(guān)調(diào)試命令 :show frame-relay lmishow frame-relay mapshow frame-relay pvcshow frame-relay routeshow in terfaces serialgo top3. 幀中繼Multipoint配置實例:Koula?4DLCLUHDLCI201. 30】、01Rouia,2DLCklOZ17X14LU24DLd

33、:104Router1:in terface serial 0 en capsulati on frame-reply in terface serial 0.1 multipoi nt ip address 172.16.1.2 255.255.255.0 frame-reply map ip 172.16.1.1 201 broadcast frame-reply map ip 172.16.1.3 301 broadcast frame-reply map ip 172.16.1.4 401 broadcast !Router2:interface serial 0encapsulati

34、on frame-reply!interface serial 0.1 multipointip address 172.16.1.1 255.255.255.0frame-reply map ip 172.16.1.2 102 broadcastframe-reply map ip 172.16.1.3 102 broadcastframe-reply map ip 172.16.1.4 102 broadcast五、ISDN1.綜合數(shù)字業(yè)務(wù)網(wǎng)(ISDN)綜合數(shù)字業(yè)務(wù)網(wǎng)(ISDN)由數(shù)字電話和數(shù)據(jù)傳輸服務(wù)兩部分 組成,一般由電話局提供這種服務(wù)。ISDN的基本速率接口 ( BRI) 服務(wù)提供2

35、個B信道和1個D信道(2B+D)。BRI的B信道速率 為64Kbps,用于傳輸用戶數(shù)據(jù)。D信道的速率為16Kbps,主要傳 輸控制信號。在北美和日本,ISDN的主速率接口( PRI)提供23 個B信道和1個D信道,總速率可達1.544Mbps,其中D信道速 率為64Kbps。而在歐洲、澳大利亞等國家,ISDN的PRI提供30 個B信道和1個64Kbps D信道,總速率可達 2.048Mbps。我國 電話局所提供ISDN PRI為30B+D2.基本命令任務(wù)命令設(shè)置ISDN交換類型isd n switch-type switch-type 1接口設(shè)置in terface bri 0設(shè)置PPP封裝e

36、n capsulati on ppp設(shè)置協(xié)議地址與電話號碼的映射dialer map protocolnext-hop-address namehostname broadcastdial-string 啟動ppp多連接ppp multili nk設(shè)置啟動另一個Bdialer load-threshold通道的閾值load顯示ISDN有關(guān)信息show isd n active | history | memory | services | status dsl | in terface-type nu mber | timers注:1.交換機類型如下表,國內(nèi)交換機一般為basic-net3按區(qū)

37、域分關(guān)鍵字交換機類型Australiabasic-ts01Australia n TS013 switches3Europebasic-1tr6 Germa n 1TR6 ISDN switchesbasic-nwneNorway NET3 switchest3(phase 1)basic-net3 NET3 ISDN switches (UK,Denm ark, and othern ati on s); covers theEuro-ISDN E-DSS1 sig nalli ng systemprimary-neNET5 switches (UK andt5Europe)vn2Frenc

38、h VN2 ISDN switchesvn3French VN3 ISDN switchesJapannttJapa nese NTT ISDNswitchesprimary-ntJapa nese ISDN PRItswitchesNorthAmericabasic-5ess AT&T basic rate switchesbasic-dms1NT DMS-100 basic rate00switchesbasic-ni1Natio nal ISDN-1 switchesprimary-4eAT&T 4ESS switch type forssthe U.S. (ISDN PRI o nly

39、)primary-5eAT&T 5ESS switch type forprimary-dms100NT DMS-100switch type forthe U.S. (ISDN PRI o nly)NewZeala ndbasic-nznet3New Zeala nd Net3 switches3. ISDN 實現(xiàn) DDR( dial-on-demand routing)實例:BOO;BRIO:設(shè)置如下:Routerl: host name router1user router2 password cisco isdn switch-type basic- net3interface bri

40、 0 ip address 192.200.10.1 255.255.255.0 encapsulation pppdialer map ip 192.200.10.2 name router2 572dialer load-threshold 80ppp multilink dialer-group 1 ppp authentication chap !dialer-list 1 protocol ip permit!Router2: hostname router2user router1 password cisco isdn switch-type basic-net3!interfa

41、ce bri 0ip address 192.200.10.2 255.255.255.0 encapsulation pppdialer map ip 192.200.10.1 name router1 571dialer load-threshold 80ppp multilink dialer-group 1 ppp authentication chap !dialer-list 1 protocol ip permitCisco路由器同時支持回撥功能,我們將路由器 Routerl作為Callback Server,Router2與回撥相關(guān)命令:作為 Callback Client 。

42、任務(wù)命令映射協(xié)議地址和電dialer map protocol話號碼,并在接口上address n ame hostname使用在全局模式下class classname定義的PPP回撥的dial-string映射類別。設(shè)置接口支持PPPppp callback accept回撥在全局模式下為PPP map-class dialer回撥設(shè)置映射類別classname通過查找注冊在dialer callback-serverdialer map 里的主usernamq機名來決定回撥.設(shè)置接口要求PPPppp callback request回撥設(shè)置如下:Routerl:host name rou

43、terl user router2 password cisco!isdn switch-type basic- net3!in terface bri 0class s3 572ip address 192.200.10.1 255.255.255.0 en capsulatio n pppdialer map ip 192.200.10.2 name router2dialer load-threshold 80ppp callback acceptppp multili nkdialer-group 1ppp authe nticati on chapmap-class dialer s

44、3 dialer callback-server user namedialer-list 1 protocol ip permit!Router2:host name router2user router1 password cisco!isdn switch-type basic- net3!in terface bri 0ip address 192.200.10.2 255.255.255.0en capsulatio n ppp dialer map ip 192.200.10.1 n ame router1 571 dialer load-threshold 80 ppp call

45、back requestppp multili nkdialer-group 1ppp authe nticati on chap!dialer-list 1 protocol ip permit!相關(guān)調(diào)試命令:debug dialerdebug isd n eve ntdebug isd n q921debug isdn q931debug ppp authe nticati on debug ppp errordebug ppp negotiation debug ppp packetshow dialershow isdn status舉例 : 執(zhí)行 debug dialer 命令觀察

46、router2 呼叫 router1,router1 回撥 router2 的過程 .router1#debug dialerrouter2#ping 192.200.10.1router1#00:03:50: %LINK-3-UPDOWNI:nterface BRI0:1, changed state to up00:03:50: BRI0:1:PPP callback Callback server starting to router2 57200:03:50: BRI0:1: disconnecting call00:03:50: %LINK-3-UPDOWNI:nterface BR

47、I0:1, changed state to down00:03:50: BRI0:1: disconnecting call 00:03:50: BRI0:1: disconnecting call00:03:51: %LINK-3-UPDOWNI:nterface BRI0:2, changed state to up00:03:52: callback to router2 already started00:03:52: BRI0:2: disconnecting call00:03:52: %LINK-3-UPDOWNI:nterface BRI0:2, changed state

48、to down00:03:52: BRI0:2: disconnecting call00:03:52: BRI0:2: disconnecting call00:04:05: : Callback timer expired00:04:05: BRI0:beginning callback to router2 57200:04:05: BRI0: Attempting to dial 57200:04:05: Freeing callback to router2 57200:04:05: %LINK-3-UPDOWNI:nterface BRI0:1, changed state to

49、up00:04:05: BRI0:1: No callback negotiated 00:04:05: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up00:04:05: dialer Protocol up for Vi100:04:06: %LINEPROTO-5-UPDOWLNin:e protocol on Interface BRI0:1, changed stateto up00:04:06: %LINEPROTO-5-UPDOWLNin:e protocol on Interface Virtual-A

50、ccess1, changed state to up00:04:11: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 572#router14.ISDN訪問首都在線263網(wǎng)實例:263本地局部網(wǎng)地 址為10.0.0.0/24,屬于保留地址,通過 NAT地址翻譯功能,局 域網(wǎng)用戶可以通過ISDN上263網(wǎng)訪問In ternet 。263的ISDN電 話號碼為2633,用戶為263,口令為263,所涉及的命令如下表:任務(wù)命令指定接口通過PPP/IPCP地址協(xié)商獲得IP地址ip address n egotiated指定內(nèi)部和外部端口i

51、p nat inside| outside使用ppp/pap作認ppp authe nticati on pap證callin指定接口屬于撥號組1dialer-group 1定義撥號組1允許dialer-list1 protocol ip所有IP協(xié)議permit設(shè)定撥號,號碼為2633dialer stri ng 2633設(shè)定登錄263的用ppp pap sent-username 263戶名和口令password 263設(shè)定默認路由ip route 0.0.0.0 0.0.0.0bri 0設(shè)定符合訪問列表2ip nat in side source list的所有源地址被翻2 in terface bri 0譯為bri 0所擁有的overload地址設(shè)定訪問列表2,允access-list 2 permit any許所有協(xié)議具體配置如下:host name Cisco2503 isdn switch-type basic- net3 ip sub net-zero no ip doma in-lookupip rout ing in terface Ether net 0ip add

溫馨提示

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

評論

0/150

提交評論