다이나밉스로 간단하게 구성해본 보이스 토폴로지와 config입니다.
- c3725-adventerprisek9_ivs-mz.124-3j.bin - vmware 4대
- CiscoIPCommunicator 2.1.2
XXX.net 파일 구성
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 autostart = False ghostios = True sparsemem = True debug = 9
[localhost:7200] workingdir = D:\lab\voice\working port = 7200 console = 2000 udp = 10000 [[3725]] image = D:\lab\ios\c3725-adventerprisek9_ivs-mz.124-3j.bin ram = 128 nvram = 128 confreg = 0x2102 rom = 4 idlepc = 0x6258badc [[ROUTER gw1]] model = 3725 slot1 = NM-4T slot2 = NM-16ESW f0/0 = gk f0/0 f2/1 = NIO_gen_eth:\Device\NPF_{FAA3E273-66A5-454C-BE1A-11C0F719711F} s1/0 = gw2 s1/0 cnfg = D:\lab\voice\cfg\gw1.cfg [[ROUTER gw2]] model = 3725 slot1 = NM-4T slot2 = NM-16ESW f0/0 = gk f0/1 f2/1 = NIO_gen_eth:\Device\NPF_{7A27DBE9-6156-4A0D-A521-42E147B48389} cnfg = D:\lab\voice\cfg\gw2.cfg [[ROUTER gk]] model = 3725 slot1 = NM-4T slot2 = NM-16ESW cnfg = D:\lab\voice\cfg\gk.cfg f2/1 = NIO_gen_eth:\Device\NPF_{B5701F0B-627B-40B5-9316-118E454B3AFC} #ccm f2/2 = NIO_gen_eth:\Device\NPF_{962E2625-B31F-48E8-A176-DCB29C07232B} #unity 〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
[Interface setting] [GW1] vlan database vlan 100 name Voice100 exit conf t int ran f2/0 - 5 sw mo access sw acc vlan 100 spanning-tree portfast exit int vlan 100 ip add 10.10.0.1 255.255.255.0 no sh exit int f0/0 ip add 172.16.20.1 255.255.255.0 no sh exit int s1/0 ip add 172.16.10.1 255.255.255.0 no sh exit
router rip version 2 passive-interface default no passive-interface FastEthernet0/0 no passive-interface Serial1/0 network 10.0.0.0 network 172.16.0.0 no auto-summary
[GW2] vlan database vlan 200 name Voice200 exit conf t int ran f2/0 - 5 sw mo access sw acc vlan 200 spanning-tree portfast exit int vlan 200 ip add 10.20.0.1 255.255.255.0 no sh exit int f0/0 ip add 172.16.30.1 255.255.255.0 no sh exit int s1/0 ip add 172.16.10.2 255.255.255.0 no sh exit
router rip version 2 passive-interface default no passive-interface FastEthernet0/0 no passive-interface Serial1/0 network 10.0.0.0 network 172.16.0.0 no auto-summary
[GK] vlan database vlan 300 name CCM vlan 400 name Unity exit conf t int f2/1 sw mo access sw acc vlan 300 spanning-tree portfast exit int f2/2 sw mo access sw acc vlan 400 spanning-tree portfast exit
int vlan 300 ip add 10.30.0.1 255.255.255.0 no sh exit int vlan 400 ip add 10.40.0.1 255.255.255.0 no sh exit
int f0/0 ip add 172.16.20.2 255.255.255.0 no sh exit int f0/1 ip add 172.16.30.2 255.255.255.0 no sh exit
router rip version 2 passive-interface default no passive-interface FastEthernet0/0 no passive-interface FastEthernet0/1 network 10.0.0.0 network 172.16.0.0 no auto-summary
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 [GW1/GW2 Ephone Setting]
1.NTP 설정 [GK] GK#clock set 15:30:00 jan 19 2008 GK(config)#ntp master [GW1] GW1(config)#ntp server 172.16.20.2 [GW2] GW2(config)#ntp server 172.16.30.2
2.DHCP 설정 [GW1] ip dhcp pool Voice100 network 10.10.0.0 /24 default-router 10.10.0.1 dns-server 168.126.63.1 168.126.63.2 option 150 ip 10.10.0.1 exit [GW2] ip dhcp pool Voice200 network 10.20.0.0 /24 default-router 10.20.0.1 dns-server 168.126.63.1 168.126.63.2 option 150 ip 10.20.0.1 exit
3.Ephone 자동설정 [GW1] GW1(config)#telephony-service setup --- Cisco IOS Telephony Services Setup --- Do you want to setup DHCP service for your IP Phones? [yes/no]: n Do you want to start telephony-service setup? [yes/no]: y Configuring Cisco IOS Telephony Services : Enter the IP source address for Cisco IOS Telephony Services :10.10.0.1 Enter the Skinny Port for Cisco IOS Telephony Services : [2000]: How many IP phones do you want to configure : [0]: 4 Do you want dual-line extensions assigned to phones? [yes/no]: y What Language do you want on IP phones : 0 English 1 French --이하생략-- 11 Japanese [0]: 0 Which Call Progress tone set do you want on IP phones : 0 United States 1 France --이하생략-- 15 Japan [0]: 0 What is the first extension number you want to configure : 1000
Do you have Direct-Inward-Dial service for all your phones? [yes/no]: y Enter the full E.164 number for the first phone :026051000
Do you want to forward calls to a voice message service? [yes/no]: y Enter extension or pilot number of the voice message service:1999 Call forward No Answer Timeout : [18]: 15
Do you wish to change any of the above information? [yes/no]: n CNF-FILES: Clock is not set or synchronized, retaining old versionStamps
---- Setup completed config ---
== 자동셋업후 수정해주는게 편합니다 ==
아래는 ephone 자동설정후 자동생성됩니다.
telephony-service max-ephones 4 max-dn 4 ip source-address 10.10.0.1 port 2000 auto assign 1 to 4 create cnf-files version-stamp Jan 19 2008 15:46:21 dialplan-pattern 1 026051... extension-length 4 voicemail 1999 max-conferences 8 gain -6 transfer-system full-consult ! ! ephone-dn 1 dual-line number 1000 call-forward busy 1999 call-forward noan 1999 timeout 15 ! ! ephone-dn 2 dual-line number 1001 call-forward busy 1999 call-forward noan 1999 timeout 15 ! ! ephone-dn 3 dual-line number 1002 call-forward busy 1999 call-forward noan 1999 timeout 15 ! ! ephone-dn 4 dual-line number 1003 call-forward busy 1999 call-forward noan 1999 timeout 15 ! ! ephone 1 ! ! ! ephone 2 ! ! ! ephone 3 ! ! ! ephone 4
== ephone 수정 == [GW1] ephone 1 description Number1000-1003 mac-address 000C.298D.2B23 type CIPC button 1:1 2:2 3:3 4:4 [GW2] ephone 1 description Number2000-2003 mac-address 000C.29A2.3892 type CIPC button 1:1 2:2 3:3 4:4
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 [GateKeeper Setting]
[GK] interface Loopback0 ip address 3.3.3.3 255.255.255.255
router rip network 3.0.0.0
gatekeeper zone local GK_ZONE.test.com test.com 3.3.3.3 no shutdown
[GW1] interface Loopback0 ip address 1.1.1.1 255.255.255.255 h323-gateway voip interface h323-gateway voip id GK_ZONE.test.com ipaddr 3.3.3.3 1719 h323-gateway voip h323-id GW1 h323-gateway voip bind srcaddr 1.1.1.1 exit
gateway exit
dial-peer voice 1 voip destination-pattern 2... session target ras exit
[GW2] interface Loopback0 ip address 2.2.2.2 255.255.255.255 h323-gateway voip interface h323-gateway voip id GK_ZONE.test.com ipaddr 3.3.3.3 1719 h323-gateway voip h323-id GW2 h323-gateway voip bind srcaddr 2.2.2.2 exit
gateway exit
dial-peer voice 1 voip destination-pattern 1... session target ras exit
[출처] 네트워크 전문가 따라잡기 & Internetworking@TCP/IP | [작성자]net98han |
댓글을 달아 주세요