- One Unit 2811 router (IOS must contains CME Software) - One unit 2950 Switch - Two unit IP Phone - Tow unit PC 2: Switch Configuration: \\create 2 VLAN (VLAN 10 for VOICE and VLAN 20 For DATA as follow. #switch(config)vlan 10 #name VOICE #exit #vlan 20 #name DATA \\assign ports to the data valn #(config) int fa0/11 #switchport mode access #switchport access vlan 20 #int fa0/12 #switchport mode access #switchport access vlan 20 \\assign ports to VOICE VLAN #int fa0/11 #switchport voice vlan 10 #int fa0/12 #switchport voice vlan 10 #switchport fa0/1 #switchport mode trunk 3. Router configuration: \\DHCP pool for IP Phones (config) ip dhcp excluded-address 192.168.10.1 192.168.10.9 #ip dhcp pool voice #network 192.168.10.0 255.255.255.0 #dafult-router 192.168.10.1 #option 150 ip 192.168.10.1 (this is the TFTP server ip to give configuration file to ip phones) \\DHCP pool for PC #ip dhcp excluded-address 192.168.20.1 192.168.20.9 #dhcp pool data #network 192.168.20.0 255.255.255.0 #defualt-router 192.168.20.1 4. Router on a stick configuration Create sub-interface and assign them to the VLAN #int fa0/0.10 #encapsulation dot1q 10 #ip address 192.168.10.1 255.255.255.0 #int fa0/0.20 #encapsulation dot1q 20 #ip address 192.168.20.1 255.255.255.0 #int fa0/0 #no shutdown 5. Configuration of the Call Manager \\define the maximum number of IP Phones and Directory numbers Router#(config)telephony-services #max-ephones ? #max-ephone 2 #max-dn ? #max-dn 4 #ip source-address 192.168.10.1 port ? #ip source-address 192.168.10.1 port 2000 #create cnf-file (cisco phone uses this file to work properly) 6. ePhone Configuration: (This is used so that the cisco call manager must recognize the phone ) Router(config)ephone 1 #mac-address xxxx-xxxx-xxxx(The MAC of the IP-Phone) #type ? #type 7960 #(config)ephone 2 #mac-address xxxx-xxxx-xxxx(the MAC of the 2nd IP-Phone) #type 7960 #exit 7. \\Define the numbers for the phone Router(Config)ephone-dn 1 #(config-ephone-dn)number 2001(2001 will be the number of cisco IP Phone when you place call to) #ephone-dn 2 #number 2002 #exit #ephone-dn 3 #number 2003 8. ephone Button Configuration: Router#(config)ephone 1 #(config)button 1:1 (the last one represents the 2001 dn (Directory number) #ephone 2 #button 1:2 (2 represent 2002 of the 2nd IP-Phone)