Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1538660
  • 博文数量: 416
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 3287
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-05 11:12
个人简介

技术在于专研

文章分类

全部博文(416)

文章存档

2021年(3)

2015年(34)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2007年(344)

2006年(25)

分类: 系统运维

2007-04-16 13:59:00

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
阅读(1054) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~