【正文】
topoint ip address framereply interfacedlci 203 ! 相關(guān)調(diào)試命令: show framerelay lmi show framerelay map show framerelay pvc show framerelay route show interfaces serial go top 4. 幀中繼 Multipoint 配置實(shí)例:ISDN的基本速率接口(BRI)服務(wù)提供2個(gè)B信道和1個(gè)D信道(2B+D)。D信道的速率為16Kbps,主要傳輸控制信號(hào)。而在歐洲、澳大利亞等國(guó)家,ISDN的PRI提供30個(gè)B信道和1個(gè)64Kbps D信道。2. 基本命令任務(wù) 命令 設(shè)置ISDN交換類型 isdn switchtype switchtype1 接口設(shè)置 interface bri 0 設(shè)置PPP封裝 encapsulation ppp 設(shè)置協(xié)議地址與電話號(hào)碼的映射 dialer map protocol nexthopaddress [name hostname] [broadcast] [dialstring] 啟動(dòng)PPP多連接 ppp multilink 設(shè)置啟動(dòng)另一個(gè)B通道的閾值 dialer loadthreshold load 顯示ISDN有關(guān)信息 show isdn {active | history | memory | services | status [dsl | interfacetype number] | timers} 注:,國(guó)內(nèi)交換機(jī)一般為basicnet3。 basicts013 Australian TS013 switches Europe covers the EuroISDN EDSS1 signalling system primarynet5 NET5 switches (UK and Europe) vn2 French VN2 ISDN switches vn3 French VN3 ISDN switches Japan basic5ess ATamp。T 4ESS switch type for the . (ISDN PRI only) primary5ess ATamp。 basicnznet3 New Zealand Net3 switches 3. ISDN實(shí)現(xiàn)DDR(dialondemand routing)實(shí)例:設(shè)置如下:Router1:hostname router1 user router2 password cisco ! isdn switchtype basicnet3 ! interface bri 0 ip address encapsulation ppp dialer map ip name router2 572 dialer loadthreshold 80 ppp multilink dialergroup 1 ppp authentication chap ! dialerlist 1 protocol ip permit ! 與回?fù)芟嚓P(guān)命令: 任務(wù) 命令 映射協(xié)議地址和電話號(hào)碼,并在接口上使用在全局模式下定義的PPP回?fù)艿挠成漕悇e。 Router2: hostname router2 user router1 password cisco ! isdn switchtype basicnet3 ! interface bri 0 ip address encapsulation ppp dialer map ip name router1 571 dialer loadthreshold 80 ppp callback request ppp multilink dialergroup 1 ppp authentication chap ! dialerlist 1 protocol ip permit ! 相關(guān)調(diào)試命令: debug dialer debug isdn event debug isdn q921 debug isdn q931 debug ppp authentication debug ppp error debug ppp negotiation debug ppp packet show dialer show isdn status 舉例:執(zhí)行debug dialer命令觀察router2呼叫router1,router1回?fù)躵outer2的過程. router1debug dialer router2ping 263的ISDN電話號(hào)碼為2633,用戶為263,口令為263,所涉及的命令如下表:任務(wù) 命令 指定接口通過PPP/IPCP地址協(xié)商獲得IP地址 ip address negotiated 指定內(nèi)部和外部端口 ip nat {inside | outside} 使用ppp/pap作認(rèn)證 ppp authentication pap callin 指定接口屬于撥號(hào)組1 dialergroup 1 定義撥號(hào)組1允許所有IP協(xié)議 dialerlist 1 protocol ip permit 設(shè)定撥號(hào),號(hào)碼為2633 dialer string 2633 設(shè)定登錄263的用戶名和口令 ppp pap sentusername 263 password 263 設(shè)定默認(rèn)路由 ip route bri 0 設(shè)定符合訪問列表2的所有源地址被翻譯為bri 0所擁有的地址 ip nat inside source list 2 interface bri 0 overload 設(shè)定訪問列表2,允許所有協(xié)議 accesslist 2 permit any 具體配置如下:hostname Cisco2503 ! isdn switchtype basicnet3 ! ip subnetzero no ip domainlookup ip routing ! interface Ethernet 0 ip address ip nat inside no shutdown ! interface Serial 0 shutdown no description no ip address ! interface Serial 1 shutdown no description no ip address ! interface bri 0 ip address negotiated ip nat outside encapsulation ppp ppp authentication pap callin ppp multilink dialergroup 1 dialer holdqueue 10 dialer string 2633 dialer idletimeout 120 ppp pap sentusername 263 password 263 no cdp enable no ip splithorizon no shutdown ! ip classless ! ! Static Routes ! ip route bri 0 ! ! Access Control List 2 ! accesslist 2 permit any ! dialerlist 1 protocol ip permit ! ! Dynamic NAT ! ip nat inside source list 2 interface bri 0 overload snmpserver munity public ro ! line console 0 exectimeout 0 0 ! line vty 0 4 ! end 5. Cisco765M通過ISDN撥號(hào)上263由于Cisco765的設(shè)置命令與我們常用的Cisco路由器的命令不同,所以以下列舉了通過Cisco765上263訪問Internet的具體命令行設(shè)置步驟。 set system c765c765 set multidestination onc765 set switch net3c765 set ppp multilink onc765 cd lanc765:LAN set ip routing onc765:LAN set ip address c765:LAN set ip netmask c765:LAN set briding offc765:LANcdc765 set user remotenetNew user remotenet being createdc765:remotenet set ip routing onc765:remotenet set bridging offc765:remotenet set ip framing nonec765:remotenet set ppp clientname 263c765:remotenet set ppp password clientEnter new Password: 263ReType new Password: 263c765:remotenet set ppp authentication out nonec765:remotenet set ip address c765:remotenet set ip netmask c765:remotenet set ppp address negotiation local onc765:remotenet set ip pat onc765:remotenet set ip route destination c765:remotenet set number 2633c765:remotenet set active命令描述如下: 任務(wù) 命令 設(shè)置路由器系統(tǒng)名稱 set system c765 允許路由器呼叫多個(gè)目的地 set multidestination on 設(shè)置ISDN交換機(jī)類型為NET3 set switch net3 允許點(diǎn)到點(diǎn)間多條通道連接實(shí)現(xiàn)負(fù)載均衡 set ppp multilink on 關(guān)掉橋接 set briding off 建立用戶預(yù)制文件用于設(shè)置撥號(hào)連接參數(shù) 可以設(shè)置多個(gè)用戶預(yù)制文件用于相同的物理端口對(duì)應(yīng)于不同的連接。電話網(wǎng)絡(luò)的應(yīng)用一般可分為兩種類型,一種是同等級(jí)別機(jī)構(gòu)之間以按需撥號(hào)(DDR)的方式實(shí)現(xiàn)互連,一種是ISP為撥號(hào)上網(wǎng)為用戶提供的遠(yuǎn)程訪問服務(wù)的功能。 Server基本設(shè)置:選用Cisco2511作為訪問服務(wù)器,。 相關(guān)調(diào)試命令: show interface show line . Access Server通過Tacacs服務(wù)器實(shí)現(xiàn)安全認(rèn)證:使用一臺(tái)WINDOWS NT服務(wù)器作為Tacacs服務(wù)器,,運(yùn)行Cisco2511隨機(jī)帶的Easy ACS .相關(guān)設(shè)置:任務(wù) 命令 激活A(yù)AA訪問控制 aaa newmodel 用戶登錄時(shí)默認(rèn)起用Tacacs+做AAA認(rèn)證 aaa authentication login default tacacs+ 列表名為no_tacacs使用ENABLE口令做認(rèn)證 aaa authentication login no_tacacs enable 在運(yùn)行PPP的串行線上采用Tacacs+做認(rèn)證 aaa authentication ppp default tacacs+ 由TACACS+服務(wù)器授權(quán)運(yùn)行EXEC aaa authorization exec tacacs+ 由TACACS+服務(wù)器授權(quán)與網(wǎng)絡(luò)相關(guān)的服務(wù)請(qǐng)求。 aaa accounting exec startstop tacacs+ 為與網(wǎng)絡(luò)相關(guān)的服務(wù)需求運(yùn)行記帳包括SLIP,PPP,PPP NCPs,+服務(wù)器。這里使用tac作為關(guān)鍵字。Router1撥號(hào)連接到Router2。同時(shí)在Router2中應(yīng)建立一個(gè)用戶,以對(duì)端路由器主機(jī)名作為用戶名,即用戶名應(yīng)為Router1。 相關(guān)命令如下: 任務(wù) 命令 設(shè)置路由器與modem的接口指令 chatscript scriptname EXPECT SEND EXPECT SEND (etc.) 設(shè)置端口在掛斷前的等待時(shí)間 dialer idletimeout seconds 設(shè)置協(xié)議地址與電話號(hào)碼的映射 dialer map protocol nexthopaddress [name hostname] [broadcast] [modemscript modemregexp] [systemscript systemregexp] [dialstring]