|
|
This appendix provides some startup configurations for gateways as well as a gatekeeper.
! ! No configuration change since last restart ! NVRAM config last updated at 08:48:40 EST Mon Mar 29 2000 ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ! boot system flash enable secret 5 $1$NwTW$oimd5U3BVolU260DSOBub1 enable password ! spe 2/0 2/7 firmware location flash:portware.2801.ios ! ! resource-pool disable ! ! ! ! ! clock timezone EST 0 clock summer-time EDT recurring clock calendar-valid ip subnet-zero ip host XXX.XXX.XXX.XXX ip domain-name cisco.com ip name-server XXX.XXX.XXX.XXX ip name-server XXX.XXX.XXX.XXX ! isdn switch-type primary-5ess isdn voice-call-failure 0 fax receive compression MH fax receive called-subscriber $d$ fax send compression MH fax send transmitting-subscriber $s$ fax send left-header $d$ fax send center-header $s$ fax send right-header $t$ mta send server <servername>.cisco.com mta send subject <Subject Line> mta send postmaster msgadmin@<servername>.cisco.com mta send mail-from hostname gw1.cisco.com mta send mail-from username $s$ mta receive aliases gw1.cisco.com mta receive aliases gw1 mta receive maximum-recipients 1000 ! ! controller T1 0 framing esf clock source line primary linecode b8zs pri-group timeslots 1-24 ! controller T1 1 framing esf clock source line secondary 1 linecode b8zs pri-group timeslots 1-24 ! controller T1 2 framing esf linecode b8zs pri-group timeslots 1-24 ! controller T1 3 framing esf linecode b8zs pri-group timeslots 1-24 ! ! voice-port 0:D ! voice-port 1:D ! voice-port 2:D ! voice-port 3:D ! ! dial-peer voice 888 voip destination-pattern 8......... tech-prefix 8# dtmf-relay cisco-rtp codec g711ulaw session target ras ! dial-peer voice 889 voip shutdown destination-pattern 8......... dtmf-relay cisco-rtp codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! ! dial-peer voice 6000 pots incoming called-number 999935.... destination-pattern 999935.... information-type fax port 3:D ! dial-peer voice 5410 mmoip
max-conn 12 destination-pattern 8045555415 information-type fax image encoding MH dsn success dsn failure session target mailto:$d$@st1.cisco.com ! dial-peer voice 55410 pots incoming called-number 8045555415 information-type fax direct-inward-dial ! dial-peer voice 935 pots incoming called-number 999935.... destination-pattern 999935.... information-type fax port 3:D ! dial-peer voice 5411 pots incoming called-number 8045555425 direct-inward-dial ! gateway ! interface Ethernet0 no ip address no ip directed-broadcast shutdown ! interface Serial0:23 no ip address no ip directed-broadcast encapsulation ppp no ip route-cache dialer rotary-group 1 dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem no fair-queue ! interface Serial1:23 no ip address no ip directed-broadcast encapsulation ppp no ip route-cache dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 ! interface Serial2:23 no ip address no ip directed-broadcast ip mroute-cache dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 no cdp enable ! interface Serial3:23 no ip address no ip directed-broadcast encapsulation ppp no ip route-cache dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 ! interface FastEthernet0 ip address XXX.XXX.XXX.XXX 255.255.255.0 no ip directed-broadcast duplex full speed auto h323-gateway voip interface h323-gateway voip id longevity ipaddr XXX.XXX.XXX.XXX 1719 h323-gateway voip h323-id <gateway> h323-gateway voip tech-prefix 3# h323-gateway voip tech-prefix 5# ! interface Group-Async1 no ip address no ip directed-broadcast encapsulation ppp no ip route-cache no ip mroute-cache async default routing async dynamic address async mode interactive no peer default ip address no fair-queue group-range 1 48 ! interface Dialer1 no ip address no ip directed-broadcast encapsulation ppp no ip route-cache no ip mroute-cache dialer in-band dialer idle-timeout 300 dialer-group 1 peer default ip address pool def no fair-queue ppp authentication chap ppp multilink ! router igrp 1 redistribute connected network XXX.XXX.XXX.XXX ! ip default-gateway XXX.XXX.XXX.XXX ip nat translation timeout never ip nat translation tcp-timeout never ip nat translation udp-timeout never ip nat translation finrst-timeout never ip nat translation syn-timeout never ip nat translation dns-timeout never ip nat translation icmp-timeout never ip classless ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX no ip http server ! dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! ! line con 0 transport input none line 1 48 autoselect ppp modem InOut modem autoconfigure type mica rotary 1 transport preferred lat pad telnet rlogin udptn v120 lapb-ta transport input all transport output lat pad telnet rlogin udptn v120 lapb-ta line aux 0 line vty 0 4 ! scheduler interval 1000 end
Using 6642 out of 126968 bytes ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname <gateway> ! no logging console
aaa new-model aaa authentication login default enable aaa accounting update newinfo aaa accounting exec default start-stop group radius aaa accounting network default start-stop group radius aaa accounting connection h323 stop-only group radius aaa accounting system default start-stop group radius enable secret 5 $1$egnm$PcZOQyt8Y75bTDdY/8cY6. enable password <password> ! ! ! resource-pool disable ! ! ! ! ! clock timezone EST 0 clock summer-time EDT recurring ip subnet-zero ip host <servername>.cisco.com XXX.XXX.XXX.XXX ip host gd1z9 XXX.XXX.XXX.XXX ip host gd2z9.cisco.com XXX.XXX.XXX.XXX ip host <gateway> XXX.XXX.XXX.XXX ip domain-name cisco.com ip name-server XXX.XXX.XXX.XXX ip name-server XXX.XXX.XXX.XXX ! isdn switch-type primary-5ess cns event-service server mta receive maximum-recipients 1024 ! ! controller T1 0 framing esf linecode b8zs pri-group timeslots 1-24 ! controller T1 1 framing esf clock source line secondary 1 linecode b8zs pri-group timeslots 1-24 ! controller T1 2 framing esf linecode b8zs pri-group timeslots 1-24 ! controller T1 3 framing esf clock source line primary linecode b8zs pri-group timeslots 1-24 ! ! voice-port 0:D ! voice-port 1:D ! voice-port 2:D ! voice-port 3:D gw-accounting h323 ! dial-peer voice 200 pots destination-pattern .......... direct-inward-dial port 0:D ! dial-peer voice 201 pots destination-pattern .......... direct-inward-dial port 1:D ! dial-peer voice 877 voip destination-pattern 877280.... dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 804 voip destination-pattern 8045555527 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 202 pots shutdown destination-pattern .......... direct-inward-dial port 2:D ! dial-peer voice 123 voip destination-pattern 8041234567 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 122 pots incoming called-number 8041234567 direct-inward-dial ! dial-peer voice 80455 voip destination-pattern 8045555512 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 10 pots
destination-pattern 804762.... direct-inward-dial port 3:D ! dial-peer voice 20 pots destination-pattern 804935.... direct-inward-dial port 3:D ! dial-peer voice 5400 voip destination-pattern 8045555400 dtmf-relay cisco-rtp codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5401 voip destination-pattern 8045555401 dtmf-relay cisco-rtp codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5402 voip
destination-pattern 8045555402 dtmf-relay h245-alphanumeric codec g729r8 bytes 60 no vad session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5402 voip destination-pattern 8045555402 dtmf-relay cisco-rtp codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 30 pots destination-pattern 917....... direct-inward-dial port 3:D prefix 91917 ! dial-peer voice 40 pots destination-pattern 804387.... direct-inward-dial port 3:D prefix 9804387 ! dial-peer voice 5405 voip destination-pattern 807444.... dtmf-relay cisco-rtp codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 6006 pots destination-pattern 6006...... direct-inward-dial port 2:D prefix 6006 ! dial-peer voice 6066 voip destination-pattern 6006109... dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5413 voip destination-pattern 8045555413 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5414 voip destination-pattern 8045555414 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5415 voip destination-pattern 8045555415 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5416 voip destination-pattern 8045555416 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5417 voip destination-pattern 8045555417 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 5428 voip destination-pattern 8045555428 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! dial-peer voice 11 pots destination-pattern 8#804762.... direct-inward-dial port 3:D ! dial-peer voice 21 pots destination-pattern 8#804935.... direct-inward-dial port 3:D ! dial-peer voice 31 pots destination-pattern 8#917....... direct-inward-dial port 3:D prefix 91917 ! dial-peer voice 41 pots destination-pattern 8#804387.... direct-inward-dial port 3:D prefix 9804387 ! dial-peer voice 12 pots destination-pattern 7#804762.... direct-inward-dial port 3:D ! dial-peer voice 5429 voip destination-pattern 8045555429 dtmf-relay h245-signal codec g711ulaw session target ipv4:XXX.XXX.XXX.XXX ! process-max-time 200 gateway ! ! interface Ethernet0 no ip address no ip directed-broadcast shutdown ! interface Serial0:23 no ip address no ip directed-broadcast dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 ! interface Serial1:23 no ip address no ip directed-broadcast dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 ! interface Serial2:23 no ip address no ip directed-broadcast dialer-group 1 isdn switch-type primary-5ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 ! interface Serial3:23 no ip address no ip directed-broadcast dialer-group 1 isdn switch-type primary-4ess isdn tei-negotiation first-call isdn incoming-voice modem fair-queue 64 256 0 no cdp enable ! interface FastEthernet0 ip address XXX.XXX.XXX.XXX 255.255.255.0 no ip directed-broadcast no ip mroute-cache duplex full no mop enabled h323-gateway voip interface h323-gateway voip id ttstestum4 ipaddr XXX.XXX.XXX.XXX 1719 h323-gateway voip h323-id <gateway> h323-gateway voip tech-prefix 3# ! router igrp 1 redistribute connected network 172.24.0.0 ! ip default-gateway XXX.XXX.XXX.XXX ip classless ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX no ip http server ! access-list 101 permit ip any any dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! snmp-server engineID local 00000009020000107BE645AE radius-server host XXX.XXX.XXX.XXX auth-port 1645 acct-port 1646 radius-server key strb1 banner motd ^C This is a 5300 gateway routing calls for <servername> ! access-list 101 permit ip any any dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! snmp-server engineID local 00000009020000107BE645AE
radius-server host XXX.XXX.XXX.XXX auth-port 1645 acct-port 1646 radius-server key password banner motd ^C This is a 5300 gateway routing calls for <servername> ^C ! line con 0 logging synchronous transport input none line aux 0 line vty 0 4 exec-timeout 0 0 password <password> ! ! end
![]() |
Note If a dial-peer configuration has been added or modified on the Cisco 5300, it is a good idea to verify the output with the show dialplan number xxxxxxxxxxx command. |
host#sh dialplan number 87400522
Macro Exp.: 4587400522
VoiceOverIpPeer1001
information type = voice,
tag = 1001, destination-pattern = \Q45874005..',
answer-address = \Q', preference=0,
numbering Type = \Qunknown'
group = 1001, Admin state is up, Operation state is up,
incoming called-number = \Q', connections/maximum = 0/unlimited,
application associated:
type = voip, session-target = \Qipv4:xxx.xxx.xxx.xxx',
technology prefix:
settle-call = disabled
ip precedence = 0, UDP checksum = disabled,
session-protocol = cisco,
session-transport = udp, req-qos = best-effort,
acc-qos = best-effort,
dtmf-relay = h245-signal,
fax-rate = voice, payload size = 20 bytes
codec = g711ulaw, payload size = 160 bytes,
Playout: Mode adaptive,
Expect factor = 10,
Max Redirects = 1, Icpif = 30,signaling-type = cas,
CLID Restrict = disabled
VAD = enabled, Poor QOV Trap = disabled,
Connect Time = 810, Charged Units = 0,
Successful Calls = 1, Failed Calls = 0,
Accepted Calls = 1, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing.",
Last Setup Time = 94529.
Matched: 4587400522 Digits: 8
Target: ipv4:xxx.xxx.xxx.xxx
! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname <gatekeeper> ! boot system flash enable password <password> ! ! ! ! ! ip subnet-zero ip host <gatekeeper> XXX.XXX.XXX.XXX ip domain-name cisco.com ip name-server XXX.XXX.XXX.XXX ip name-server XXX.XXX.XXX.XXX ! ip dvmrp route-limit 20000 ! ! ! process-max-time 200 ! interface Ethernet0/0 no ip address no ip directed-broadcast ! interface FastEthernet1/0 ip address XXX.XXX.XXX.XXX 255.255.255.0 no ip directed-broadcast ! ip default-gateway XXX.XXX.XXX.XXX ip classless ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX no ip http server ! logging trap debugging logging facility local3 logging XXX.XXX.XXX.XXX dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! gatekeeper zone local longevity cisco.com zone subnet longevity XXX.XXX.XXX.XXX/24 enable gw-type-prefix 2#* default-technology gw-type-prefix 3#* no shutdown ! ! line con 0 transport input none line aux 0 line vty 0 4 exec-timeout 0 0 password <password> login ! ! end
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Sep 25 20:19:39 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.