sh run
Building configuration...
Current configuration : 4037 bytes
!
! Last configuration change at 05:47:17 UTC Wed Oct 10 2012
! NVRAM config last updated at 06:07:15 UTC Wed Oct 10 2012
! NVRAM config last updated at 06:07:15 UTC Wed Oct 10 2012
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cqmec_voice_router
!
boot-start-marker
boot-end-marker
!
!
card type e1 0 0
card type e1 0 1
enable password cisco_cqmec
!
no aaa new-model
no network-clock-participate wic 0
network-clock-participate wic 1
--More-- network-clock-select 1 E1 0/1/0
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
crypto pki token default removal timeout 0
!
!
voice-card 0
dspfarm
dsp services dspfarm
!
--More-- !
!
voice service pots
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol none
no fax-relay sg3-to-g3
h323
call start slow
modem passthrough nse codec g711alaw
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
codec preference 4 g723ar53
codec preference 5 g723ar63
codec preference 6 g723r53
codec preference 7 g723r63 bytes 120
codec preference 8 g726r16
--More-- codec preference 9 g726r24
codec preference 10 g726r32
codec preference 11 g728
!
!
!
!
voice translation-rule 1
rule 1 /6435\(....\)/ /2\1/
!
voice translation-rule 2
rule 1 /2\(....\)/ /6435\1/
!
voice translation-rule 3
rule 1 /.*/ /9&/
!
!
voice translation-profile PSTN-ANI
translate calling 3
!
voice translation-profile PSTN-IN
translate called 1
!
voice translation-profile PSTN-OUT
--More-- translate calling 2
!
!
license udi pid CISCO2921/K9 sn FGL163212VT
hw-module pvdm 0/0
!
!
!
username cisco password 0 cisco123
!
redundancy
!
!
controller E1 0/0/0
!
controller E1 0/0/1
!
controller E1 0/1/0
framing NO-CRC4
clock source line primary
pri-group timeslots 1-31
!
controller E1 0/1/1
!
--More-- !
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.201.8.1 255.255.255.0
duplex auto
speed auto
h323-gateway voip bind srcaddr 10.201.8.1
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
--More-- speed auto
!
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.201.8.254
!
!
!
!
control-plane
!
!
voice-port 0/1/0:15
translation-profile incoming PSTN-ANI
--More-- bearer-cap Speech
!
!
!
mgcp profile default
!
sccp ccm 10.201.2.2 identifier 1 version 7.0
sccp ccm 10.201.2.1 identifier 2 version 7.0
!
sccp ccm group 100
associate ccm 2 priority 1
associate ccm 1 priority 2
associate profile 20 register Conf-CQ
keepalive retries 6
!
dspfarm profile 20 conference
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
maximum sessions 5
associate application SCCP
--More-- !
dial-peer voice 9000 pots
translation-profile outgoing PSTN-OUT
destination-pattern 9.T
direct-inward-dial
port 0/1/0:15
!
dial-peer voice 8000 voip
translation-profile outgoing PSTN-IN
destination-pattern 6435....
session target ipv4:10.201.2.2
dtmf-relay cisco-rtp h245-alphanumeric h245-signal
!
dial-peer voice 8001 voip
translation-profile outgoing PSTN-IN
destination-pattern 6435....
session target ipv4:10.201.2.1
dtmf-relay cisco-rtp h245-alphanumeric h245-signal
!
!
!
!
gatekeeper
shutdown
--More-- !
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password cisco_cqmec
login
monitor
transport input all
line vty 5 15
password cisco_cqmec
login
transport input all
!
scheduler allocate 20000 1000
end
--More--
cqmec_voice_router#
cqmec_voice_router#
cqmec_voice_router#
cqmec_voice_router#
本文转自 bilinyee博客,原文链接: http://blog.51cto.com/ericfu/1794226 如需转载请自行联系原作者