Cisco AS5300 通道化E1和通道化T1配置举例 一
通道化E1和通道化T1举 例 一
ISDN PRI举例
· NSF调用接调用支持举例
下例配置AT&T 4ESS交换配置为调用接调用选择时所需的网络特定工具。(NSF).PRI 4ESS交换在发出输出ISDN 声音调用时需要一些AT&T特定信息,选项有accunet、sdn和megacom。
本例显示让ISDN接口可操作所需的控制器和接口命令,以及将ISDN接口配置成建立输出调用所需的DDR命令,如dialer map、dialer-group和map-classdialer。
! The following lines configure the channelized T1 controller; all timeslots are
! configured for ISDN PRI.
!
controller t1 1/1
framing esf
linecode b8zs
pri-group timeslots 1-23
isdn switchtype primary-4ess
!
! The following lines configure the D channel for DDR. This configuration applies
! to all B channels on the ISDN PRI interface.
!
interface serial 1/1:23
description Will mark outgoing calls from AT&T type calls.
ip address 7.1.1.1 255.255.255.0
encapsulation ppp
dialer map ip 7.1.1.2 name tommyjohn class sdnplan 14193460913
dialer map ip 7.1.1.3 name angus class megaplan 14182616900
dialer map ip 7.1.1.4 name angus class accuplan 14193453730
dialer-group 1
ppp authentication chap
map-class dialer sdnplan
dialer outgoing sdn
map-class dialer megaplan
dialer voice-call
dialer outgoing mega
map-class dialer accuplan
dialer outgoing accu
· Cisco AS5200上的PRI举例
下例对通道化T1上的IP拨号配置相应接口的ISDN PRI:
! T1 PRI controller configuration
controller T1 0
framing esf
linecode b8zs
clock source line primary
pri-group timeslots 1-24
!
controller T1 1
framing esf
linecode b8zs
clock source line secondary
pri-group timeslots 1-24
!
interface Serial0:23
isdn incoming-voice modem
dialer rotary-group 1
!
interface Serial1:23
isdn incoming-voice modem
dialer rotary-group 1
!
interface Loopback0
ip address 172.16.254.254 255.255.255.0
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
interface Group-Async1
ip unnumbered Loopback0
ip tcp header-compression passive
encapsulation ppp
async mode interactive
peer default ip address pool default
dialer-group 1
ppp authentication chap pap default
group-range 1 48
!
interface Dialer1
ip unnumbered Loopback0
encapsulation ppp
peer default ip address pool default
ip local pool default 172.16.254.1 172.16.254.48
dialer in-band
dialer-group 1
dialer idle-timeout 3600
ppp multilink
ppp authentication chap pap default
下例对通道化E1上IP拨号配置相应接口的ISDN PRI:
! E1 PRI controller configuration
controller E1 0
framing crc4
linecode hdb3
clock source line primary
pri-group timeslots 1-31
!
controller E1 1
framing crc4
linecode hdb3
clock source line secondary
pri-group timeslots 1-31
interface serial0:15
isdn incoming-voice modem
dialer rotary-group 1
!
interface serial1:15
isdn incoming-voice modem
dialer rotary-group 1
!
interface loopback0
ip address 172.16.254.254 255.255.255.0
!
interface ethernet0
ip address 172.16.1.1 255.255.255.0
!
!The following block of commands configures DDR for all the ISDN PRI interfaces
!configured above. The dialer-group and dialer rotary-group commands tie the
!interface configuration blocks to the DDR configuration.
!
interface dialer1
ip unnumbered loopback0
encapsulation ppp
peer default ip address pool default
ip local pool default 172.16.254.1 172.16.254.60
dialer in-band
dialer-group 1
dialer idle-timeout 3600
ppp multilink
ppp authentication chap pap default
· 多ISDN交换类型举例
下例配置通道化T1控制器0上的ISDN交换类型primary-4ess和通道化T1控制器上的ISDN交换类型primary-net5。
controller t1 0
framing esf
linecode b8zs
isdn switchtype primary-4ess
!
controller t1 1
framing esf
linecode b8zs
isdn switchtype primary-net5
下例显示BRI接口0配置的basic-net3 ISDN交换类型覆盖全局配置的basic-ni ISDN交换类型。PRI接口(通道化T1控制器)配置成ISDN交换类型primary-net5,且只适用于PRI接口。
isdn switch-type basic-ni
!
interface BRI0
isdn switch-type basic-net3
interface serial0:23
! Apply the primary-net5 switch to this interface only
isdn switch-type primary-net5
· 输出B通道上升调用顺序举例
下例用全局isdn switch-type primary-ni命令配置路由器,并配置ISDN输出B通道上升调用顺序:
isdn switch-type primary-ni
!
interface serial0:23
isdn bchan-number-order ascending
同一通道化T1控制器上的PRI组和通道组举例
下例显示对PRI组和通道组配置的通道化T1控制器。pri-group和thechannel-group命令不能有重叠时间槽,注意本例中 正确的 时间槽配置:
controller t1 0
channel-group 0 timeslot 1-6
channel-group 1 timeslot 7
channel-group 2 timeslot 8
channel-group 3 timeslot 9-11
pri-group timeslot 12-24
同类配置也适用于通道化E1。
抢夺位信号举例
本节提供Cisco AS5200的T1控制器样本配置。可以把通道化T1的24个通道配置成支持ISDN PRI、抢夺位信号、通道组或三者的组合。包括提供下列几节:
· 为抢夺位信号分配所有通道举例
下例将Cisco AS5200的T1控制器所有24个通道配置成支持抢夺位信号特性组B:
controller T1 0
cas-group 1 timeslots 1-24 type e&m-fgb
· 混合和匹配通道举例
下例显示如何将所有24个通道配置成支持ISDN PRI、抢夺位信号、通道组的组合。分配的时间槽范围要与中央办公室选用的时间槽分配相符。这个配置不常用,因为在连接两端对齐正确的时间槽范围很复杂。
下列配置生成串行接口0~9,对应于ISDN时间槽1~10(显示为serial 1:0到serial 1:9)。串行线1:23是D通道,传递拨号modem电话号码的模拟信号位,确定modem是忙线还是可用。D通道自动生成并指定给时间槽24。
controller T1 0
! ISDN PRI is configured on timeslots 1 through 10.
pri-group timeslots 1-10
! Channelized T1 data is transmitted over timeslots 11 through 16.
channel-group 11 timeslots 11-16
! The channel-associated signal ear and mouth feature group B is configured on
! virtual signal group 17 for timeslots 17 to 23, which are used for incoming
! and outgoing analog calls.
cas-group 17 timeslots 17-23 type e&m-fgb
没有对应于该时间槽范围的特定接口,如前例中的串行接口。
交换56k配置举列
交换56k配置举列包括:
· 交换56k T1控制器举例
下例显示如何在Cisco AS5300上配置T1控制器,支持交换56k数字调用。Cisco AS5300有四个控制器,编号为0~3。如果4个T1都要支持交换56k调用,则对每个T1控制器重复这个过程。
注意:Cisco AS5200的配置过程相同。
步骤1:用configure terminal命令进入全局配置方式:
router# configure terminal
Enter configuration commands, one per line. End with trl-Z
步骤2:用controller t1 number命令指定T1控制器,将number变量换成0~3的控制器号。
router(config)# controller t1 1
步骤3:在一组时间槽上配置抢夺位信号,然后用cas-group命令指定56k数字服务。本例中,T1控制器的所有输入调用都应为交换56k数字调用, 而不是模拟modem调用。
router(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb servicedata
注意:你的信号类型一定要符合另一端的远程服务厂家或中央办公室指定的信号类型。
步骤4:设置网络环境的帧。可以选择扩展超帧(输入framing esf)或超帧(输入framing sf)。
router(config-controller)# framing esf
步骤5:设置网络环境的线代码类型。可以选择AMI编码(输入linecodeami)或B8ZS编码(输入linecode b8zs)。
router(config-controller)# linecode b8zs
· 在CT1 CAS上混合交换56k和mdoem调用
下例将一个T1控制器配置成在同一CT1CAS上接受交换56k数字调用和模拟modem调用。时间槽1到10由远程服务厂家指定支持交换 56k数字 调用。时间槽11到24指定支持模拟modem调用。由于DS0的定义,不可能在映射时间槽1到10的DS0上传送模拟modem调用。
router(config)# controller T1 0
router(config-controller)# cas-group 1 timeslots 1-10 type e&m-fgb service data
router(config-controller)# cas-group 1 timeslots 11-24 type e&m-fgb service voice
router(config-controller)# framing esf
router(config-controller)# clock source line primary
router(config-controller)# linecode b8zs
router(config-controller)# exit
· 不同T1 CRS线上的交换56k和modem调用
下例将Cisco AS5300配置成支持50%交换56k数字调用和50%模拟modem调用。控制器T1 0和T1 1用cas-group1 timeslots 1-24 type e&m-fgb servicedigital命令配置成支持交换56k数字调用。控制器T12和T1 3配置成支持模拟modem调用。
router(config)# controller T1 0
router(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb service data
router(config-controller)# framing esf
router(config-controller)# clock source line primary
router(config-controller)# linecode b8zs
router(config-controller)# exit router(config)# controller T1 1
router(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb service data
router(config-controller)# framing esf
router(config-controller)# clock source line secondary
router(config-controller)# linecode b8zs
router(config-controller)# exit
router(config)# controller T1 2
router(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb service voice
router(config-controller)# framing esf
router(config-controller)# clock source internal
router(config-controller)# linecode b8zs
router(config-controller)# exit
router(config)# controller T1 3
router(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb service voice
router(config-controller)# framing esf
router(config-controller)# clock source internal
router(config-controller)# linecode b8zs
router(config-controller)# exit
router(config)# copy running-config startup-config
· 综合交换56Kbps启动配置举例
本节的启动配置在图11.5所示的Cisco AS5300上运行。这个配置用于混合交换56Kbps和modem调用的IP拨号情形。交换56Kbps数字调用进入控制器T1 0和T 1。模拟modem调用进入控制器T1 2和T1 3。
本例中,交换56Kbps客户是远程节点配置中的单个端点。如果每个交换56Kbps客户是个局域网前面的路由器,不打开端口地址翻译 (PAT),则 每个远程端点要配置静态地址、子网掩码和路由。这最好通过RADIUS完成。T1时间槽用带servicedata选项的cas-group命令配置抢夺 位信号后,每个交换56Kbps通道立即生成逻辑串行接口。例如,控制器T11所有24个时间槽上配置的信号自动生成串行接口SO:0到SO:23,然后 再在每个串行接口上配置协议支持。串行接口没有接口组命令,而不象异步接口可以通过interfacegroup-async命令。每个串行接口要分别配 置。大多数情况下,串行配置是一致的。为了简化这个配置工作,可以用一个拨号器接口,如下例所示。
注意:本例中只有模拟modem调用遇到组异步和线接口。交换56k调用遇到逻辑串行接口和拨号器接口。
无忧网客联盟专业讨论,
文章转载至 思科技术论坛