For this example, we'll use VLAN 10. And we do the same for the subinterface for the voice vlan, which is 20 in this example. DHCP so phones and clients will automatically give ip addresses to all. This will tell the Router to hand out addresses out the interface that has the 192.168.10. / 24 network.
For this example, we'll use VLAN 10. And we do the same for the subinterface for the voice vlan, which is 20 in this example. DHCP so phones and clients will automatically give ip addresses to all. This will tell the Router to hand out addresses out the interface that has the 192.168.10. / 24 network.
For this example, we'll use VLAN 10. And we do the same for the subinterface for the voice vlan, which is 20 in this example. DHCP so phones and clients will automatically give ip addresses to all. This will tell the Router to hand out addresses out the interface that has the 192.168.10. / 24 network.
For this example, we'll use VLAN 10. And we do the same for the subinterface for the voice vlan, which is 20 in this example. DHCP so phones and clients will automatically give ip addresses to all. This will tell the Router to hand out addresses out the interface that has the 192.168.10. / 24 network.
Cisco CME Setup
Setting Clock
This must be done in Exec mode
Rotuer#elock set 12:00:00 15 apr 2012
The syntax for the command is
TRotuersclock set hh:mn:s
[pay OF MoH] [MONTH] [yPAR]
Configure Router
Configure Interfaces
Make sure that your main interface has no IP Address assigned to it
Router (config) Finterface Fastathernet 0/0
Router {config-if)#ao ip address
Router {config-if) fo shutdown
Now we configure the subinterface for the Data VLAN. For this example, we'll use VLAN 10
Router (config) #interface fastethernet 0/0.10
Router {config-subit) fencapsulation dotlg 10
Router {config-subit)#ip address 192.168.10.1 2
And we do the same thing for the subinterface for the Voice VLAN, which is 20 in this example.
Router (config) #interface Fastkthernetd
Router (config-subif) fencapsulation dotlo
Router (config-subif) #ip address 10.10.10.1
Configure DHCP
Now we have to configure DHCP so phones and clients will automatically give IP addresses to all
clients that connect.
First we'll configure which addresses that we DON'T want to handed out via DHCP
gi #ip dhep excluded-address 1
excluded-addrese
168.10.1
10.10.10.1 10.10.20
Then we'll configure it for the Data VLAN. This will tell the Router to hand out addresses out the
interface that has the 192,168,10.0/24 network. It will hand out 192,168.10.12 and 192.168.10.13
for DNS server and set the Default Gateway for the clients as 192,168.10.1. The DHCP lease will last
for 5 days.Router (config) #ip dhep pool DATA
Router (dhep-config) #network 192.168.10.0
Router (dhep-config) #dns-server 192.168.10.12 192.168.10.13
Router (dhep-config) #fdefault-router 192.168.10.1
Router (dhep-config) #lease 5
Then we'll configure it for the Voice VLAN. This will tell the Router to hand out addresses out the
interface that has the 10.10.10.0/24 network. It will hand out 10.10.10.12 and 10.10.10.13 for DNS
server and set the Default Gateway for the clients as 10.10.10.1. The DHCP lease will last for 5 days.
The last option here only applies to the Voice VLAN. It tells the phones where to look to download
their configuration. In this case, it is the same IP address as the Router.
tericonfig) #ip dacp pool vor
ter {dhep-conf ig) #network 10.10.10.0 255.255.255.0
ter (dnep-conf ig) #dns-server 10.10.10.12 10.10.10.13
ter (dhep-config) fdefault-router 10.10.10.1
ter {dhep-config) #lease 25
ter {dhep-config) foption 150 ip 10.10.10.1
Configure Core Telephony
Now it's time to start to configure the router for Telephony
In configure mode on the router, issue:
Router (config) #telephony-service i
Then we have to tell the Router to not auto-register phones as it sees them come up.
The next two commands will set the maximum number of phones that can register and the maximum
number of Directory Numbers (DN) that there can be.
Router {config-telephony) # max-ephones 10
Router (config-telephony) # max-dn 10
The last line for this basic configuration will tell the Router on which IP address and port to run the
Telephony service. In the line below we will run the service on 10.10.10.1 on port 2000
Router (config-telephony) #ip source-address 10.10.10.1 port 2000
Then the last thing to do is to create the configuration files that will be pushed to the phones. We
do this by entering the following command
Phone Configuration
The next thing to do would be configure each individual phone. There are two parts to this. First we
need to configure the DN, then the actual phone.
DN ConfigurationWhat we are going to do in this part is create the Directory Numbers. There are really only three
major parts to this.
First, we create the DN by typing the following command into configuration mode.
Router (config! #ephone-dn 1
Where 1 is the number that will identify this DN from others.
Next, we need to configure the extension number for this DN, The command follows
f Router (cont ig-ephon ber 2000
This is where you choose what extension to give to the DN. When you later apply the DN to a
button, that button will have this extension on it.
Last, we can give that extension a label.
Router (config-ephon
an} Plabel Ext. 2000
This will make the label for the extension say “Ext 2000”
To configure additional extensions, you need to change the DN and the Number to whatever you
want them to be. Usually, it is best practice to increment the DN one at a time.
Phone Configuration
Now to configure the phones.
First, you need to create the phone profile on the Router.
PRouter (contig) #ephone 1
Keep in mind that this number does not need to match up with the DN number that was created
above
Next, we need to configure the Router with the MAC address of the phone
Router (con
The Cisco syntax for MAC addresses is a little different. The Windows/Unix equivalent would be
'00:17:£0:D8:4A:97",
Now we tell the router what type of phone is being used.
Router (config-ephone) # type 7912
If you want to see a list of all possible phones, just run...