

If the dialed string matches the destination pattern, the call is routed to the remote dial peers. The destination pattern, configured in a dial peer by using the destination-pattern command, associates a dialed string with a specific telephony device. Ip source-address 192.168.69.254 port 2000Įphone declaration and number assignment ephone-dn 1Ĭall routing configuration between CME routersĭial peers are used to identify call source and destination endpoints and to define the characteristics applied between two CME routers. Telephony service configuration telephony-service RouterA(config-ephone-dn)#number 54001 #Assign the phone number to this entry#Įnsure that the IP Phone receives an IP Address and a the phone number 54001 from RouterA (this can take a short while). RouterA(config)#ephone-dn 1 #Defining the first directory entry# You need to configure RouterA CME to assign a phone number to this IP phone. Task 5 : Configure the phone directory for IP Phone 1Īlthough ‘IP Phone 1’ is already connected to SwitchA, it needs additionnal configuration before beeing able to communicate. SwitchA(config-if-range)#switchport voice vlan 1 #Define the VLAN on which voice packets will be handled# SwitchA(config-if-range)#switchport mode access SwitchA(config)#interface range fa0/1 – 5 #Configure interface range# data packets will be carried on the access vlan. This configuration will separate voice and data traffic in different vlans on SwitchA. Task 4 : Configure a voice vlan on SwitchAĪpply the following configuration on SwitchA interfaces. RouterA(config-telephony)#auto assign 1 to 5 #Automatically assigning ext numbers to buttons# RouterA(config-telephony)#auto assign 4 to 6 #Automatically assigning ext numbers to buttons# RouterA(config-telephony)#ip source-address 192.168.10.1 port 2000 #IP Address source# RouterA(config-telephony)#max-ephones 5 #Define the maximum number of phones# RouterA(config-telephony)#max-dn 5 #Define the maximum number of directory numbers# RouterA(config)#telephony-service #Configuring the router for telephony services# You must now configure the Call Manager Express telephony service on RouterA to enable voip on your network. Tasks 2 : Configure the Call Manager Express telephony service on RouterA RouterA(dhcp-config)#option 150 ip 192.168.10.1 #Mandatory for voip configuration.Īfter configuring the ISR router, wait a moment and check that ‘IP Phone 1’ has received an IP address by placing your cursor over the phone until a configuration summary appears. RouterA(dhcp-config)#default-router 192.168.10.1 #The default router IP address# RouterA(config)#ip dhcp pool VOICE #Create DHCP pool named VOICE The DHCP server is needed to provide each IP phone connected to the network with an IP adress and the TFTP server location. RouterA(config)#interface FastEthernet0/0 Don't forget to enable the interface with the no shutdown command ! RouterA>enable

Tasks 1 : Configure interface FastEthernet 0/0 and DHCP server on RouterA (2811 router)Ĭonfigure the FastEthernet 0/0 interface with 192.168.10.1/24 ip address.


Note : Connect only IP Phone 1 at the beginning of the lab.
