频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

一个典型的PRI信令落地网关的配置(基于AS5300)

来源: 作者: 出处:巧巧读书 2006-07-25 进入讨论组

  一个典型的PRI信令落地网关的配置(基于AS5300)
  
  sunspirit0(sunspirit)
  
  gw#sh run
  Building configuration...
  
  Current configuration:
  !
  version 12.0
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname gw
  !
  logging buffered 512000 debugging
  aaa new-model
  aaa authentication login h323 group radius
  aaa authorization exec h323 group radius
  aaa accounting connection h323 start-stop group radius
  enable secret 5 $1$aMLK$zXdTpKewvyZ/H4pNGMTEr.
  !
  username cisco password 0 cisco
  !
  !
  resource-pool disable
  resource-pool call treatment resource channel-not-available
  !
  !
  !
  !
  !
  clock timezone beijing 8
  clock calendar-valid
  ip subnet-zero
  no ip domain-lookup
  ip domain-name x.net.cn
  ip name-server x.x.x.x
  !
  isdn switch-type primary-net5
  isdn voice-call-failure 0
  mta receive maximum-recipients 1
  !
  dial-control-mib retain-timer 60
  dial-control-mib max-size 1200
  !
  controller E1 0
   framing NO-CRC4
   clock source line primary
   pri-group timeslots 1-31
  !
  controller E1 1
   framing NO-CRC4
   clock source line secondary 1
   pri-group timeslots 1-31
  !
  controller E1 2
   framing NO-CRC4
   clock source line secondary 2
   pri-group timeslots 1-31
  !
  controller E1 3
   framing NO-CRC4
   clock source line secondary 3
   pri-group timeslots 1-31
  !
  !
  voice-port 0:D
   cptone GB
   timeouts call-disconnect 0
  !
  voice-port 1:D
   cptone GB
   timeouts call-disconnect 0
  !
  voice-port 2:D
   cptone GB
   timeouts call-disconnect 0
  !
  voice-port 3:D
   cptone GB
   timeouts call-disconnect 0
  gw-accounting h323 vsa
  !
  voice class codec 88
   codec preference 1 g729br8 bytes 50
   codec preference 3 g729r8 bytes 50
   codec preference 5 g723ar53
   codec preference 6 g723ar63 bytes 144
   codec preference 7 g723r53
   codec preference 8 g723r63 bytes 120
  !
  
  !
  dial-peer voice 500021 pots
   destination-pattern 021T
   port 0:D
  !
  dial-peer voice 502110 pots
   destination-pattern 021T
   port 1:D
  !
  dial-peer voice 502021 pots
   destination-pattern 021T
   port 2:D
  !
  dial-peer voice 503021 pots
   destination-pattern 021T
   port 3:D
  !
  dial-peer voice 510021 pots
   destination-pattern 8621T
   port 0:D
  !
  dial-peer voice 511021 pots
   destination-pattern 8621T
   port 1:D
  !
  dial-peer voice 512021 pots
   destination-pattern 8621T
   port 2:D
  !
  dial-peer voice 513021 pots
   destination-pattern 8621T
   port 3:D
  !
  gateway
  
   !
   interface Loopback0
   ip address x.x.x.x 255.255.255.255
   no ip directed-broadcast
   h323-gateway voip interface
   h323-gateway voip id xxxx ipaddr x.x.x.x 1719
   h323-gateway voip h323-id xxxx
   h323-gateway voip tech-prefix x#
  !
  interface Ethernet0
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   shutdown
  !
  interface Serial0
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   shutdown
   no fair-queue
   clockrate 2015232
  !
  interface Serial1
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   shutdown
   no fair-queue
   clockrate 2015232
  !
  interface Serial2
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   shutdown
   no fair-queue
   clockrate 2015232
  !
  interface Serial3
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   shutdown
   no fair-queue
   clockrate 2015232
  !
  interface Serial0:15
   no ip address
   no ip directed-broadcast
   isdn switch-type primary-net5
   isdn incoming-voice modem
   isdn T203 30000
   isdn send-alerting
   isdn sending-complete
   fair-queue 64 256 0
   no cdp enable
  !
  interface Serial1:15
   no ip address
   no ip directed-broadcast
   isdn switch-type primary-net5
   isdn incoming-voice modem
   isdn T203 30000
   isdn send-alerting
   isdn sending-complete
   fair-queue 64 256 0
   no cdp enable
  !
  interface Serial2:15
   no ip address
   no ip directed-broadcast
   isdn switch-type primary-net5
   isdn incoming-voice modem
   isdn T203 30000
   isdn send-alerting
   isdn sending-complete
   fair-queue 64 256 0
   no cdp enable
  !
  interface Serial3:15
   no ip address
   no ip directed-broadcast
   isdn switch-type primary-net5
   isdn incoming-voice modem
   isdn T203 30000
   isdn send-alerting
   isdn sending-complete
   fair-queue 64 256 0
   no cdp enable
  !
  interface FastEthernet0
  
   no ip address
   no ip directed-broadcast
   no ip route-cache
   no ip mroute-cache
   duplex auto
   speed auto
  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 x.x.x.x
  ip http server
  !
  ip radius source-interface Loopback0
  logging trap errors
  logging x.x.x.x
  snmp-server engineID local 00000009020000024B00107A
  
  snmp-server community public view v1default RO
  snmp-server community snmp view v1default RO
  snmp-server packetsize 4096
  snmp-server enable traps syslog
  snmp-server enable traps voice poor-qov
  snmp-server host x.x.x.x public
  snmp-server host x.x.x.x public
  snmp-server host x.x.x.x snmp
  snmp-server host x.x.x.x snmp
  !
  radius-server host x.x.x.x auth-port 1645 acct-port 1646
  radius-server host x.x.x.x auth-port 1675 acct-port 1676
  radius-server timeout 3
  radius-server deadtime 5
  radius-server key xxxx
  radius-server vsa send accounting
  radius-server vsa send authentication
  !
  line con 0转载保留:http://www.qqread.com/net-manage/c911175081.html 更多文章 更多内容请看电脑配置手册服务器配置专栏专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章