广域网协议设置

上传人:xzh****18 文档编号:44580361 上传时间:2018-06-14 格式:PDF 页数:6 大小:66.96KB
返回 下载 相关 举报
广域网协议设置_第1页
第1页 / 共6页
广域网协议设置_第2页
第2页 / 共6页
广域网协议设置_第3页
第3页 / 共6页
广域网协议设置_第4页
第4页 / 共6页
广域网协议设置_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《广域网协议设置》由会员分享,可在线阅读,更多相关《广域网协议设置(6页珍藏版)》请在金锄头文库上搜索。

1、广域网协议设置广域网协议设置刷钻代码 http:/ 是 CISCO 路由器使用的缺省协议,一台新路由器在 HDLC 环境中使用时不需要设置广域网协议。1.有关命令 端口设置 设置 HDLC 封装 encapsulation hdlc 设置 DCE 端线路速度clockrate speed2.举例Router1:Interface Serial0 - ip address 192.200.10.1 255.255.255.0 - Clockrate 1000000Router2: - interface Serial0 - ip address 192.200.10.2 255.255.255.

2、0 二、X.251.有关命令 端口设置 设置 X.25 封装 encapsulation x25dce 设置 X.121 地址 x25 address x.121-address 设置远方站点的地址映射 x25 map ip IP address x.121-address2.举例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 110102Router2:interface Ser

3、ial0 - encapsulation x25 - ip address 192.200.10.2 255.255.255.0 - x25 address 110102 - x25 map ip 192.200.10.1 110101 三、Frame Relay1.有关命令 端口设置 设置 FR 封装 encapsulation frame-relay 设置 FR LMI 类型 子端口设置 frame-relay lmi-type ansi|cisco|q933a 设置 FR DLCI 编号 frame-relay interface-dlci dlcibroadcast2.举例Router

4、1:interface Serial0 - encapsulation frame-relay - frame-relay lmi-type ansiinterface Serial0.16 point-to-point - ip address 192.200.10.1 255.255.255.0 - frame-relay interfac dlci 16Router2:interfacte Serial0 - encapsulation frame-relay - frame-relay lmi-type ansiinterface Serial0.17 point-to-point -

5、 ip address 192.200.10.2 255.255.255.0- frame-relay interface-dlci 17 四、PSTN 电话网络(PSTN)是目前普及程度最高、成本最低的公 用通讯网络,它在网络互连中也有广泛的应用。电话网络 的应用一般可分为两种类型,一种是同等级别机构之间以 按需拨号(DDR)的方式实现互连,一种是 ISP 为拨号上网 的用户提供的服务。这两种类型使用的设置命令大致相 同,但在设置思想上又有重要的差别。2.相关命令 全局设置: 设置 PPP 安全协议使用户名和密码 username username password password 设置路

6、由器与 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-connecti

7、on 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 unnumberedEht

8、ernet0 启动 TCP 头压缩 ip tcp header-compression passive 设置端口在挂断前的等待时间 dialer idle-timeout seconds 设置 IP 地址与电话号码的映射 dialer map ip next- hop-address dialer-string 设置 PPP 安全协议 ppp authentication protocolline 拨号线设置: 指定特定情况下路由器使用的 chat-script script dialer|reset script-name 设置 modem 的工作方式 modem inout|dialin

9、自动配置 modem 类型 modem autoconfig discovery 设置拨号线的通讯速率 speed speed 设置通讯线路的流控方式 flowcontrol hardware 连通后自动执行命令 autocommand command2.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“TIM

10、EOUT 30 OK“ ATDTT“ 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 authenticati

11、on 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 - login3.Access Server 实例Router:hostname Routerenable secret 5 $

12、 1$EFqU$tYLJLrynNUKzE4bx6fmH/chat-script cisco-default ABORT ERROR “ “AT Z“OK “ATDT T“TIMEOUT 30 c CONNEinterface Ethernet0 -ip address 10.111.4.20 255.255.252.0interface Async1 -ip unnumbered Ethernet0cencapsulation ppp -keepalive 10 -async mode interactive -peer default ip address pool Cisco 2511-

13、Group- 142-ppp authentication papip local pool Cisco2511-Group-142 10.111.4.21 10.111.4.36tacacs-server host 10.111.4.2line 1 -script dialer cisco-default -login authentication tacacs -modem InOut -modem autoconfigure discovery -flowcontrol hardware 五、ISDN MPPP1.相关命令 全局设置: 设置 ISDN 交换类型 isdn switch-t

14、ype basic-nil接口设置 设备 PPP 封装 encapsulation ppp 启动 PPP 多连接 ppp multilink 设置启动另一个 B 通道的阈值 dialer load-threshold load2.举例:Router1:isdn switch-type basic-nilinterface 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

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 商业合同/协议

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号