prep infrastructure support unified comm_ch.11

Upload: zohaib-afridi

Post on 01-Jun-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Prep Infrastructure Support Unified Comm_ch.11

    1/5

    Preparing the Infrastructure to Support Unified Communications

    Preparing the Infrastructure to Support Unified

    CommunicationsIn this section, the best practices components for preparing the network to properly support Unified Communications areexplored. Topics covered include the following:

    n Voice VLANs

    n DHCP

    n NTP

    n Power over Ethernet

    n IP Phone firmware and configuration files

    Voice VLANsVLANs 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.

    [ 61 ]

    2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.

    CCNA Voice Quick Reference by Michael Valentine

  • 8/9/2019 Prep Infrastructure Support Unified Comm_ch.11

    2/5

    Preparing the Infrastructure to Support Unified Communications

    The phone adds a QoS marking to its own frames, using the 802.1q frame header Class of Service (CoS) field. The phone

    marks its frames as CoS 5 by default. This is the recommended setting, but it can be modified.

    The following is a typical switchport configuration for an attached IP Phone in VVLAN 100 and the PC in VLAN 50:

    Switch(config)#interface FastEthernet 0/1

    Switch(config-if)#switchport mode access

    Switch(config-if)#switchport access vlan 50

    Switch(config-if)#switchport voice vlan 100

    Switch(config-if)#spanning-tree portfast

    DHCPIt 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

    [ 62 ]

    2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.

    CCNA Voice Quick Reference by Michael Valentine

  • 8/9/2019 Prep Infrastructure Support Unified Comm_ch.11

    3/5

    Preparing the Infrastructure to Support Unified Communications

    !

    dns-server address 192.168.1.10 192.168.1.11

    ! identifies the DNS server IP address(es) up to 8 IPs

    !

    option 150 ip 192.168.1.2

    ! identifies the TFTP server IP

    !

    If you choose to use a DHCP server that resides on a different network, you will need to add the ip helper-address

    command on the Voice VLAN interface of the router so that it will forward DHCP broadcasts from the

    phones to the DHCP server.

    Network Time ProtocolClock synchronization is important in VoIP systems for accurate Call Detail Records (used for billing), easier trou-

    bleshooting and debugging, and for good voice performance. Network Time Protocol (NTP) is used on all Cisco devices

    to sync the system clock to a master clock. IP Phones get their time from the call agent (CM, CM Business Edition, CM

    Express, or SBCS). The call agent(s) are configured to get their time from a master clock, usually a highly accurate

    atomic or radio clock external to the network.

    Router(config)#clock timezone pst -8

    ! Specifies the local timezone as PST (8 hours behind GMT)!

    Router(config)#clock summer-time zone recurring first sunday april 02:00 last sunday october 02:00

    ! Activates Summer Time change in the specified date range

    !

    Router(config)#ntp server 10.1.2.3

    ! Identifies the NTP master clock address

    !

    [ 63 ]

    2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.

    CCNA Voice Quick Reference by Michael Valentine

  • 8/9/2019 Prep Infrastructure Support Unified Comm_ch.11

    4/5

    Preparing the Infrastructure to Support Unified Communications

    Cisco IP Phone Firmware and XML Configuration FilesCisco IP Phones need the following three separate files to function:

    n 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

    loadphone-type firmware-file is also required to associate the model of IP phone with the appropriate firmware file.

    n SEPAAAABBBBCCCC.cnf.xml: This is the device-specific XML configuration file (AAAABBBBCCCC is the

    MAC address of the phone), which specifies the IP address, port, firmware, locale, directory URL, and many other

    pieces of information. This file is created when the IP Phone has been added to the configuration.

    n XMLDefault.cnf.xml: This is the XML configuration file that devices use if their specific SEP 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.

    Power over EthernetPower over Ethernet (PoE) is a desirable option because it eliminates the cost and clutter of power bricks for the IP

    Phones. There are two methods of PoE delivery:

    n Cisco prestandard (inline power)

    n 802.3af standard

    Extra care should be taken to ensure the following:

    n RJ-45 cabling is tested and meets the required standard.

    n The IP Phone and the switch have a common PoE delivery method.

    n The PoE switch has a suitable UPS backup to provide power continuance in the event of a power failure.

    [ 64 ]

    2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.

    CCNA Voice Quick Reference by Michael Valentine

  • 8/9/2019 Prep Infrastructure Support Unified Comm_ch.11

    5/5

    Preparing the Infrastructure to Support Unified Communications

    Alternatively, each IP Phone may be powered by its own cable and transformer, or a variety of power injectors are avail-

    able.

    The Cisco prestandard PoE method works as follows:

    1. The switch sends a special tone, called a Fast Link Pulse (FLP), out of the port. The FLP goes to the powered

    device, in this case an IP phone.

    2. When unpowered, the PoE device has a physical link between the pin on which the FLP arrives and a pin that goes

    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.

    [ 65 ]

    2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.

    CCNA Voice Quick Reference by Michael Valentine