思科4331 語音網關配置, cisco 4331 router 配置文件


GW01#
cisco_ROUTER01#
cisco_ROUTER01#sh clo

cisco_ROUTER01#
cisco_ROUTER01#
cisco_ROUTER01#
cisco_ROUTER01#
cisco_ROUTER01#ter len 0
cisco_ROUTER01#sh run
Building configuration...


Current configuration : 8087 bytes
!
! Last configuration change at 2023
!
version 15.5
service timestamps debug datetime msec localtime
service timestamps log datetime localtime show-timezone
service password-encryption
service sequence-numbers
no platform punt-keepalive disable-kernel-core
!
hostname cisco_ROUTER01
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
 !
 address-family ipv4
 exit-address-family
 !
 address-family ipv6
 exit-address-family
!
card type e1 0 1
logging buffered 51200
!
aaa new-model
!
!
aaa group server radius rad_login
 server name rad_login-1
 server name rad_login-2
!
aaa authentication login shell_login group rad_login local
aaa authentication login console_login local group rad_login
aaa authentication enable default enable
aaa authorization exec default group rad_login local none
aaa authorization exec shell_login group rad_login local
aaa accounting exec shell_login start-stop group rad_login
aaa accounting exec console_login start-stop group rad_login
!
!
!
!
!
!
aaa session-id common
!
!
!
!
!
!
!
!
!
!
!



no ip domain lookup
!
!
!
!
!
!
!
!
!
!
subscriber templating
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
!
!
!
voice service voip
 ip address trusted list
  ipv4 193.18.0.0 255.255.0.0
  ipv4 172.0.0.0 255.0.0.0
 allow-connections h323 to h323
 fax protocol t38 nse force version 0 ls-redundancy 5 hs-redundancy 2 fallback none
 modem relay nse codec g711ulaw gw-controlled
 h323
  h225 timeout t302 15
  no h225 timeout keepalive
  h225 signal overlap
!
!
voice class uri 1000 sip
 host ipv4:172.18.99.76
 host ipv4:172.29.8.12
voice class codec 1
 codec preference 1 g722-64
 codec preference 2 g711ulaw
 codec preference 3 g711alaw
 codec preference 4 g729r8
 codec preference 5 g729br8
 codec preference 6 ilbc
 codec preference 7 g723r63
!
voice class codec 80
 codec preference 1 g711ulaw
 codec preference 2 g729r8
 codec preference 3 g711alaw
!
voice class h323 1
  h225 timeout tcp establish 2
  no call preserve
!
voice class sip-profiles 10
 response 180 sip-header Remote-Party-ID modify "(.*sip):00(.*)" "\1:+\2"
 response 200 sip-header Remote-Party-ID modify "(.*sip):00(.*)" "\1:+\2"
 response 200 sip-header Remote-Party-ID modify "(.*sip):0(.*)" "\1:+86\2"
 response 180 sip-header Remote-Party-ID modify "(.*sip):0(.*)" "\1:+86\2"
!
voice class e164-pattern-map 100
 description E164-MAP for PSTN incoming
  e164 9381....
 !
!
!
!
!
voice translation-rule 1
 rule 1 /686785/ /938185/
!
voice translation-rule 2
 rule 1 /^0/ /0/
 rule 2 /^85/ /938185/
!
voice translation-rule 3
 rule 1 /^0/ /0/
!
voice translation-rule 4
 rule 1 /^9381/ /6867/
!
voice translation-rule 5
 rule 1 /^0008621/ /0/ type any unknown
 rule 2 /^00086/ /0179090/ type any unknown
 rule 3 /^000/ /01790900/ type any unknown
 rule 4 /^[+]8621/ /0/ type any unknown
 rule 5 /^[+]86/ /0179090/ type any unknown
 rule 6 /^[+]/ /01790900/ type any unknown
!
!
voice translation-profile pstn-in
translate calling 3
translate called 1
!
voice translation-profile pstn-out
translate calling 4
translate called 5
!
voice translation-profile srst
translate called 2
!
!
!
!
!
voice-card 0/1
 dsp services dspfarm
 no watchdog
!
voice-card 0/4
 dsp services dspfarm
 no watchdog
!
license udi pid ISR4331/K9 sn FD002145160S
!
spanning-tree extend system-id
!
username localadmin privilege 15 password 7 0112050A8F1C07032A495C
username acnadmin privilege 15 password 7 06070C2F185D001501051D050507
username acnlocaladmin privilege 15 password 7 143B1B1D0954241C2D1A3613305772
username admin privilege 15 password 7 094F471A1A0A44405858
!
redundancy
 mode none
!
controller E1 0/1/0
 framing no-crc4
 pri-group timeslots 1-31
!
controller E1 0/1/1
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface GigabitEthernet0/0/0
 description CS-01 Gig 1/0/22
 ip address 172.29.65.251 255.255.255.128
 negotiation auto
 h323-gateway voip interface
 h323-gateway voip bind srcaddr 172.29.65.251
!
interface GigabitEthernet0/0/1
 no ip address
 shutdown
 negotiation auto
!
interface GigabitEthernet0/0/2
 no ip address
 shutdown
 negotiation auto
!
interface Service-Engine0/1/0
!
interface Serial0/1/0:15
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn timer T310 60000
 isdn overlap-receiving
 isdn incoming-voice voice
 isdn T309-enable
 isdn sending-complete
 no cdp enable
!
interface Service-Engine0/4/0
!
interface GigabitEthernet0
 vrf forwarding Mgmt-intf
 no ip address
 shutdown
 negotiation auto
!
interface Vlan1
 no ip address
!
ip forward-protocol nd
no ip http server
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip tftp source-interface GigabitEthernet0
ip dns view default
 domain name-server 172.29.28.2
 domain name-server 172.29.194.232
 domain name corp.abcde.com
 dns forwarding
ip route 0.0.0.0 0.0.0.0 172.29.65.254
ip ssh version 2
ip scp server enable
!
!
logging host 172.21.1.13
logging host 172.29.193.150
!
snmp-server community T8keA00k RO
snmp-server location SCN
snmp-server contact IPC-Distribution
snmp-server host 192.20.130.113 T8keA00k
snmp-server host 192.20.29.29 T8keA00k
!
!
radius-server retransmit 2
radius-server timeout 2
radius-server deadtime 10
!
radius server rad_login-1
 address ipv4 172.29.29.17 auth-port 1812 acct-port 1813
 key 7 06350A22590C1C39544541
!
radius server rad_login-2
 address ipv4 172.29.193.151 auth-port 1812 acct-port 1813
 key 7 087F4B0A1C1712325A5E57
!
!
control-plane
!
!
voice-port 0/1/0:15
 translation-profile incoming pstn-in
 translation-profile outgoing pstn-out
 cptone CN
 bearer-cap Speech
 !
 !
 !
 !
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
sccp local GigabitEthernet0/0/0
sccp ccm 172.18.99.76 identifier 2 version 7.0
sccp ccm 172.29.8.12 identifier 1 version 7.0
sccp
!
sccp ccm group 1
 associate ccm 1 priority 1
 associate ccm 2 priority 4
 associate profile 2 register cisco_ROUTER01xcode
 associate profile 1 register cisco_ROUTER01CFB
!
!
!
dspfarm profile 2 transcode
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 codec g729br8
 codec g729r8
 codec g722-64
 maximum sessions 4
 associate application SCCP
 shutdown
!
dspfarm profile 1 conference
 codec g729br8
 codec g729r8
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 maximum sessions 4
 associate application SCCP
 shutdown
!
dial-peer voice 93812 voip
 preference 3
 answer-address .
 destination-pattern 9381....
 session target ipv4:172.18.99.76
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 ip qos dscp af41 signaling
 no vad
!
dial-peer voice 10 pots
 destination-pattern 0T
 progress_ind setup enable 3
 progress_ind alert enable 8
 incoming called-number .
 direct-inward-dial
 port 0/1/0:15
!
dial-peer voice 93811 voip
 preference 2
 answer-address .
 destination-pattern 9381....
 session target ipv4:172.29.8.12
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 ip qos dscp af41 signaling
 no vad
!
!
!
call-manager-fallback
 secondary-dialtone 0
 max-conferences 8 gain -6
 transfer-system local-consult
 ip source-address 172.29.65.251 port 2000
 max-ephones 52
 max-dn 192
 default-destination 68678589
 moh enable-g711 "WackerCorpMusic.ULAW.wav"
 multicast moh 239.1.1.1 port 16384 route 10.1.1.1 172.19.228.254
!
!
line con 0
 logging synchronous
 login authentication console_login
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 exec-timeout 60 0
 privilege level 15
 authorization exec shell_login
 accounting exec shell_login
 logging synchronous
 login authentication shell_login
 transport input telnet ssh
line vty 5 15
 exec-timeout 60 0
 privilege level 15
 authorization exec shell_login
 accounting exec shell_login
 logging synchronous
 login authentication shell_login
 transport input telnet ssh
!
ntp server 172.29.28.3 maxpoll 6 minpoll 4 prefer
ntp server 172.29.28.4 maxpoll 6 minpoll 4 prefer
!
end

cisco_ROUTER01#sh clo

cisco_ROUTER01#


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM