Configuring VoIP Basic level Packet Tracer
Cisco Unified Call Manager Express to configure a basic VoIP.
So the first thing to be done is to configure the IP address of the router:
Router>enable
Router#configure terminal
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#no shutdown
A DHCP server is used to assign IP addresses to the IP Phones.
A TFTP server is used to allow the phones to get the firmware and certain configurations files from the router, this is done by the option 150 of the DHCP.
Router(config)#ip dhcp pool VOICE
Router(dhcp-config)#network 192.168.100.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.100.1
Router(dhcp-config)#option 150 ip 192.168.100.1
Next step to do is to configure the Call Manager Express itself on the router
Router(config)#telephony-service
Router(config-telephony)#max-dn 5
Router(config-telephony)#max-ephones 5
Router(config-telephony)#ip source-address 192.168.100.1 port 2000
Router(config-telephony)#auto assign 1 to 5
1. Enters to the telephony services, if you don't have the telephony-service you have to enable by typing the following in 2911 serious router.
Note: license boot module c2900 technology-package uck9
2. max number of phone lines
3. max number of telephones
4. The IP of the router, this is where the telephones will be registered and the source address where is running the DHCP and TFTP services, which will be the router itself. And the port used for the phones, the default one is 2000
5. This is to automatically register the phones, on this case is from phone 1 to 5
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number 100
Router(config)#ephone-dn 2
Router(config-ephone-dn)#number 200
Router(config)#ephone-dn 3
Router(config-ephone-dn)#number 300
Router(config)#ephone-dn 4
Router(config-ephone-dn)#number 400
Router(config)#ephone-dn 5
Router(config-ephone-dn)#number 500
We have configured 5 max IP Phones, so we will configure 5 max numbers for the line,
Now thats all on the router, we have to configure the switch to access Voice VLAN.
Switch(config)#int range fastEthernet 0/2-3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport voice vlan 1
Interface 1 I have configured as Trunk interface
Switch ( config) #int fastEthernet 0 /1
Switch(config-if)#switchport mode trunk
If the encapsulation is Dot1q then just leave it as it is
That is all , now we must have our Phones configured with the numbers we have configured above
No comments:
Post a Comment