------同步串行接口配置------------------
同步串行接口通过一个端到端连接传输数据和时钟信号
通道化T3接口支持多达28个T1通道作为一条DS3链路上的一个T3组
串行接口包含高速串行接口(High-Speed Serial Interface,HSSI,45Mbit/s)、通道化T3、通道化T1、G.702以及速度高达T1(1.544Mbit/s)和E1
(2.048Mbit/s)的传统的路由器串行接口。同步串行连接还包括每一端的CSU/DSU设备。
配置
一、配置通道化T3串行接口
1、选择T3控制器
(global)controller t3 slot/port
2、(可选)设置组帧方式
(controller)framing {c-bit | m23 | auto-detect}
3、(可选)设置电缆长度
(controller)cablelength *
电缆长度0到450英尺,默认为224英尺
4、(可选)设置时钟源
(controller)clock source {internal | line}
5、配置每个T1通道
在配置了T1通道之后,每个通道还可以进一步配置为一个同步串行接口。
(1)设置T1时隙
(controller)t1 channel timeslot range [speed {56|64}]
(2)(可选)设置T1组帧方式
(controller)t1 channel framing {esf | sf}
(3)(可选)设置T1时钟源
(controller)t1 channel clock source {internal | line}
(4)(可选)设置T1线路编码
(controller)t1 channel linecode {ami | b8zs}
(5)(可选)设置T1黄色警报
(controller)t1 channel yellow {detection | generation}
controller t3 6/0
framing auto-detect
cablelength 300
clock source line
t1 5 timeslot 1-12 speed 64
t1 5 framing esf
二、配置通道化T1/E1串行接口
1、选择T1或者E1控制器
(global)controller {t1 | e1} number
2、定义通道组
(controller)channel-group channel timeslots range [speed{48 | 56 | 64}]
3、(可选)定义CAS信令
(controller)cas-group channel timeslots range type signal service data
4、(可选)指定时钟源
(controller)clock source {line {primary | secondary} | internal}
5、(可选)指定组帧类型
(controller)framing {sf | esf | crc4 | no-crc4} [australia]
6、(可选)选择线路编码
(controller)linecode {ami | b8zs | hdb3}
7、(可选)配置T1电缆长度
(controller)cablelength short {133 | 266 | 399 | 533 | 655}
8、(可选)配置E1线路终结
(controller)line termination {75-ohm | 120-ohm}
controller t1 7/0
channel-group 1 timeslots 1-8 speed 56
clock source line
cablelength short 399
三、配置同步串行接口
对于通道化T3、T1或E1接口来说,首先配置通道化接口和通道组。然后把通道组当作下一步配置逻辑上的串行接口
1、选项一个接口
(global)interface serial number [:channel-group]
(global)interface hssi number
如果正在配置一个通道化的接口,那么加一个冒号和通道组号channel-group。
注:在使用同步串行命令之前,应该用(interface)physical-layer sync 命令设置接口为同步模式。
2、(可选)选择一种封装
(interface)encapsulation {hdlc | ppp}
3、(可选)配置压缩
(interface)compress {stac | predictor}
4、(可选)配置串行数据流和握手
(1)配置CRC长度
(interface)crc length
默认为16比特,两端使用相同的CRC长度
(2)设置线路编码格式
(interface)nrzi-encoding [mark]
默认串行接口使用NRZ编码,如果省略关键字mark,那么要使用NRZI空间编码
(3)反转数据流
(interface)invert data
使用一条不采用B8ZS编码的专用T1线路时,可以反转数据流
(4)设置发送延迟
(interface)transmitter-delay delay
0到131071,默认为0
(5)启用DTR脉冲
(interface)pulse-time seconds
(6)监视DSR而非DTR
(interface)ignore-dcd
5、(可选)配置串行时钟
(1)为DCE模式设置时钟速率
(interface)clock rate bps
(2)使用内部时钟
(interface)transmit-clock-internal
(3)反转发送时钟
(interface)invert txclock
6、(可选)配置集成的端口适配器DSU
(1)使用内部时钟
(interface)clock source {line | internal}
(2)设置电缆长度
(interface)cablelength feet
(3)配置CRC长度
(interface)crc {16 | 32}
(4)设置DSU带宽
(interface)dsu bandwidth kbps
(5)设置DSU模式
(interface)dsu mode {0 | 1 | 2}
(6)设置组帧类型
(interface)framing {bypass | g751 | c-bit | ml3}
(7)反转数据流
(interface)invert data
(8)启用扰码
(interface)scramble
(9)设置国家和国际比特位
(interface)national bit{0 | 1}
(interface)international bit {0 | 1}
7、(可选)配置集成的T1/FT1服务模块
(1)选择时钟源
(interface)service-module t1 clock source {internal | line}
(2)选择组帧类型
(interface)service-module t1 framing {sf | esf}
(3)指定部分T1时隙
(interface)service-module t1 timeslots { range | all} [speed {56 | 64}]
(4)启用数据倒置
(interface)service-module t1 data-coding {inverted | normal}
(5)选择线路编码类型
(interface)service-module t1 linecode {ami | b8zs}
(6)设置线路效应
(interface)service-module t1 lbo {-15db | -7.5db | none}
(7)启用远程报警
(interface)service-module t1 remote-alarm-enable
(8)启用远程环回初始化
(interface)service-module t1 remote-loopback {full | payload} [alternate v54]
8、(可选)配置集成的两线或者四线56或64Kbit/s服务模块
(1)选择时钟源
(interface)service-module 56k clock source {internal | line}
(2)设置线路速率
(interface)service-module 56k clock rate speed
(3)选择模式
(interface)service-module 56k network-type {dds | switched}
(4)启用64Kbit/s的不规则数据
(interface)service-module 56k data-coding scrambled
(5)启用远程环回接口
(interface)service-module 56k remote-loopback