You are on page 1of 2

Lab 2.

2 – Voice VLAN Configuration


Voice VLAN
To separate the voice and data traffic, you must configure each port connecting to a
Cisco IP phone for a voice VLAN. In Example, the voice VLAN is 110 and the data
VLAN (for the PC device attaching to the IP phone) is 10.

Step 1: Create VLAN’s on the switch


Configuring Voice VLANs

Switch# configure terminal


Switch(config)# vlan 10
Switch(config)# name DATA
Switch(config)# vlan 110
Switch(config)# name VOICE
Switch(config)# end

Switch# configure terminal


Switch(config)# interface fa0/1
Switch(config-if)# switchport mode trunk

Switch(config)# interface fa0/3


Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 110
Switch(config-if)# switchport access vlan 10
Switch(config-if)# spanning-tree portfast

Switch(config-if)# auto qos voip ? (optional QOS command will work on Cisco catalyst switches)

Configuring a DHCP Scope on a Router

R1(config)# ip dhcp pool VOICE


R1(dhcp-config)# network 172.16.1.0 255.255.255.0
R1(dhcp-config)# default-router 172.16.1.1
R1(dhcp-config)# option 150 172.16.1.1

Step 2: Configure Router Telephony Service

R1(config)# telephony-service
R1(config-telephony)# max-ephones 2
R1(config-telephony)# max-dn 10
R1(config-telephony)# keepalive 15
R1(config-telephony)# system message Cisco VOIP
R1(config-telephony)# create cnf-files
R1(config-telephony)# ip source-address 172.16.1.1 port 2000

Step 3: Create Directory Numbers

R1(config)# ephone-dn 1
R1(config-ephone-dn)# number 77001
R1(config-ephone-dn)# name Host A

R1(config-ephone-dn)# ephone-dn 2
R1(config-ephone-dn)# number 77002
R1(config-ephone-dn)# name Host B

Step 4: Create Phones

Take note of the MAC address of each HOST PC

R1(config)# ephone 1
R1(config-ephone)# mac-address 0002.B3CE.72A3 (NOTE: This is only a sample MAC address)
R1(config-ephone)# type cipc
R1(config-ephone)# button 1:1

R1(config-ephone)# ephone 2
R1(config-ephone)# mac-address 0009.5B1B.67BD
R1(config-ephone)# type cipc
R1(config-ephone)# button 1:2

Step 5: Open Cisco IP Communicator on each PC


1.

NOTE:

2. Now Close IP Communicator


3. RESTART the PC
4. Re-open IP Communicator and it should register OK

You might also like