Chinaunix首页 | 论坛 | 博客

qsh

  • 博客访问: 3956218
  • 博文数量: 1015
  • 博客积分: 15904
  • 博客等级: 上将
  • 技术积分: 8572
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-04 19:16
文章分类

全部博文(1015)

文章存档

2019年(1)

2017年(1)

2016年(19)

2015年(27)

2014年(30)

2013年(95)

2012年(199)

2011年(72)

2010年(109)

2009年(166)

2008年(296)

分类:

2008-10-16 15:27:56

 

主要介绍E1,T1,T3类似
Router#config t
Router(config)#controller e1 1
Router(config-controller)#channel-group 2 timeslots 1-10 speed 64
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 

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秒)
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
modem recovery maitenance action
exit
E1线路知识点总结

一条E1是2.048M的链路,用PCM编码。
2、一个E1的帧长为256个bit,分为32个时隙,一个时隙为8个bit。
3、每秒有8k个E1的帧通过接口,即8K*256=2048kbps。
4、每个时隙在E1帧中占8bit,8*8k=64k,即一条E1中含有32个64K。
E1帧结构
E1有成帧,成复帧与不成帧三种方式,在成帧的E1中第0时隙用于传输帧同步数据,其余31个时隙可以用于传输有效数据;在成复帧的E1中,除了第0时隙外,第16时隙是用于传输信令的,只有第1到15,第17到第31共30个时隙可用于传输有效数据;而在不成帧的E1中,所有32个时隙都可用于传输有效数据.
一. E1基础知识
E1信道的帧结构简述
在E1信道中,8bit组成一个时隙(TS),由32个时隙组成了一个帧(F),16个 帧组成一个复帧(MF)。在一个帧中,TS0主要用于传送帧定位信号(FAS)、CRC-4(循环冗余校验)和对端告警指示,TS16主要传送随路信令(CAS)、复帧定 位信号和复帧对端告警指示,TS1至TS15和TS17至TS31共30个时隙传送话音或数据 等信息。我们称TS1至TS15和TS17至TS31为“净荷”,TS0和TS16为“开销”。 如果采用带外公共信道信令(CCS),TS16就失去了传送信令的用途,该时隙也可用来传送信息信号,这时帧结构的净荷为TS1至TS31,开销只有TS0了。
由PCM编码介绍E1:
由PCM编码中E1的时隙特征可知,E1共分32个时隙TS0-TS31。每个时隙为64K,其中TS0为被帧同步码,Si, Sa4, Sa5, Sa6,Sa7,A比特占用, 若系统运用了CRC校验,则Si比特位置改传CRC校验码。TS16为信令时隙, 当使用到信令(共路信令或随路信令)时,该
时隙用来传输信令, 用户不可用来传输数据。所以2M的PCM码型有
① PCM30 : PCM30用户可用时隙为30个, TS1-TS15,
TS17-TS31。TS16传送信令,无CRC校验。
② PCM31: PCM30用户可用时隙为31个, TS1-TS15,
TS16-TS31。TS16不传送信令,无CRC校验。
③ PCM30C: PCM30用户可用时隙为30个, TS1-TS15,
TS17-TS31。TS16传送信令,有CRC校验。
④ PCM31C: PCM30用户可用时隙为31个, TS1-TS15,
TS16-TS31。TS16不传送信令,有CRC校验。
CE1,就是把2M的传输分成了30个64K的时隙,一般写成N*64,
你可以利用其中的几个时隙,也就是只利用n个64K,必须接在ce1/pri上。
CE1----最多可有31个信道承载数据 timeslots 1----31
timeslots 0 传同步

二. 接口
G.703非平衡的75 ohm,平衡的120 ohm2种接口
三. 使用E1有三种方法,
1, 将整个2M用作一条链路,如DDN 2M;
2,将2M用作若干个64k及其组合,如128K,256K等,这就是CE1;
3,在用作语音交换机的数字中继时,这也是E1最本来的用法,是把一条E1作为32个64K来用,但是时隙0和时隙15是用作signaling即信令的,所以一条E1可以传30路话音。PRI就是其中的最常用的一种接入方式,标准叫PRA信令。
用2611等的广域网接口卡,经V.35-G.703转换器接E1线。这样的成本应该比E1卡低的目前DDN的2M速率线路通常是经HDSL线路拉至用户侧.
E1可由传输设备出的光纤拉至用户侧的光端机提供E1服务.
四. 使用注意事项
E1接口对接时,双方的E1不能有信号丢失/帧失步/复帧失步/滑码告警,但是双方在E1接口参数上必须完全一致,因为个别特性参数的不一致,不会在指示灯或者告警台上有任何告警,但是会造成数据通道的不通/误码/滑码/失步等情况。这些特性参数主要有;阻抗/ 帧结构/CRC4校验,阻有75ohm和120ohm两种,帧结构有PCM31/PCM30/不成帧三种;在新桥节点机中将PCM31和PCM30分别描述为CCS和CAS,对接时要告诉网管人员选择CCS,是否进行CRC校验可以灵活选择,关键要双方一致,这样采可保证物理层的正常。
五. 问题
【 在 lzx (不倒翁) 的大作中提到: 】
: questions:
: 1. E1 与 CE1是由谁控制,电信还是互连的两侧的用户设备?用户侧肯定要求支持他们
: ,电信又是如何 分别实现的。
首先由电信决定,电信可提供E1和CE1两种线路,但一般用户的E1线路都是
CE1,除非你特别要只用E1,然后才由你的设备所决定,CE1可以当E1用,但
E1却不可以作CE1。
: 2. CE1 是32个时隙都可用是吧?
CE1的0和16时隙不用,0是传送同步号,16传送控制命令,实际能用的只有30个
时隙1-15,16-30
: 3. E1/CE1/PRI又是如何区分的和通常说的2M的关系。和DDN的2M又如何关联啊?
E1 和CE1 都是E1线路标准,PRI是ISDN主干线咱,30B+D,DDN的2M是透明线路
你可以他上面跑任何协议。
E1和CE1的区别,当然可不可分时隙了。
: 4. E1/CE1/PRI与信令、时隙的关系
E1,CE1,都是32时隙,30时隙,0、16分别传送同步信号和控制信今,PRI采用
30B+D ,30B传数据,D信道传送信令, E1都是CAS结构,叫带内信令,PRI信令与
数据分开传送,即带外信令。
: 5. CE1可否接E1。
CE1 和E1 当然可以互联。但CE1必需当E1用,即不可分时隙使用。
: 6. 为实现利用CE1实现一点对多点互连,此时中心肯定是2M了,各分支速率是
N*64K<2M,分支物理上怎么接呢? 电信如何控制电路的上下和分开不同地点呢?
在你设备上划分时隙,然到在电信的节点上也划分一样同样的时隙顺序,电信 只需要按照你提供的时隙顺序和分支地点,将每个对应的时隙用DDN线路传到对应 分支点就行了。
: 7.CE1端口能否直接连接E1电缆,与对端路由器的E1端口连通
: .................(以下省略)
不行
8.Cisco 7000系列上的ME1与Cisco 2600/3600上的E1、 CE1有什么区别?
答 : Cisco 7000上的ME1可配置为E1、 CE1, 而Cisco 2600/3600上的E1、CE1仅支持自己的功能。
六. 配置
补充:
光端机用法:
光纤---光端机--同轴线---G703转v35转换器--同步串口
or BNC-DB15,BNC-RJ45 --- CE1

Router# configure terminal

Router (config)# interface POS0/0/0

Router (config-if)# ip address 10.1.1.4 255.255.255.0

Router (config-if)# ip route-cache distributed

Router (config-if)# no keepalive

Router (config-if)# clock source internal

Router (config-if)# pos report rdool

Router (config-if)# pos report lais

Router (config-if)# pos report lrdi

Router (config-if)# pos report pais

Router (config-if)# pos report prdi

Router (config-if)# pos report sd-ber

Router (config-if)# no cdp enable

Router (config-if)# end

Router#
The default maximum transmission unit (MTU) size is 4470 bytes. To set the MTU size, enter the mtu bytes command, where bytes is a value in the range of 64 through 4470. (The value 4470 bytes exactly matches the MTU of FDDI and HSSI interfaces for autonomous switching.)

Router(config)# interface pos 3/0
Router(config-if)# mtu 3000
To restore the default of 4470 bytes, enter the no mtu command.

Configuring Framing
The default framing setting is SONET STS-3c. To configure for SDH STM-1, enter the pos framing-sdh command:

Router(config)# interface pos 3/0
Router(config-if)# pos framing-sdh
To change back to SONET STS-3c, enter the no pos framing-sdh command.

Setting the Source of the Transmit Clock
The clocking default specifies that the PA-POS-OC3 uses the recovered receive (RX) clock to provide transmit (TX) clocking (called loop timing). To specify that the PA-POS-OC3 generates the transmit clock internally, enter the clock source internal command:

Router(config)# interface pos 3/0
Router(config-if)# clock source internal
To restore loop timing, enter the no clock source internal command or the clock source line command.

Configuring Cyclic Redundancy Checks
The cyclic redundancy check (CRC) default is for a 16-bit CRC (CRC-CITT). The CRC is an error-checking technique that uses a calculated numeric value to detect errors in transmitted data. The PA-POS-OC3 also supports a 32-bit CRC. The sender of a data frame calculates the frame check sequence (FCS). The sender appends the FCS value to outgoing messages. The receiver recalculates the FCS and compares it to the FCS from the sender. If a difference exists, the receiver assumes that a transmission error occurred and sends a request to the sender to resend the frame. To configure an interface for a 32-bit CRC, enter the crc 32 command:

Router(config)# interface pos 3/0
Router(config-if)# crc 32
To disable the 32-bit CRC and return the interface to the default 16-bit CRC, enter the no crc 32 command.

Configuring SONET Payload Scrambling
The default is for SONET payload scrambling disabled. SONET payload scrambling applies a self-synchronous scrambler (x^43+1) to the Synchronous Payload Envelope (SPE) of the OC-3 interface to ensure sufficient bit-transition density.


--------------------------------------------------------------------------------
Note   Both ends of the connection must use the same scrambling algorithm.

--------------------------------------------------------------------------------

You enable SONET payload scrambling using the pos scramble-atm command. (This command has no keywords or arguments.)

To enable SONET payload scrambling, use the following command sequence:

Router(config)# interface pos 3/0
Router(config-if)# pos scramble-atm
Router(config-if)# no shutdown
Router(config-if)# end
To verify that SONET payload scrambling is enabled on an interface, enter the show startup-config command. If scrambling is enabled, the following line is displayed in the configuration:

pos scramble-atm
To disable SONET payload scrambling, use the no pos scramble-atm command.
阅读(951) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~