讯雷在线资源影视合作伙伴
 
站内留言 会员登陆 会员注册 最新动态>>本站由于版面真在大面积改动中,对信息资源,影视资源,资源下载有很大的影响,给您带来的不便请谅解!
您的位置海淀信息港 > 文章中心 > 技术联盟 > 路由交换 > 文章内容

Cisco路由器WAN配置简单攻略

2008-8-25 15:51:49  来源:转载  作者:st 【 查看评论

1,主要介绍E1,T1,T3类
Router#config t

Router(config)#controller e1 1

Router(config-controller)#channel-group 3 timeslots 11-13 speed 64 (SPEED最值为:48kbit/s,56kbit/s,64kbit/s-E1默认)

Router(config-controller)#cas-group 2 timeslots 1-10 type e&mfgb Router(config-controller)#service data (CAS假借比特信信令,用于T1传输组帖和时钟)

Router(config-controller)#cas-group 3 timeslots 11-13 type e&mfgb

service data

Router(config-controller)#clock source line primary/secondary | internal

(从网络或设备内部读取时钟,用于同步)

Router(config-controller)#framing sf/esf |crc4/nocrc4 (sf/esf-Router(config-controller)#T1,crc4/nocrc4 -E1)

Router(config-controller)#linecode ami/b8zs/hdb3 (ami-T1,hdb3_e1)

Router(config-controller)#cablelength short 133/266 (可选,如果电缆长度小于655英尺时用)

Router(config-controller)#cablelengh long gain26/-15 (可选,如果电缆长度大于655英尺时用,值为DB增益)

Router(config-controller)#line termination 75-ohm|120-ohm (可选,意思显而易见)

Router(config-controller)#exit

Router(config)#interface s 1:2 (其中,1与前面controller e1 1相对,2与channel-group值 相对)

Router(config-interface)#physical-layer asynchronous(对a/s端口用)

Router(config-interface)#encapsulation ppp/hdlc (以全CISCO设备,HDCL是默认,但建议用PPP)

Router(config-interface)#ppp authen chap

Router(config-interface)#ppp chap hostname wang

Router(config-interface)#ppp chap password wang

Router(config-interface)#compress stac/predictor(hdlc只有stc)

Router(config-interface)#crc 12 (可选,默以好像是16bits)

Router(config-interface)#inver data (可选,非B8ZS的T1上用,如果DSU/CSU上已反转,ROUTER上就不能用了)

Router(config-interface)#pulse-time 5 (用于DRT脉冲,可选)

Router(config-interface)#clock rate 56000(可选值很多,在DCE上用,视具体情况而定,一般高速率在短距离上使用)

Router(config-interface)#transmit-clock internal 6

Router(config-interface)#scrmable (防扰码知警)

Router(config-interface)#ip add 10.1.1.1 255.255.255.0

Router(config-interface)#no shut

interface s1:3略

如果是集成的T1服务模块上命令有所其别(高端模块)

sRouter(config-interface)#ervice-module t1 clock source internal/line (默认是line)

Router(config-interface)#service-module t1 framing sf-esf

等等,基本上就是加上service-module t1而以

2,POS,主要介绍OC-3,STM-1 155M接口

Router(config)#interface pos 3/1

Router(config)#pos framing-sdh

Router(config)#clock source

Router(config)#pos scramble-atm(完善pyaload scrambling的转换密度)

Router(config)#loop internale (启动环测)

Router(config)#loop line (远端坏测)

Router(config)#no shut

Router(config)#ip add 10.1.1.1 255.255.255.0

Router(config)#aps working 1 (工作方式,其中1和保护口的值关链)

Router(config)#或

Router(config)#aps prtect 1 192.168.1.1 255.255.255.0

(注:aps即是自动保护交换,顾名思义,可以把设置成工作方式和保护方式)

Router(config)#crc 16/62

Router(config)#mtu 3000 

带DPT )C-12c我也没玩过,就不写了

POS的配置参数很多,也记不全了,但是用得参数要视具体情况

3,FR,帧中继的区里够多了,简单写一点

Router(config)#interface s0/1

Router(config-interfcae)#encapsulation frame-relay cisco/ieft

Router(config-interfcae)#frame-relay lmi-type ansi/cisco/q933a

Router(config-interfcae)#keepalive 15 (默认是10秒)

Router(config-interfcae)#no shutdown

子接口

Router(config-interfcae)#interface s0/1.1 point-to-point/multipoint (默认好像是multi)

Router(config-interfcae)#frame-relay map ip 192.168.1.12 100 broadcast (把对端IP映谢到本地DLCI)

Router(config-interfcae)#frame-relay interfcae-dhci 100

Router(config-interfcae)#ip address 192.168.1.11 255.255.255.0

FR中另一个重要配置就是整形和映射类(QOS),这里不例

4,拔号配置(内置MICA)

Router(config)#modem china mica

Router(config-pool)#modem-pool wang(MODEM池命名)

Router(config-pool)#pool-range (32-40) (MICA的line)

Router(config-pool)#alled-number 3333312 mxa-connection 3 (通过拔入号码找MODEM POOL)

Router(config-pool)#exit

line 32 40

Router(config-line)#transport input/all/output

Router(config-line)#autoselect ppp/slip

Router(config-line)#modem inout/dialin

Router(config-line)#modem prefrered none

Router(config-line)#speed 115200

Router(config-line)# flowcontrol hardware

Router(config-line)#stopbits 1

Router(config)#modem autoconf discovry

Router(config)#int xxx(老帖太多,略)

以下是常用的MODEM诊断,维护命令

modem bad

modem shutdown (前为占线,后为禁用,可选)

modem recovery threshhold 10

modem rrcovery-time 3 (此处为分)

modem revovery action disable/download/none

站点推荐
  • 翟志刚在太空中挥动...
  • 48名少女拍裸照时被...
  • 液态奶促销“...
  • 北京艺人涉毒裹挟少...
  • 一13岁少女遭八男子...
  • 16岁少女与继父产子...
  • 网民发帖骂人,网站...
  • 英国3岁男孩拨打99...
(评论内容只代表网友观点,与本站立场无关!)[ 全部评论 ]

网友评论:

    用户名:

    评   分:100分 85分 70分 55分 40分 25分 10分 0分

    

                 (注“”为必填内容。) 验证码: 验证码,看不清楚?请点击刷新验证码

关于本站 - 网站导航 - 广告服务 - 网站地图 - 下载声明 - 友情链接 - 免责申明