Friday, April 20, 2012

Six weeks Industrial Summer Training in Delhi India


Summer Training/Industrial Training/Summer Internship

Network Bulls is Best Institute for Cisco CCNA, CCNA Security, CCNA Voice, CCNP, CCNP Security/CCSP and CCIE R&S/Security course/certifications Training in India. Network Bulls is a Networking Training and Network Consultancy company. Network Bulls offer Summer Trainings and Summer Internship programs for Btech BE and BCA Candidates. There are different programs for Summer Training Candidates. Those who are willing to take Six weeks summer training, they can join CCNA course as their training. We provide Projects on Real Cisco Networks. This would be a Project Based Industrial/Summer Training, which will be held in Delhi NCR region in Gurgaon.
Network Bulls has Biggest Cisco networking Training labs in North India. Students must visit Network Bulls and compare the labs with other training companies.
Network Bulls has a team of CCIE Certified Trainers and Dual CCIE Trainers.
We offer 24x7 labs Facility, as students can stay in nights for practice on real routers and switches.
During Summer Training programs, students will get 24x7 Lab access and project on real devices. Students will get a chance to implement a real Network and to troubleshoot on a Network topology. After their Networking Training in Summer Training or Industrial Training, students will get Training Certificate, Project certificate, Experience Letter and Awards to best candidates.

6/Six Weeks Summer Training in networking options:
Courses
CCNA
MCSE
MCITP
CCNA Sec
Linux
CEH
Training Fee
Rs 7,000/-
Rs 10,000/-
Rs 12,000/-
Rs 9,000/-
Rs 12,000/-
Rs 8,000/-



Six weeks/2 months Summer Training in Networking in Gurgaon Delhi


Summer Training/Industrial Training/Summer Internship

Network Bulls is Best Institute for Cisco CCNA, CCNA Security, CCNA Voice, CCNP, CCNP Security/CCSP and CCIE R&S/Security course/certifications Training in India. Network Bulls is a Networking Training and Network Consultancy company. Network Bulls offer Summer Trainings and Summer Internship programs for Btech BE and BCA Candidates. There are different programs for Summer Training Candidates. Those who are willing to take Six weeks summer training, they can join CCNA course as their training. We provide Projects on Real Cisco Networks. This would be a Project Based Industrial/Summer Training, which will be held in Delhi NCR region in Gurgaon.
Network Bulls has Biggest Cisco networking Training labs in North India. Students must visit Network Bulls and compare the labs with other training companies.
Network Bulls has a team of CCIE Certified Trainers and Dual CCIE Trainers.
We offer 24x7 labs Facility, as students can stay in nights for practice on real routers and switches.
During Summer Training programs, students will get 24x7 Lab access and project on real devices. Students will get a chance to implement a real Network and to troubleshoot on a Network topology. After their Networking Training in Summer Training or Industrial Training, students will get Training Certificate, Project certificate, Experience Letter and Awards to best candidates.

6/Six Weeks Summer Training in networking options:
Courses
CCNA
MCSE
MCITP
CCNA Sec
Linux
CEH
Training Fee
Rs 7,000/-
Rs 10,000/-
Rs 12,000/-
Rs 9,000/-
Rs 12,000/-
Rs 8,000/-



Thursday, December 16, 2010

Configuring CM Express to Support Endpoints Best CCNA Training Institute in Delhi Gurgaon

Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192


In this section we explore three methods of configuring endpoints on a CM Express system: configuring optional settings,
rebooting IP Phones, and troubleshooting and verifying the configuration.
Providing Firmware
IP Phone firmware files ship with the CM Express software or can be downloaded from cisco.com. For the router to serve
the firmware to the phones, the tftp-server fiashifilename command is used. You must enter this command for every
firmware file needed. Some phones require more than one file to be loaded—for example, the 791 IG requires six separate
files.
Telephony Service Configuration
Manual setup of the CM Express system is done using the CLI. From the global config, the command telephony-service
enables config-telephony mode. This prompt is where your first steps of defining the max-ephones and max-ephone-dn
settings (described earlier) would take place.
Phone Firmware Loads
The firmware files that were copied into Flash and made available to the phones via TFTP must be associated with the
phones; this is done using the load model firmware-file command. Filenames are case sensitive, and the file extension
should not be included in the command. (Tip: Use the Cut-and-Paste function of your terminal client to prevent annoying
typos!) For Java-based phones, it is only necessary to load the TERMnn.x-y-x-w.loads or SCCPnn.x-y-x-w.loads
firmware filename (without the .loads extension), although the other files must be available via TFTP. The following is a
sample command set:
load 7960-7940 P00303020214
load 7920 cmterm_7920.4.0-01-08
load 7941 TERM41.7-0-3-0S
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Defining Source IP and Port
The CM Express software uses SCCP to communicate with the phones. (SIP signaling is also possible but is not covered
in this document.) The command ip source-address ip-address [port port] defines the IP address of the router that will
be used as the source for SCCP messages. The default SCCP TCP port is 2000 and does not normally need to be
changed, but the option is available if the situation should require it.
Autoregistration
The autoregistration function is enabled by default; this allows a phone to be discovered and registered to an available
ephone slot (provided the ip source-address command is configured). The command no auto-reg-ephone prevents a
phone from registering unless its MAC address is explicitly configured already. CM Express records the MACs of all
phones that attempt to register but are blocked by autoregistration being disabled; use the show ephone
attempted-registrations command to see the list and the clear telephony-service ephone attempted-registrations
command to see and clear the list.
Create XML Config Files
The create cnf-files command takes the configurations (including the firmware load, the source IP address, and port we
just defined) and builds an XML config file for each phone. This is a necessary step, and one that you may repeat from
time to time, for example, if you upgrade firmware or make other changes to the phone configuration.
DID Configurations
It is common to have a range of DID numbers (fully qualified E.164 numbers) that allow outside callers to reach internal
extensions directly; usually, the DIDs have the four-digit internal extension as the last four digits. CM Express supports
this configuration with the dialplan-pattern command. This function expands extension numbers to full E.164 numbers
and converts incoming E.164 numbers to local extensions. The command is also needed to register the range of numbers
the command specifies with a gatekeeper; in fact, once configured, the range is automatically registered if a gatekeeper
is configured. You can disable this with the no-reg keyword. The full syntax is dialplan-pattern tag pattern
Automated Deployment of Endpoints
In some cases, it is desirable to automate the deployment of phones. The telephony-service auto-assign command will
dynamically create ephones as physical phones are connected to the system, assigning an available ephone-dn to the
ephone. The ephone-dns must all be the same type (that is, single line or dual line). You must have a range of ephone-dns
configured, but it is no longer necessary to create each ephone and associate it manually.
The auto assign start-dn to stop-dn [type phone-type] [cfw number timeout seconds] command syntax specifies the
range of ephone-dns to use for a given phone model, the Call Forward Busy number to use (typically the voice-mail port),
and timeout values. You can enter multiple commands to specify ranges for your different phone types; if no phone type
is specified, any phone that registers will be assigned an ephone-dn from the specified range. The 7914 sidecar is not
supported by this command; phones with this add-on must have it manually added. The auto-assign cannot be used for
ephone-dns that serve paging, MoH, intercom or MWI functions. Nor can it be used for shared-line implementations.
Changes must be performed manually at the CLI, followed by resetting the affected phones. The following is a sample of
how the command can be used:
t e l e p h o n y - s e r v i ce
auto assign 11 to 20 type 7920
auto assign 21 to 30 type 7940
auto assign 31 to 40 type 7960
auto assign 41 to 50
ephone-dn 1 d u a l - l i ne
number 5301
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
extension-length length extension-pattern pattern [no-reg]. The pattern uses the same wildcards as dial peers. A
sample configuration to set up a dial plan pattern for extensions 5300-5399 and expand them to the DID range of
867-555-5300-867-555-5399 would look like this:
t e l e p h o n y - s e r v i ce
d i a l p l a n - p a t t e r n 1 86755553.. e x t e n s i o n - l e n g t h 4 extension p a t t e r n 5 3 ..
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
The preceding output assigns ephone-dns from 11 to 20 to 7920s, 21 to 30 to 7940s, 31 to 40 to 7960s, and 41 to 50 to
any other type of phone (including those already specified, if there are no more ephone-dns in their range).
Location Customization
CM Express supports phone display language, time display, and ring cadence localization. The user-locale languagecode
command will change the language displayed on all 7940 and 7960 phones; the 7920 is not affected and must be
configured with its individual language capability local to the phone. The network-locale language-code command will
change the call progress tones and ring cadence (again with the exception of the 7920).
Following are language codes supported for User Locale:
• DE: Germany
• DK: Denmark
• ES: Spain
• FR: France
• IT: Italy
• NL: Netherlands
• NO: Norway
• PT: Portugal
• RU: Russian Federation
• SE: Sweden
• US: United States (default)
• JA:Japan
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Following are language codes supported for Network Locale:
• AT: Austria
• CA: Canada
• CH: Switzerland
• DE: Germany
• DK: Denmark
• ES: Spain
• FR: France
• GB: United Kingdom
• IT: Italy
• JA: Japan
• NL: Netherlands
• NO: Norway
• PT: Portugal
• RU: Russian Federation
• SE: Sweden
• US: United States (default)
To change the time display format, use the time-format {12 I 24} command. To change the date format, use date-format
{mm-dd-yy I dd-mm-yy I yy-dd-mm I yy-mm-dd}.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Rebooting IP Phones
There are two commands available to reboot IP Phones, each with a slightly different behavior. The reset command
causes a hard reboot of the phone and invokes DHCP and TFTP. Use reset when changing firmware, user/network
locales, or URLs. The reset command can be executed to reset a single phone at the config-ephone prompt, or at the
config-telephony prompt to reset one or more phones. The full syntax is reset {all [time-interval] I cancel I mac-address
Isequence-all}. The command options work as follows:
• all: Resets all phones.
• time-interval: Changes the interval between the router resetting the phones in sequence (default = 15sec).
• cancel: Stops the reset process.
• mac-address: Resets a specific phone.
• sequence-all: The router waits for one phone to reset and reregister before resetting the next phone to prevent the
phones from overloading the TFTP server. This can be time consuming; the router waits 4 minutes as a timeout
before resetting the next phone, whether or not the reregistration of the previous has finished.
The restart command causes a soft (warm) reboot and is useful for minor configuration changes, such as buttons, lines,
and speed-dial modifications. This command can also be executed either at the config-ephone prompt or at the configtelephony
prompt. The syntax is restart {all [time-interval] I mac-address}, with the command parameters the same as
the reset command.
Troubleshooting Endpoints
Check the following when troubleshooting:
• Verify IP addressing: Use the Settings button on the phone to check the configuration of the IP phone. The TFTP
Server IP should be the CM Express router.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• Verify the files in flash memory: Verify that the correct firmware files are in the flash memory of the Cisco Unified
Communications Manager Express router using the show flash command.
• Debug the TFTP server: Use debug tftp events to ensure that the Cisco Unified Communications Manager
Express router is correctly providing the firmware and XML files.
• Verify the firmware installation of the phones: Use the debug ephone register command to verify which
firmware is being installed.
• Verify that the locale is correct: Use the show telephony-service tftp-bindings command to view the files that the
TFTP server is providing.
• Verify the phone setup: Use the show ephone command to view the status of the ephones and whether they are
registered correctly.
• Review the configuration: Use the show running-config command to verify the ephone-dn configuration.

Introducing Cisco Unified Communications Manager Express Best Cisco CCIE Course Training Institute in Delhi Gurgaon India

Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192

Unified CM Express is a router-based call agent that scales up to 240 phones, depending on platform capacity. The
system extends the benefits of Unified Communications to small businesses.
Unified CM Express supports a wide range of TP Phone, system, and trunk features, as well as voice-mail integration with
Unity, Unity Express, and third-party systems using H.323 or analog DTMF signaling. For a complete feature list, refer to
the Unified Communications Manager Express 4.2 Data Sheets on cisco.com.
Unified CM Express runs on the ISR platforms, including the 2800 and 3800 series, and on the 3700 series Multiservice
Access Routers. The appropriate IOS IP Voice feature set, along with IP Phone licenses and firmware, and flash and
RAM appropriate for the install are required. The optional GUI files may be installed for simplified configuration and
administration but are not required.
Unified CM Express supports all current-generation IP Phones.
Defining Ephone and Ephone-DN
An ephone is an Ethernet phone, and an ephone-dn is an Ethernet phone directory number. In CM Express, an ephone is a
logical configuration and settings for a physical phone, and the ephone-dn is a destination number that can be assigned to
multiple ephones.
An ephone-dn always has a primary directory number, and it may have a secondary one as well. When you create an
ephone-dn, you can specify it as single line (the default) or dual line. A single line can terminate one call; a dual line can
terminate two calls at the same time. This is necessary for call waiting, consultative transfer, and conferencing features
to work. When you create an ephone-dn, the router automatically creates POTS dial peers to match. The following
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
configuration creates a dual-line ephone-dn with a primary and secondary number. The number 20 in the configuration is
the tag, which is simply a unique identifier:
Router(config)#ephone-dn 20 d u a l - l i ne
Router(config-ephone-dn)#number 5309 secondary 8675309
There is a maximum number of ephone-dns that a given platform will support; this is controlled by the hardware capacity
and by licensing. The max-dn <max-dn-value> command must be set to create ephone-dns; the default is zero. Be aware
that the router immediately reserves memory for the number of dns you specify, whether they are created or not; you
should configure only what you will actually need.
An ephone is the logical configuration of a physical phone. Each ephone is given a tag to uniquely identify it. The MAC
address of the phone ties it to the ephone configuration. CM Express will detect all phone models except the 7914
sidecar, which must be specified manually. Each different model of IP Phone has a different number of buttons, to which
various functions can be applied; the top button is always numbered " 1 , " with the others following in numerical order.
The button command allows you to specify which button does what. The following configuration creates a basic ephone
for a 7960 with a 7914 sidecar; the button 1:20 command assigns button 1 the dn (5309) assigned to ephone-dn 20 from
the previous example:
r o u t e r ( c o n f i g ) # ephone 20
r o u t e r ( c o n f i g - e p h o n e ) # mac-address AAAA.BBBB.CCCC
r o u t e r ( c o n f i g - e p h o n e ) # type 7960 addon 1 7914
r o u t e r ( c o n f i g - e p h o n e ) # button 1:20
Types of ephone-dns
Six types of ephone-dns are configurable in CM Express:
• Single line: This ephone-dn creates a single virtual port. Although you can specify a secondary number, the phone
can terminate only one call at a time, so it cannot support call waiting. It should be used when there is one phone
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
button for each PSTN line that comes into the system. It is useful for things like paging, intercom, call-park slots,
MoH feeds, and MWI.
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number 1001
• Dual line: The dual-line ephone-dn can support two call terminations at the same time and can have a primary and a
secondary number. It should be used when a single button supports call features like call waiting, transfer, and
conferencing. It should not be used for lines dedicated to intercom, paging, MoH feeds, MWI, or call park. It can be
used in combination with single-line ephone-dns on the same phone.
Router(config)#ephone-dn 2 d u a l - l i ne
Router(config-ephone-dn)#number 1002
• Dual number: This ephone-dn has a primary and secondary number, making it possible to dial two separate
numbers to reach the phone. It can be either a single- or dual-line ephone-dn; it should be used when you want to
have two numbers for the same button without using more than one ephone-dn.
• Shared ephone-dn: The same ephone-dn and number appears on two separate phones as a shared line, meaning that
either phone can use the line, but once in use the other cannot then make calls on that line. The line will ring on all
phones that share the ephone-dn, but only one can pick up. If the call is placed on hold, any one of the other phones
sharing the line can pick it up.
• Multiple ephone-dns on one or more ephones: This configuration allows multiple calls to the same extension to be
handled simultaneously on a single phone; for example, using three dual-line ephone-dns with the same number will
terminate six calls on the phone. By using multiple ephone-dns on multiple phones, all the phones can answer the
same number. This is not a shared line because the phones will ring in succession, and a call on hold can be
answered only by the phone that placed it on hold. Controlling the hunting behavior (the order in which buttons or
phones ring) is done with the preference and huntstop commands, as explained in the "Hunting Configuration"
section that follows.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• Overlay ephone-dn: An overlay consists of two or more ephone-dns (up to 25) applied to the same button; all these
ephone-dns must be either single or dual line. (You can't mix the types.) The call coverage is similar to a shared-line
setup, except that a call to the number on one phone does not block the use of the same number on another phone.
You can overlay up to 10 lines on a single button and then configure the same overlay set on 10 phones, with the
result that all 10 phones could answer calls to the same number. The button command with the overlay separator
creates the overlay set. The overlay separator can be o, which designates an overlay set without call waiting, or c,
which designates call waiting. The command button lo30,31>32,33,34,35 c o n f j g u r e s ephone-dns 30, 31, 32, 33, 34,
and 35 on button 1 without call waiting.
Hunting Configuration
Hunting allows a call to search for an available line to ring. This is commonly used in environments where call coverage
is needed to answer the same number, such as a call center or help desk. The preference command sets the order in
which the call will be tried on a list of ephone-dns; the huntstop command stops the hunting when it reaches that
ephone-dn; from this point, it is typical to send the call to voice mail.
The default is huntstop enabled. This can prevent calls from rolling over to the next ephone-dn, so the no huntstop
command must be used to allow the desired hunting behavior.
If dual-line ephone-dns are configured, the default behavior is for the call to hunt from the first line to the second. This
causes the same phone to ring twice for the same call.
The following configuration creates an ephone with two ephone-dns that both terminate calls to 1003. The huntstop
configuration sends calls to the first channel of ephone-dn 3, then the second channel of ephone-dn 3, then the first
channel of ephone-dn 4, then the second channel of ephone-dn 4.
Router(config)#ephone-dn 3 d u a l - l i ne
Router(config-ephone-dn)#number 1003
Router(config-ephone-dn)#preference 0
Router(config-ephone-dn)#no huntstop
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Router(config)#ephone-dn 4 d u a l - l i ne
Router(config-ephone-dn)#number 1003
Router(config-ephone-dn)#preference 1
Router(config-ephone-dn)#huntstop
Router(config)#ephone 3
Router(config-ephone)#mac-address AAAA.BBBB.CCCC
Router(config-ephone)#button 1:3 2:4
This is not necessarily the behavior we want; it is more common to use the second channel of an ephone-dn for transfer,
call waiting, or conferencing. We can force the call to hunt from channel 1 of the first ephone-dn directly to channel 1 of
the second ephone-dn instead, using the hunststop channel command. The following configuration will send the call
from channel 1 of ephone-dn 5 (on button 2) to channel 1 of ephone-dn 6 (on button 3), then to channel 2 of ephone-dn 6
(also on button 3):
Router(config)#ephone-dn 5 d u a l - l i ne
Router(config-ephone-dn#number 1004
Router(config-ephone-dn#preference 0
Router(config-ephone-dn#huntstop channel
Router(config)#ephone-dn 6 d u a l - l i ne
Router(config-ephone-dn#number 1004
Router(config-ephone-dn#preference 1
Router(config-ephone-dn#no huntstop channel
Router(config)#ephone 4
Router(config-ephone#mac-address AAAA.BBBB.CCCC
Router(config-ephone#button 2:5 3:6
In a call-coverage scenario, we would want the call to hunt to an agent who is not already on the phone. Here we configure
the call to hunt from channel 1 on the first phone to channel 1 on the second phone:
Router(config)#ephone-dn 5 d u a l - l i ne
Router(config-ephone-dn#number 1004
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Router(config-ephone-dn#preference 0
Router(config-ephone-dn#huntstop channel
Router(config)#ephone-dn 6 d u a l - l i ne
Router(config-ephone-dn#number 1004
Router(config-ephone-dn#preference 1
Router(config-ephone-dn#huntstop channel
Router(config)#ephone 4
Router(config-ephone#mac-address AAAA.BBBB.CCCC
Router(config-ephone#button 2:5
Router(config)#ephone 5
Router(config-ephone#mac-address DDDD.EEEE.FFFF
Router(config-ephone#button 2:6

Quality of Service Best Cisco CCSP Course Training Institute in Delhi Gurgaon India

Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192

Quality of service (QoS) is possibly the single most important feature to deploy to ensure a successful VoIP system. This
section defines and describes why QoS is needed and explains how to configure and deploy a QoS solution using both the
Modular QoS Command Line (MQC) and AutoQoS.
QoS Definition
QoS is defined as
The ability of the network to provide better or "special" service to a set of users and applications at the expense of other users and
applications.
Voice and video traffic is very sensitive to delayed packets, lost packets, and variable delay (jitter). The effects of these
problems manifest as choppy audio, missing sounds, echo, or unacceptably long pauses in the conversation that cause
overlap, or one talker interrupting the other. QoS configurations provide bandwidth guarantees while minimizing delay
and jitter for priority traffic like VoIP. They do so not by creating additional bandwidth, but by controlling how the available
bandwidth is used by the different applications and protocols on the network. In effect, this often means that data
applications and protocols are restricted from accessing bandwidth when VoIP traffic needs it. This does not have much of
an impact on the data traffic, however, because it is generally not as delay or drop-sensitive as VoIP traffic.
The areas that QoS can address to improve and guarantee voice quality are the following:
• Bandwidth
• Delay (including delay variation or jitter)
• Packet loss
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Bandwidth
A VoIP call follows a single path from end to end. That path may include a variety of LAN and WAN links. The slowest
link represents the available bandwidth for the entire path—often referred to as a bottleneck because of the congestion the
slow link can cause.
If congestion is occurring, there are several ways to fix the problem:
• Increase the bandwidth: If bandwidth is unlimited, congestion cannot occur. Realistically, however, increasing
bandwidth is costly and is usually unnecessary if QoS is applied instead.
• Queuing: QoS employs advanced queuing strategies, which classify different traffic types and organize the classes
into queues that are emptied in order of priority. The queuing strategies commonly used in Cisco Unified
Communications include the following:
• Weighted fair queuing (WFQ): WFQ dynamically assigns bandwidth to traffic flows as they arrive at the
router interface. No configuration is necessary; the strategy is enabled by default on router links of Tl speed
and below. This strategy is not appropriate for VoIP because it does not provide a bandwidth guarantee for the
voice traffic, but instead allocates bandwidth fairly based on flow sizes (hence the name). VoIP needs a Priority
queue (PQ) that guarantees it the bandwidth it needs, at the expense of all other traffic.
• Class-based weighted fair queuing (CBWFQ): CBWFQ extends the WFQ algorithm to include user-defined
classes for traffic. Instead of the router dynamically interpreting traffic flows and building queues for them, the
admin classifies the traffic and assigns it to queues of configurable size and bandwidth allocation. There is still
no priority queue, however, so CBWFQ is not appropriate for VoIP.
• Low-latency queuing (LLQ): LLQ extends the CBWFQ system with the addition of a PQ. The PQ is typically
reserved for voice traffic, and if any packets show up in the PQ, all packets in the queue are immediately sent
while packets of other traffic types are held in their respective queues. This is the preferred queuing method for
VoIP networks.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• Compression: Several strategies are available to make the data that needs to be sent smaller so that it consumes less
bandwidth:
• Payload compression: By compacting the contents of a packet, the total size is somewhat reduced. This
compression method does not affect the headers, which makes it appropriate for links that require the header to
be readable to route the packet correctly (Frame Relay and ATM as examples).
• Link compression: On point-to-point links where the header information is not needed to route the packet, link
compression may be used.
• Header compression: By specifying the use of compressed RTP (cRTP), the Layer 3 and 4 headers of a VoIP
packet are dramatically reduced, from 40 to as little as 2 bytes. TCP header compression is also available for
non-VoIP traffic using TCP transport.
Compression takes time and CPU resources, adding delay; this must be factored in to the decision of what strategies are
appropriate for a given link.
Delay
Reducing end-to-end delay is a primary goal of QoS. Delay is calculated by adding the cumulative delay totals from
source to destination and will be expressed as one-way or round-trip. Delay is classified in the following ways:
• Fixed delay is predictable and constant. Sources of fixed delay include the following:
• Propagation delay: The amount of time it takes for the signal to transit the link. This is effectively the speed of
light as it moves through copper or optical media. Light travels just less than a foot in one-billionth of a second,
so long-distance links can impose significant delay that cannot be eliminated. L.A. to New York links routinely
see 40 ms one-way propagation delay.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• Serialization delay: This is the time it takes to load bits onto the media; this relates directly to the speed of the
link and cannot be altered unless that speed is changed.
• Variable delay includes processing and queuing delays; these will vary depending on the traffic load, the router
performance, and many other factors that are not easily predictable or constant.
Minimizing delay employs the same strategies as improving bandwidth:
• Increase link speed.
• Use Priority queuing (such as LLQ) for delay-sensitive traffic.
• Employ appropriate compression techniques.
Packet Loss
Ideally, no packets of any type will be lost, but this is not realistic. We do need to minimize packet loss for VoIP traffic
because it has no mechanism to retransmit lost packets (unlike TCP, for example). Packets are lost for a variety of
reasons:
• Tail drop: When an output queue is full, no more arriving packets can be placed in the queue. Any packets that
arrive when the queue is full are dropped from the last position (tail) of the queue and cannot be recovered. This is
the most common source of packet loss.
• Input drop: If the input queue fills up, arriving packets are dropped and lost. This is rare, and it usually indicates an
overloaded router CPU.
• Overrun: Also the result of CPU congestion, overruns happen when the router cannot assign the packet to a free
buffer space.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• Ignore: There is no buffer space available.
• Frame errors: Problems in transmission created CRC errors, giant or runt frames. This is usually related to EMI or
failing interface hardware.
Minimizing loss can be achieved with QoS mechanisms like LLQ and compression or by increasing link speed. Some
additional and complementary strategies known as Link Efficiency mechanisms will help to prevent congestion:
• Traffic shaping: Delays packets and sends them at a configured maximum rate. For example, if an FTP server is
generating a 512 kbps stream, shaping could limit the output to 256 kbps, delaying the transmission of the excess
traffic. This will add significant delay and might cause packets to be dropped, so it is not desirable to shape VoIP
traffic, but shaping data traffic is an effective tool to complement voice QoS settings.
• Traffic policing: Drops packets in excess of a configured threshold. These packets may be retransmitted if the traffic
is using TCP, but because VoIP does not, policing should not be applied to VoIP traffic. Again, policing is an effective
complement to QoS configurations.
QoS Requirements for VoIP
There are some accepted targets for delay, loss, and jitter for VoIP traffic. These are the targets that QoS and Link
Efficiency mechanisms help us reach:
• Delay should be less than 150 ms one way.
• Jitter (the variation in the delay between packets) should be less than 30 ms one way.
• Packet loss should be less than 1 percent.
• Each VoIP call requires between 17 kbps and 106 kbps of priority bandwidth, depending on the codec, compression,
and Layer 2 in use; it also requires another 150 bps per call for signaling traffic.
QoS Requirements for Data Traffic
Although data requirements are not as strict as those of VoIP, it is appropriate to classify the enterprise data traffic into
four or five classes and assign each a certain amount of bandwidth in its particular queue. The Cisco QoS classification
tools include Network-Based Application Recognition (NBAR), which makes it simple to classify traffic that would
otherwise be difficult or impossible.
The classifications you create will compose the QoS policy for the organization. The policy will reflect the actual needs
of both voice and data traffic on the network and will be a living document that will adapt to changes in the organization
and the applications it uses for business. A QoS policy is developed using the following process:
1. Perform a network audit to determine the current state of traffic on the network. Determine whether congestion problems
already exist, and list all applications discovered in current use.
2. Perform a business audit to determine where the applications in use fit into the business model. Some apps will be
characterized as critical to the business, some as routine, and some as trivial or perhaps even undesirable. It is not
uncommon to discover that the business executive had no idea some apps were in use, and a decision needs to be
made about how to treat all applications discovered, legitimate or otherwise.
3. Determine the level of service required for each app. This will range from Priority for voice and video, through
Mission Critical, Urgent, Routine and Scavenger, and even Disallowed. The names are not important; the ones used
here serve only to identify the relative importance of the apps as they are classified. Every business audit will generate
a slightly different picture of what is vital to the business and what is to be disallowed.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
• The requirements for video are similar; bandwidth consumption is calculated as [video codec output] + 20 percent.
For example: a typical 384 kbps video stream should be allocated 460 kbps of priority bandwidth.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
4. Build the classification scheme to match the audit findings. Use the business audit and the executive's decisions to
create a classification scheme that lines up with the business needs.
5. Define the QoS settings for each traffic class. This may include a minimum and maximum bandwidth allocation, a
priority for each class, queuing strategies, and link efficiency methods, as appropriate.
AutoQoS
QoS configuration is one of the more advanced skills in the IOS CLI environment. Although it is essentially simple in
architecture, the many commands needed are intimidating and time consuming. AutoQoS is a feature available on voiceenabled
IOS platforms to greatly simplify and automate QoS configurations. AutoQoS generates traffic classes and
service policies using predefined templates, making an in-depth understanding of the commands unnecessary. In any environment
where there is a lack of skill or time, AutoQoS is a benefit. The autogenerated configuration adapts to changes
(such as the relocation of an IP Phone) and is manually customizable to meet specific requirements after the automated
config is completed. Auto QoS is available on all voice-enabled routers and switches with the correct IOS feature set.
Router AutoQoS is limited to the following interfaces:
• Serial PPP or HDLC links
• Frame Relay point-to-point links only
• ATM PVCs, both low- and high-speed
QoS Trust Boundary
One of the important concepts in QoS is the trust boundary—the point at which the QoS marking of a packet or frame is
believed by the switch or router. If it is trusted, the packet is treated according to the QoS marking and corresponding
policy. If it is not trusted, it may be re-marked and treated differently.
Ideally, we want to place the trust boundary as close to the source (the devices generating the traffic) as possible. This
means that the trust boundary should actually be between the IP Phone and the attached PC, because generally we do not
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
trust the PC, but we do trust the phone. If there is no phone, the trust boundary is between the switch and the PC. The
switch must be able to recognize and configure the trust boundary; if it cannot, we must move the boundary up to the
gateway router.
AutoQoS can automatically detect and configure the trust boundary by sensing a connected Cisco IP Phone and applying
the necessary QoS commands.
Configuring AutoQoS
The single command auto qos voip [trust] [fr-atm] enables AutoQoS at the interface. The keyword trust causes the
DSCP markings of packets to be trusted for classification purposes. If trust is not configured, traffic is classified using
NBAR, and the packets are DSCP marked as appropriate. The fr-atm keyword is used on Frame Relay and ATM pointto-
point links. The AutoQoS configurations are based on the configured bandwidth of the interface when AutoQoS is first
run; lowering the bandwidth after AutoQoS is run will not change the AutoQoS configurations, so AutoQoS must be
removed and reapplied if the bandwidth statement is changed.
On a switch interface, the keyword [ciscophone] enables the trusted boundary feature when the switch detects a Cisco
phone through its CDP messages. When a phone is detected, the QoS marking of packets is trusted; when no phone is
detected, the markings are not trusted.
Using the [trust] keyword on a switch interface causes the inbound QoS marking of packets to be trusted regardless of
whether a phone is detected.

Network Time Protocol Best CIsco CCNP Course Treaining Institute in Delhi Gurgaon India

Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192


Clock synchronization is important in VoIP systems for accurate Call Detail Records (used for billing), easier troubleshooting
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.
R o u t e r ( c o n f i g ) # c l o c k timezone pst -8
! S p e c i f i e s the l o c a l timezone as PST (8 hours behind GMT)
R o u t e r ( c o n f i g ) # c l o c k summer-time zone r e c u r r i n g f i r s t Sunday a p r i l 02:00 l a s t Sunday October 02:00
! A c t i v a t e s Summer Time change in the s p e c i f i e d date range
!
R o u t e r ( c o n f i g ) # n t p server 10.1.2.3
! I d e n t i f i e s the NTP master clock address
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
© 2008 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 147 for more details.
Cisco IP Phone Firmware and XML Configuration Files
Cisco IP Phones need the following three separate files to function:
• 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.
• 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.
• 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.
Power over Ethernet
Power 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:
• Cisco prestandard (inline power)
• 802.3af standard
Extra care should be taken to ensure the following:
• RJ-45 cabling is tested and meets the required 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.
Alternatively, each IP Phone may be powered by its own cable and transformer, or a variety of power injectors are available.
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.

Preparing the Infrastructure to Support Unified Communications Best Cisco CCNA Course Training Institute in Delhi India

Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192

In this section, the best practices components for preparing the network to properly support Unified Communications are
explored. Topics covered include the following:
• Voice VLANs
• DHCP
• NTP
• Power over Ethernet
• IP Phone firmware and configuration files
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. lq
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.
The phone adds a QoS marking to its own frames, using the 802. lq 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:
S w i t c h ( c o n f i g ) # i n t e r f a c e FastEthernet 0/1
S w i t c h ( c o n f i g - i f ) # s w i t c h p o r t mode access
S w i t c h ( c o n f i g - i f ) # s w i t c h p o r t access vlan 50
S w i t c h ( c o n f i g - i f ) # s w i t c h p o r t voice vlan 100
S w i t c h ( c o n f i g - i f ) # s p a n n i n g - t r e e p o r t f a st
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:
s e r v i c e dhcp
! enables the DHCP s e r v i ce
I
ip dhcp excluded-address 10.1.1.1 10.1.1.10
! s p e c i f i e s a s t a r t / e n d range of addresses that DHCP w i l l NOT assign
ip dhcp pool name IP_PH0NES
! Creates a pool of addresses ( c a s e - s e n s i t i v e name) and enters DHCP c o n f i g u r a t i o n mode
I
network 10.1.1.0 255.255.255.0
! Defines the subnet of addresses f o r the pool
d e f a u l t - r o u t e r address 10.1.1.1
! Defines the d e f a u l t gateway
dns-server address 192.168.1.10 192.168.1.11
! i d e n t i f i e s the DNS server IP address(es) - up to 8 I P 's
!
o p t i o n 150 ip 192.168.1.2
! i d e n t i f i e s 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
<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.