Chinaunix首页 | 论坛 | 博客

qsh

  • 博客访问: 4030277
  • 博文数量: 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:09:40

ISDN通道相关信号举例
    本节介绍Cisco AS5200的通道化E1样本配置。可能配置30个带通道相关信号的通道、通道组或两者的组合。
    · 分配所有通道的通道相关信号
    下列交互式例子用耳和嘴通道信号配置通道(时间槽)1~30,并配置CiscoAS5200上的特性组B支持,并显示每个时间槽的路由器显示的信号消息。信号消息在第16个时间槽上传输,因此这个时间槽不设置。
 Router#
 %SYS-5-CONFIG_I: Configured from console by console
 Router# configure terminal
 Enter configuration commands, one per line. End with Ctrl/Z.
 Router(config)# controller e1 0
 Router(config-controller)# cas-group 1 timeslots 1-31 type e&m-fgb
 Router(config-controller)# %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 1 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 2 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 3 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 4 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 5 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 6 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 7 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 8 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 9 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 10 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 11 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 12 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 13 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 14 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 15 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 17 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 18 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 19 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 20 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 21 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 22 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 23 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 24 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 25 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 26 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 27 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 28 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 29 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 30 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 31 is up

    · 混合和匹配通道举例
    下列交互式例子显示如何将E1控制器配置成支持通道相关信号和通道组的组合。分配的时间槽范围要与中央办公室选用的时间槽范围相符。这种配置不常用,因为连接两端对齐正确的时间槽范围很复杂。
    时间槽1到15赋予通道组1。这些时间槽又赋予串行接口0和虚拟通道组1(显示为serial 0:1)。
 AS5200(config)# controller e1 0
 Router(config-controller)# channel-group 1 timeslots 1-15
 Router(config-controller)#
 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0:1, changed state to down
 %LINK-3-UPDOWN: Interface Serial0:1, changed state to up
 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0:1, changed state to up
    时间槽17到31赋予通道相关信号。
 Router(config-controller)# cas-group 2 timeslots 17-31 type e&m-fgb
 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0:1, changed state to down
 Router(config-controller)#
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 17 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 18 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 19 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 20 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 21 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 22 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 23 is up
.....
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 31 is up Router(config-controller)#

E1 R2信号举例
    下例在Cisco AS5300的控制器E1上配置R2信号和定制R2参数。大多数情况下,同一R2信号类型在每个E1控制器上配置。
     步骤1:用configure terminal命令进入全局配置方式:
 as5300# configure terminal
 Enter configuration commands, one per line. End with Ctrl-Z.
     步骤2:用controller e1全局配置命令指定要配置R2信号的E1控制器。控制器通知访问服务器如何对连接的通道化E1线分配或提供各个时间槽。要对每个E1线配置一个E1控制器。
 as5300(config)# controller e1 2
     步骤3:用cas-group channel timeslots range type signal命令配置通道相关信号。连接的远程通信厂家发出的信号类型应与Cisco AS5300上配置的信号类型相符。Cisco IOS配置选项有r2-analog、r2-digital或r2-pulse。
 as5300(config-controller)# cas-group 1 timeslots 1-31 type ?

    下例指定R2 ITU Q421数字线信号(r2-digital)。这个例子还指定R2强制寄存器信号并提供ANI ADDR选项。
 as5300(config-controller)# cas-group 1 timeslots 1-31 type r2-digital r2-compelled ani
 as5300(config-controller)#
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 1 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 2 is up
...
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 30 is up
 %DSX0-5-RBSLINEUP: RBS of controller 0 timeslot 31 is up
    注意:实际R2通道相关信号在第16个时间槽上配置,因此例子输出中没有遇到这个时间槽。
     步骤4:用cas-custom channel控制器配置命令定制一些E1 R2信号参数。本例指定阿根廷的缺省R2设置:
 as5300(config-controller)# cas-custom 1
 as5300(config-ctrl-cas)# ?
 CAS custom commands:

 as5300(config-ctrl-cas)# country argentina ?
  use-defaults Use Country defaults
 
 as5300(config-ctrl-cas)# country argentina use-defaults
    注意:Cisco建议指定你的国家的缺省设置。要显示所支持国家清单,用country命令。所有国家的缺省设置为ITU。

R1修改信号配置举例
    下例是使用E1接口的R1修改信号配置举例:
 version 11.3
 service timestamps debug datetime msec
 no service password-encryption
 !
 hostname router
 !
 enable secret 5 $1$YAaG$L0jTcQ.nMH.gp-FYXaOU5c.
 !
 no modem fast-answer
 ip host dirt 223.255.254.254
 ip multicast rpf-check-interval 0
 isdn switch-type primary-dms100
 !
 !
 controller E1 0
  clock source line primary
  cas-group 1 timeslots 1-15,17-31 type r1-modified ani-dnis
 !
 controller E1 1
  clock source line secondary
  cas-group 1 timeslots 1-15,17-31 type r1-modified ani-dnis
 !
 controller E1 2
  clock source internal
 !
 controller E1 3
  clock source internal
 !
 interface Ethernet0
  ip address 1.19.36.7 255.255.0.0
  no ip mroute-cache
 !
 interface FastEthernet0
  no ip address
  no ip route-cache
  no ip mroute-cache
  shutdown
 !
 interface Group-Async1
  ip unnumbered Ethernet0
  encapsulation ppp
  dialer in-band
  dialer idle-timeout 480
  dialer-group 1
  async dynamic address
  async mode interactive
  peer default ip address pool DYNAMIC
  no fair-queue
  no cdp enable
  group-range 1 108
 !
 router igrp 200
  network 1.0.0.0
  network 223.255.254.0
 !
 no ip classless
 ip route 0.0.0.0 0.0.0.0 Ethernet0
 logging source-interface Ethernet0
 !
 line con 0
  exec-timeout 0 0
 line 1 108
  exec-timeout 0 0
  modem InOut
  transport input all
 line aux 0
 line vty 0 4
 !
 end
阅读(705) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~