April 24,2008

廣域網路協定設置

......

一、HDLC 
HDLC 
CISCO    使      議,       HDLC   
 使            議。 


    
    
 HDLC   encapsulation hdlc  
 DCE       
clockrate speed  




  
 
Router1: 
Interface Serial0 
-- ip address 192.200.10.1 255.255.255.0 
-- Clockrate 1000000 
Router2: 
-- interface Serial0 
-- ip address 192.200.10.2 255.255.255.0 
 

二、X.25 
    
    
 X.25   encapsulation x25[dce]  
 X.121   x25 address x.121-address  
           x25 map ip IP address x.121-address  


  
 
Router1: 
interface Serial0 
-- encapsulation x25 
-- ip address 192.200.10.1 255.255.255.0 
-- x25 address 110101 
-- x25 map ip 192.200.10.2 110102 

Router2: 
interface Serial0 
-- encapsulation x25 
-- ip address 192.200.10.2 255.255.255.0 
-- x25 address 110102 
-- x25 map ip 192.200.10.1 110101 

 

三、Frame Relay 
    
    
 FR   encapsulation frame-relay  
 FR LMI   
     frame-relay lmi-type {ansi|cisco|q933a}  
 FR DLCI   frame-relay interface-dlci dlci[broadcast]  




  
 
Router1: 
interface Serial0 
-- encapsulation frame-relay 
-- frame-relay lmi-type ansi 
interface Serial0.16 point-to-point 
-- ip address 192.200.10.1 255.255.255.0 
-- frame-relay interfac dlci 16 
Router2: 
interfacte Serial0 
-- encapsulation frame-relay 
-- frame-relay lmi-type ansi 
interface Serial0.17 point-to-point 
-- ip address 192.200.10.2 255.255.255.0 
-- frame-relay interface-dlci 17 

 

四、PSTN 
   絡(PSTN         高、           絡, 
             用。              
  型,                號(DDR       
連,   ISP             務。      使   
       同,              別。 


    
   置: 
 PPP     使         username username password password  
     modem      chat-script script-name EXPECT SEND EXPECT SEND(etc.)  
    IP    ip local pool {default|pool-name low-ip-address [high-ip-address]}  
          ip address-pool [dhcp-proxy-client|local]  
 DHCP    ip dhcp-server [ip-address|name]  
 TACACS    tacacs-server host hostname [single-connection] [port interger] [timeout integer] [key string]  

  口(async  置:  
      PPP encapsulation PPP  
          async default routing  
     PPP     async mode {dedicated interactive}  
        dialer in-band  
    IP   peer default ip address {ip-address|dhcp|pool [pool-name]}  
 IP   Ethernet0   ip unnumbered Ehternet0  
 TCP    ip tcp header-compression passive  
             dialer idle-timeout seconds  
 IP           dialer map ip next-hop-address dialer-string  
 PPP     ppp authentication protocol  

line 
    置:  
          使  chat-script script {dialer|reset} script-name  
 modem      modem {inout|dialin}  
   modem   modem autoconfig discovery  
          speed speed  
           flowcontrol hardware  
         autocommand command  




DDR 
  
 
 京: 
-- username guangzhou password Legend 
-- (password 
           password  
-- chat-script rstmdm"""AT&FS0=1&B1&C1&D2&H1&K1&M4&R2"OK 
-- chat-script cisco-dial"""AT"TIMEOUT 30 OK" ATDT\T" TIMEOUT 30 CONNECT \c 
-- interface async1 
---- encapsulation ppp 
---- async default routing 
---- async mode dedicated 
---- dialer in-band 
---- ip unnumbered Ethernet0 
---- ip tcp header-compression passive 
---- dialer idle-timeout 300 
---- dialer map ip 20.1.1.1 name Guangzhou 02088888888 
---- ppp authentication chap 
-- line aux 0 
---- script dialer cisco-dial 
---- script reset rstmdm 
---- modem inout 
---- modem autoconfig discovery 
---- transport input all 
---- rxspeed 38400 
---- txspeed 38400 
---- stopbits 1 
---- flowcontrol hardware 
-- line vty 0 4 
---- password telnet 
---- login 
Access Server 
  
 
Router: 
hostname Router 
enable secret 5 $ 1$EFqU$tYLJLrynNUKzE4bx6fmH// 
chat-script cisco-default ABORT ERROR "" "AT Z"OK "ATDT \T"TIMEOUT 30 \c CONNE 
interface Ethernet0 
--ip address 10.111.4.20 255.255.252.0 
interface Async1 
--ip unnumbered Ethernet0 
cencapsulation ppp 
--keepalive 10 
--async mode interactive 
--peer default ip address pool Cisco 2511-Group-142 
--ppp authentication pap 
ip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36 
tacacs-server host 10.111.4.2 
line 1 
--script dialer cisco-default 
--login authentication tacacs 
--modem InOut 
--modem autoconfigure discovery 
--flowcontrol hardware 
 

五、ISDN MPPP 
    
   置: 
 ISDN     isdn switch-type basic-nil  

     
 PPP   encapsulation ppp  
 PPP    ppp multilink  
           dialer load-threshold load  




 例: 
 
Router1: 
isdn switch-type basic-nil 
interface Serial0 
-- ip address 192.200.10.1 255.255.255.0 
-- encapsulation ppp 
-- dialer map ip 192.200.10.2 54321 
-- dialer load-threshold 80 
-- ppp multilink


Posted by smallcho at 樂多Roodo! │10:11 │回應(0)引用(0)CISCO
樂多分類:moblog 工具:編輯本文
Ads by Roodo! 

引用URL

http://cgi.blog.roodo.com/trackback/6083745