PRI ポートのローカル ゲートウェイ コンフィギュレーション
ここでは、参考のために、(USM 経由で供給される)PRI ポートを使用してローカル ゲートウェイのコンフィギュレーションを実行する例について説明します。
Building configuration...
Current configuration : 8774 bytes
! Last configuration change at 13:33:14 UTC Mon Jun 28 2010 by cisco
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
boot system flash c2800nm-adventerprisek9_ivs-mz.150-1.M2.bin
logging buffered 51200 warnings
enable secret 5 $1$sgHJ$Y1SV9774EepM5dot0Zz.k0
network-clock-participate wic 1
ip domain name ipcbuemea.com
multilink bundle-name authenticated
isdn switch-type primary-net5
codec preference 1 g729r8
codec preference 3 g711ulaw
codec preference 4 g711alaw
h225 timeout tcp establish 2
voice translation-rule 102
voice translation-rule 212
voice translation-rule 802
voice translation-rule 812
rule 1 /^90900000\(.*\)/ /904\1/
rule 2 /^90800\(.*\)/ /906800\1/
rule 3 /^90866\(.*\)/ /906866\1/
rule 4 /^90877\(.*\)/ /906877\1/
rule 5 /^90888\(.*\)/ /906888\1/
rule 6 /^90900\(.*\)/ /907900\1/
rule 7 /^90700\(.*\)/ /907700\1/
rule 12 /^900\(.*\)/ /902\1/
rule 13 /^90\(.*\)/ /901\1/
rule 14 /^9\(.*\)/ /903\1/
voice translation-rule 911
rule 1 /^\(.*\)/ /1\1/ type national unknown
rule 2 /^\(.*\)/ /011\1/ type international unknown
rule 3 /^1\(.*\)/ /1\1/ type unknown unknown
rule 4 /^011\(.*\)/ /011\1/ type unknown unknown
rule 5 /^\(.*\)/ /\1/ type unknown unknown
voice translation-rule 912
rule 1 /^\(.*\)/ /\1/ type national unknown
rule 2 /^1\(.*\)/ /\1/ type unknown unknown
voice translation-rule 9011
rule 1 /^\(.*\)/ /\1/ type any national
voice translation-rule 9012
rule 1 /^\(.*\)/ /1\1/ type any unknown
voice translation-rule 9021
rule 1 /^901\(.*\)/ /\1/ type any national
rule 2 /^902\(.*\)/ /\1/ type any international
rule 3 /^903\(.*\)/ /\1/ type any unknown
rule 4 /^904\(.*\)/ /\1/ type any unknown
rule 5 /^905\(.*\)/ /\1/ type any national
rule 6 /^906\(.*\)/ /\1/ type any national
rule 7 /^907\(.*\)/ /\1/ type any national
rule 8 /^908\(.*\)/ /\1/ type any national
voice translation-rule 9022
rule 1 /^901\(.*\)/ /1\1/ type any unknown
rule 2 /^902\(.*\)/ /011\1/ type any unknown
rule 3 /^903\(.*\)/ /\1/ type any unknown
rule 4 /^904\(.*\)/ /\1/ type any unknown
rule 5 /^905\(.*\)/ /1\1/ type any unknown
rule 6 /^906\(.*\)/ /1\1/ type any unknown
rule 7 /^907\(.*\)/ /1\1/ type any unknown
rule 8 /^908\(.*\)/ /1\1/ type any unknown
voice translation-rule 911305
rule 1 /^\(.*\)/ /\1/ type subscriber unknown
rule 2 /^305\(.*\)/ /305\1/ type unknown unknown
voice translation-rule 912305
rule 1 /^\(.*\)/ /305\1/ type subscriber unknown
rule 2 /^305\(.*\)/ /305\1/ type unknown unknown
voice translation-rule 9011305
rule 1 /^305\(.*\)/ /305\1/ type any subscriber
voice translation-rule 9012305
rule 1 /^305\(.*\)/ /305\1/ type any unknown
voice translation-rule 9021305
rule 1 /^901305\(.*\)/ /305\1/ type any subscriber
voice translation-rule 9022305
rule 1 /^901305\(.*\)/ /305\1/ type any unknown
voice translation-profile POTSIN21
voice translation-profile POTSIN91
voice translation-profile POTSIN91305
voice translation-profile POTSOUT9011
voice translation-profile POTSOUT9011305
translate calling 9011305
voice translation-profile POTSOUT9012
voice translation-profile POTSOUT9012305
translate calling 9011305
voice translation-profile POTSOUT9021
voice translation-profile POTSOUT9021305
translate calling 9012305
voice translation-profile POTSOUT9022
voice translation-profile POTSOUT9022305
translate calling 9012305
voice translation-profile VOIPIN81
voice translation-profile VOIPOUT10
voice translation-profile VOIPOUT80
service hucsntvoip flash:hucsntvoip.tcl
param emerpubnum1 3053010009
param e164rangestart1 3010000
param e164rangeprefix1 301000
param fintrangeprefix1 010010301000
param pstnpubnum1 3053010000
param fintrangestart1 0100103010000
service hucsntpstn flash:hucsntpstn.tcl
param e164rangestart1 3010000
param pstnaccessprefix1 9
param e164rangeprefix1 301000
param fintrangestart1 0100103010000
param fintrangeprefix1 010010301000
license udi pid CISCO2821 sn FHK1344F3CL
username cisco privilege 15 password 0 cisco
description E1 Controller 0/1/0
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.190.1.44 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.190.1.44
interface GigabitEthernet0/1
ip address 10.191.1.44 255.255.255.0
isdn switch-type primary-net5
isdn incoming-voice voice
ip route 0.0.0.0 0.0.0.0 10.190.1.1
ip route 0.0.0.0 0.0.0.0 10.191.1.1 200
access-list 23 permit 10.10.10.0 0.0.0.7
translation-profile outgoing VOIPOUT10
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.3
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT80
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.3
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT10
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.2
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT80
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.2
dtmf-relay h245-alphanumeric
translation-profile incoming VOIPIN81
dtmf-relay h245-alphanumeric
translation-profile incoming POTSIN91
translation-profile outgoing POTSOUT9011
destination-pattern 90[123456789]T
dial-peer voice 91305 pots
translation-profile incoming POTSIN91305
translation-profile outgoing POTSOUT9011305
destination-pattern 901305T
scheduler allocate 20000 1000
BRI ポートのローカル ゲートウェイ コンフィギュレーション
ここでは、参考のために、BRI ポートを使用してローカル ゲートウェイのコンフィギュレーションを実行する例について説明します。
Building configuration...
Current configuration : 9594 bytes
! Last configuration change at 11:42:15 UTC Mon Jun 28 2010 by cisco
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
boot system flash c2800nm-ipvoice_ivs-mz.150-1.M2.bin
! card type command needed for slot/vwic-slot 1/1
logging buffered 51200 warnings
enable secret 5 $1$SMZ8$Z024T0GrCI0TV1rGL/SJI.
no network-clock-participate slot 1
network-clock-participate wic 0
network-clock-participate wic 1
ip domain name ipcbuemea.cisco.com
multilink bundle-name authenticated
isdn switch-type basic-net3
allow-connections h323 to h323
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
h245 passthru tcsnonstd-passthru
modem passthrough nse codec g711ulaw
codec preference 1 g729r8
codec preference 3 g711ulaw
codec preference 4 g711alaw
h225 timeout tcp establish 2
voice translation-rule 102
voice translation-rule 212
voice translation-rule 802
voice translation-rule 812
rule 1 /^90900000\(.*\)/ /904\1/
rule 2 /^90800\(.*\)/ /906800\1/
rule 3 /^90866\(.*\)/ /906866\1/
rule 4 /^90877\(.*\)/ /906877\1/
rule 5 /^90888\(.*\)/ /906888\1/
rule 6 /^90900\(.*\)/ /907900\1/
rule 7 /^90700\(.*\)/ /907700\1/
rule 12 /^900\(.*\)/ /902\1/
rule 13 /^90\(.*\)/ /901\1/
rule 14 /^9\(.*\)/ /903\1/
voice translation-rule 911
rule 1 /^\(.*\)/ /0\1/ type national unknown
rule 2 /^\(.*\)/ /00\1/ type international unknown
rule 3 /^0\(.*\)/ /0\1/ type unknown unknown
rule 4 /^00\(.*\)/ /00\1/ type unknown unknown
rule 5 /^\(.*\)/ /\1/ type unknown unknown
voice translation-rule 912
rule 1 /^\(.*\)/ /\1/ type national unknown
rule 2 /^0\(.*\)/ /\1/ type unknown unknown
voice translation-rule 9011
rule 1 /^\(.*\)/ /\1/ type any national
voice translation-rule 9012
rule 1 /^\(.*\)/ /0\1/ type any unknown
voice translation-rule 9021
rule 1 /^901\(.*\)/ /\1/ type any national
rule 2 /^902\(.*\)/ /\1/ type any international
rule 3 /^903\(.*\)/ /\1/ type any unknown
rule 4 /^904\(.*\)/ /\1/ type any unknown
rule 5 /^905\(.*\)/ /\1/ type any national
rule 6 /^906\(.*\)/ /\1/ type any national
rule 7 /^907\(.*\)/ /\1/ type any national
rule 8 /^908\(.*\)/ /\1/ type any national
voice translation-rule 9022
rule 1 /^901\(.*\)/ /0\1/ type any unknown
rule 2 /^902\(.*\)/ /00\1/ type any unknown
rule 3 /^903\(.*\)/ /\1/ type any unknown
rule 4 /^904\(.*\)/ /\1/ type any unknown
rule 5 /^905\(.*\)/ /0\1/ type any unknown
rule 6 /^906\(.*\)/ /0\1/ type any unknown
rule 7 /^907\(.*\)/ /0\1/ type any unknown
rule 8 /^908\(.*\)/ /0\1/ type any unknown
voice translation-rule 9111637
rule 1 /^\(.*\)/ /\1/ type subscriber unknown
rule 2 /^1637\(.*\)/ /1637\1/ type unknown unknown
voice translation-rule 9121637
rule 1 /^\(.*\)/ /1637\1/ type subscriber unknown
rule 2 /^1637\(.*\)/ /1637\1/ type unknown unknown
voice translation-rule 90111637
rule 1 /^1637\(.*\)/ /1637\1/ type any subscriber
voice translation-rule 90121637
rule 1 /^1637\(.*\)/ /1637\1/ type any unknown
voice translation-rule 90211637
rule 1 /^9011637\(.*\)/ /1637\1/ type any subscriber
voice translation-rule 90221637
rule 1 /^9011637\(.*\)/ /1637\1/ type any unknown
voice translation-profile POTSIN21
voice translation-profile POTSIN91
voice translation-profile POTSIN911637
translate calling 9111637
voice translation-profile POTSOUT9011
voice translation-profile POTSOUT90111637
translate calling 90111637
translate called 90211637
voice translation-profile POTSOUT9012
voice translation-profile POTSOUT90121637
translate calling 90111637
translate called 90221637
voice translation-profile POTSOUT9021
voice translation-profile POTSOUT90211637
translate calling 90121637
translate called 90211637
voice translation-profile POTSOUT9022
voice translation-profile POTSOUT90221637
translate calling 90121637
translate called 90221637
voice translation-profile VOIPIN81
voice translation-profile VOIPOUT10
voice translation-profile VOIPOUT80
service hucsntvoip flash:hucsntvoip.tcl
param e164rangestart1 111000
param e164rangeprefix1 11100
param fintrangestart1 0101001110000
param fintrangeprefix1 010100111000
service hucsntpstn flash:hucsntpstn.tcl
param e164rangeprefix7 6019999
param fintrangeprefix7 1001006019999
param e164rangestart1 111000
param e164rangeprefix2 6010001
param fintrangeprefix2 1001006010001
param pstnaccessprefix1 9
param e164rangestart5 6010004
param e164rangeprefix1 11100
param fintrangestart8 1001006010006
param fintrangeprefix1 010100111000
param fintrangestart1 0101001110000
license udi pid CISCO2821 sn FHK1344F3CJ
username admin privilege 15 secret 5 $1$aX76$2Ob4W8Mmvwg3riMGX2h3n1
username cisco privilege 15 secret 5 $1$..k5$qj9occu4mQRWvv6bFilHn.
description E1 port of e2lgw
interface GigabitEthernet0/0
ip address 10.190.2.44 255.255.255.0
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.190.2.44
interface GigabitEthernet0/1
ip address 10.191.2.44 255.255.255.0
description BRI 0/0/0 - e1lgw2
isdn switch-type basic-net3
isdn protocol-emulate network
isdn layer1-emulate network
isdn incoming-voice voice
isdn switch-type basic-net3
isdn point-to-point-setup
isdn switch-type basic-qsig
isdn point-to-point-setup
isdn switch-type basic-qsig
isdn point-to-point-setup
ip route 0.0.0.0 0.0.0.0 10.190.2.1
ip route 0.0.0.0 0.0.0.0 10.191.2.1 200
access-list 23 permit 10.10.10.0 0.0.0.7
translation-profile outgoing VOIPOUT10
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.3
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT80
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.3
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT10
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.2
dtmf-relay h245-alphanumeric
translation-profile outgoing VOIPOUT80
modem passthrough nse codec g711ulaw
session target ipv4:10.134.1.2
dtmf-relay h245-alphanumeric
translation-profile incoming VOIPIN81
dtmf-relay h245-alphanumeric
translation-profile incoming POTSIN91
translation-profile outgoing POTSOUT9011
destination-pattern 90[123456789]T
dial-peer voice 921637 pots
translation-profile incoming POTSIN911637
translation-profile outgoing POTSOUT90111637
destination-pattern 9011637T
scheduler allocate 20000 1000