免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1110 | 回复: 0
打印 上一主题 下一主题

C2821语音配置共享 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-16 13:59 |只看该作者 |倒序浏览
C2821语音配置共享
R-2821-1#sh run
Building configuration...
Current configuration : 4060 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R-2821-1
!
boot-start-marker
boot-end-marker
!
card type e1 1
logging buffered 51200 warnings
enable secret 5 $1$GHfd$OfMVfnanWzoVa/3LDe4wJ.
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 1
ip subnet-zero
!         
ip cef
no ip dhcp use vrf connected
!
ip domain name yourdomain.com
no ftp-server write-enable
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
!   
username cisco privilege 15 secret 5 $1$xquu$ktWODZePdDcQTYRvP2WXK0
!
!
controller E1 0/1/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 1/0
framing NO-CRC4
!
interface Loopback0
ip address 172.16.62.101 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 172.16.62.101
!
interface Port-channel1
no ip address
hold-queue 300 in
!
interface Port-channel2
no ip address
hold-queue 300 in
!
interface Multilink1
ip address 172.16.16.2 255.255.255.252
ip tcp header-compression iphc-format
ppp multilink
ppp multilink fragment disable
ppp multilink group 1
max-reserved-bandwidth 80
ip rtp header-compression iphc-format
ip rtp priority 16384 16383 230
!
interface MFR1
no ip address
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.60.2.20 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.160.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
bandwidth 2048
no ip address
encapsulation ppp
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 80
!
interface Serial0/0/1
bandwidth 2048
no ip address
encapsulation ppp
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 80
!
interface Serial0/1/0:15
no ip address
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface Virtual-TokenRing0
no ip address
ring-speed 16
!
router eigrp 100
network 10.60.2.0 0.0.0.255
network 172.16.16.0 0.0.0.3
network 172.16.62.101 0.0.0.0
no auto-summary
!
ip classless
ip route 10.51.1.0 255.255.255.0 172.16.16.1
!
no ip http server
ip http authentication local
ip http timeout-policy idle 600 life 86400 requests 10000
!
access-list 110 deny   ip 10.23.5.0 0.0.0.255 any
access-list 110 permit ip any any
access-list 130 permit ip host 10.60.2.8 any
snmp-server community cptqmismrtg RO
snmp-server community setview RW
snmp-server host x.x.x.x cptqmismrtg
snmp-server host x.x.x.x setview
!
control-plane
!         
voice-port 0/1/0:15
cptone CN
!
dial-peer voice 646 pots
description " connect to E1 "
destination-pattern 646....
direct-inward-dial
port 0/1/0:15
forward-digits all
!
dial-peer voice 61 voip
destination-pattern .T
session target ipv4:172.16.5.100
!
dial-peer voice 67 voip
destination-pattern .T
session target ipv4:172.16.60.101
!
dial-peer voice 679 voip
destination-pattern 679
session target ipv4:172.16.60.101
!
dial-peer voice 6469 pots
destination-pattern 6469
direct-inward-dial
port 0/1/0:15
forward-digits 1
!
sip-ua
!
line con 0
logging synchronous
login local
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet
line vty 5 15
privilege level 15
login local
transport input telnet
!
scheduler allocate 20000 1000
!
end

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27614/showart_279082.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP