Académique Documents
Professionnel Documents
Culture Documents
Voice VLANs
DHCP
NTP
Voice VLANs
VLANs provide a logical separation of Layer 3 traffic and are created at Layer 2 (the network switch). A voice VLAN
(VVLAN, also called an Auxiliary VLAN) is an additional VLAN for the exclusive use of VoIP and video traffic. The
benefits of using a VVLAN include isolation from the broadcast traffic data VLANs, a measure of additional security, and
simpler deployment because you do not have to renumber the IP address scheme of the whole network to add VoIP
endpoints. (Each VLAN is a new, separate subnet.)
Most Cisco IP Phones are actually 3-port switches. The port that connects to the network switch can act as an 802.1q
trunk, allowing both voice and data traffic to be multiplexed in their respective VLANs on the single cable to the network
switch. The second port connects the desktop PC to the phone (and thus to the network over the trunk on the first port),
and the third port is an internal one for the voice traffic generated and received by the phone.
On many Cisco switches, the port connecting the phone does not need to be a trunk; it can be an access port instead. The
switch is capable of sending the VVLAN ID using CDP messages, and the phone then sends frames from itself tagged
with the learned VVLAN ID and forwards frames from the attached PC untagged. These untagged frames will be tagged
with the access VLAN ID configured on the switch port when they are processed by the switch.
2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
[ 62 ]
CCNA Voice Quick Reference by Michael Valentine
DHCP
It is recommended that you use DHCP for IP Phone addressing. Create a separate subnet for the Voice VLAN and add the
Option 150 parameter to identify the TFTP server IP address. This can be done on an existing DHCP server, or a new one
can be added if necessary; Cisco routers have DHCP server capability. The following configuration is a typical example
of router-based DHCP to support IP Phones:
service dhcp
! enables the DHCP service
!
ip dhcp excluded-address 10.1.1.1 10.1.1.10
! specifies a start/end range of addresses that DHCP will NOT assign
!
ip dhcp pool name IP_PHONES
! Creates a pool of addresses (case-sensitive name) and enters DHCP configuration mode
!
network 10.1.1.0 255.255.255.0
! Defines the subnet of addresses for the pool
!
default-router address 10.1.1.1
! Defines the default gateway
2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
[ 63 ]
CCNA Voice Quick Reference by Michael Valentine
If you choose to use a DHCP server that resides on a different network, you will need to add the ip helper-address
<ip-address> command on the Voice VLAN interface of the router so that it will forward DHCP broadcasts from the
phones to the DHCP server.
2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
[ 64 ]
CCNA Voice Quick Reference by Michael Valentine
The firmware file: This file is loaded into nonvolatile memory and is persistent across reboots. To make the
firmware files available to the phones, use the router command tftp-server flash:firmware-file-name. The command
load phone-type firmware-file is also required to associate the model of IP phone with the appropriate firmware file.
XMLDefault.cnf.xml: This is the XML configuration file that devices use if their specific SEP<MAC> file is not
available (typically if they have not registered before or if they have been factory reset).
These files are downloaded by the phone during its boot process.
802.3af standard
The IP Phone and the switch have a common PoE delivery method.
The PoE switch has a suitable UPS backup to provide power continuance in the event of a power failure.
2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
[ 65 ]
CCNA Voice Quick Reference by Michael Valentine
back to the switch. This creates a circuit, resulting in the FLP arriving back at the switch. Non-PoE devices will not
have this link; the switch will therefore never receive the FLP from a device that does not require PoE.
3. When the switch receives the returning FLP, it applies power to the line.
4. The link comes up within 5 seconds.
5. The powered device (IP phone) boots.
6. Using CDP, the IP Phone tells the switch exactly how much power it needs. (Power requirements vary from device
to device.)
The 802.3af PoE standard works slightly differently. The standard requires that all eight pins in the RJ-45 cable be
present and punched down. The following describes the 802.3af PoE negotiation steps:
1. The switch applies constant DC power to all ports that may require PoE.
2. An 802.3af-compliant device will apply 25 ohms resistance across the DC circuit.
3. The switch detects the resistance and applies low-power PoE to the link.
4. The powered device (the phone) boots.
5. The phone uses CDP to specify its power needs.
2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.