and Access Registrar,Airohnet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCSP,Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS,Cisco Press, Cisco Systems, Cisco Systems
Trang 1by Scott Empson; Hans Roth
Publisher: Cisco Press Pub Date: April 04, 2008 Print ISBN-10: 1-58720-185-2 Print ISBN-13: 978-1-58720-185-1 eText ISBN-10: 1-58720-215-8 eText ISBN-13: 978-1-58720-215-5 Pages: 168
easy-to-access information and is portable enough for use
whether you're in the server room or the equipment closet
This book will help you memorize commands and concepts asyou work to pass the CCNP ONT exam (642-845) The guidesummarizes all CCNP certification-level Cisco IOS® Softwarecommands, keywords, command arguments, and associatedprompts, providing you with tips and examples of how to applythe commands to real-world scenarios Sample configurationsthroughout the book provide you with a better understanding ofhow these commands are used in simple network designs
The topics in this portable command guide cover how to do thefollowing:
Describe Cisco VoIP implementations
Trang 2Edmonton, Alberta, Canada, teaching Cisco® routing,
switching, and network design courses in certificate, diploma,and applied degree programs at the post-secondary level
Compact size makes it easy to carry with you, wherever yougo
"Create Your Own Journal" section with blank, lined pagesallows you to personalize the book for your needs
This book is part of the Cisco Press® Certification Self-StudyProduct Family, which offers readers a self-paced study routinefor Cisco certification exams Titles in the Cisco Press
Certification Self-Study Product Family are part of a
recommended learning program from Cisco that includes
simulation and hands-on training from authorized
Cisco Learning Partners and self-study products from Cisco
Trang 3Category: Cisco Press–Cisco CertificationCovers: CCNP ONT Certification 642-845
$24.99 USA / $26.99 CAN
Trang 4Implementing QoS Using AutoQoS
Trang 5Configuring Low-Latency Queuing (LLQ) with Class-BasedWeighted Random Early Detection (CBWRED)
Chapter 6 Wireless Scalability
Wireless LAN QoS Configuration Using the GUI
Trang 6Cisco Wireless Control System (WCS)
Create Your Own Journal Here
Trang 7information storage and retrieval system, without written
permission from the publisher, except for the inclusion of briefquotations in a review
Trang 8Warning and Disclaimer
This book is designed to provide information about the CiscoCertified Network Professional (CCNP) 642-845 Optimizing
Converged Cisco Networks (ONT) exam and the commandsneeded at this level of network administration Every effort hasbeen made to make this book as complete and as accurate aspossible, but no warranty or fitness is implied
The information is provided on an "as is" basis The authors,Cisco Press, and Cisco Systems, Inc shall have neither liabilitynor responsibility to any person or entity with respect to anyloss or damages arising from the information contained in thisbook or from the use of the discs or programs that may
accompany it
The opinions expressed in this book belong to the author andare not necessarily those of Cisco Systems, Inc
Trademark Acknowledgments
All terms mentioned in this book that are known to be
trademarks or service marks have been appropriately
capitalized Cisco Press or Cisco Systems, Inc., cannot attest tothe accuracy of this information Use of a term in this bookshould not be regarded as affecting the validity of any
trademark or service mark
Corporate and Government Sales
The publisher offers excellent discounts on this book when
ordered in quantity for bulk purchases or special sales, whichmay include electronic versions and/or custom covers and
content particular to your business, training goals, marketingfocus, and branding interests For more information, please
contact: U.S Corporate and Government Sales 1-800-382-3419 corpsales@pearsontechgroup.com
Trang 9International Sales international@pearsoned.com
Feedback Information
At Cisco Press, our goal is to create in-depth technical books ofthe highest quality and value Each book is crafted with careand precision, undergoing rigorous development that involvesthe unique expertise of members from the professional
technical community
Readers' feedback is a natural continuation of this process Ifyou have any comments regarding how we could improve thequality of this book, or otherwise alter it to better suit yourneeds, you can contact us through email at
feedback@ciscopress.com Please make sure to include thebook title and ISBN in your message
Trang 11Cisco has more than 200 offices worldwide Addresses, phonenumbers, and fax numbers are listed on the Cisco Website at
© 2007 Cisco Systems, Inc All rights reserved CCVP, the Ciscologo, and the Cisco Square Bridge logo are trademarks of CiscoSystems, Inc Changing the Way We Work, Live, Play, and Learn
is a service Mark of Cisco Systems, Inc and Access Registrar,Airohnet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCSP,Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS,Cisco Press, Cisco Systems, Cisco Systems Capital, the CiscoSystems logo, Cisco Unity, Enterprise/Solver, EtherChannel,
EtherFast, EtherSwitch, Fast Step, Follow Me Browsing,
FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient,IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness
Scorecard, iQuick Study, LightStream, Linksys, MeetingPlace,MGX, Networking Academy, Network Registrar, Packet, PIX,
ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet,
StackWise The Fastest Way to Increase Your Internet Quotient,and TransPath are registered trademarks of Cisco Systems, Inc.and/or its affiliates in the United States and certain other
countries
All other trademarks mentioned in this document or Website arethe property of their respective owners The use of the wordpartner does not imply a partnership relationship between Ciscoand any other company (0609R)
Dedications
This book is dedicated to Trina, Zach, and Shae, without
whom I couldn't have made it through those long nights ofwriting and editing
This book is also dedicated to the memory of my father, TedEmpson, April 24, 1940 – December 10, 2007 Good men
must die, but death cannot kill their names J'taime Papa
Trang 12I'd like to dedicate this book to my wife Carol and daughterTess I am thankful for their grace and patience with meduring my many hours in the basement
I'd also like to dedicate this book to my wife Carol I'm
hopeful two dedications are worth more than one
—Hans
Trang 13Scott Empson is the Associate Chair of the Bachelor of Applied
Information Systems Technology degree program at the
Northern Alberta Institute of Technology in Edmonton, Alberta,Canada, where he teaches Cisco routing, switching, and
network design courses in a variety of different programs—certificate, diploma, and applied degree—at the post-secondarylevel Scott is also the Program Coordinator of the Cisco
Networking Academy Program at NAIT, a Regional Academycovering Central and Northern Alberta He has earned threeundergraduate degrees: a bachelor of arts, with a major in
English; a bachelor of education, again with a major in
English/language arts; and a bachelor of applied informationsystems technology, with a major in network management Hecurrently holds several industry certifications, including CCNP,CCAI, and Network+ Prior to instructing at NAIT, he was a
junior/senior high school English/language arts/computer
science teacher at different schools throughout Northern
Alberta Scott lives in Edmonton, Alberta, with his wife, Trina,and two children, Zachariah and Shaelyn, where he enjoys
reading and studying the martial art of Taekwon-Do
Hans Roth is an instructor in the Electrical/Electronic
Engineering Technology department at Red River College inWinnipeg, Canada Hans has been with the college for 11 yearsand teaches in the both the Electronic Technology and IT areas
He has been with the Cisco Academy Program since 2000
teaching CCNP curricula Previous to teaching, Hans spent 15years in R&D/product development designing microcontroller-based control systems for consumer products as well as for theautomotive and agricultural industries
Trang 14Tami Day-Orsatti, CCSI, CCDP, CCNP, CCSP:SNPA, CISSP, ECI,
EMCPA, MCT, MCSE 2000/2003: Security, is an IT networking,security, and data storage instructor for T2 IT Training She isresponsible for the delivery of authorized Cisco, (ISC)2, EMC,and Microsoft classes She has more than 23 years in the ITindustry working with many different types of organizations
(private business, city and federal government, and DoD),
providing project management and senior-level network andsecurity technical skills in the design and implementation of
complex computing environments
Mike Valentine has 13 years of experience in the IT field,
specializing in network design and installation He is currently aCisco trainer with Skyline Advanced Technology Services andspecializes in Cisco Unified Communications and CCNA and
CCNP classes His accessible, humorous, and effective teachingstyle has demystified Cisco for hundreds of students since hebegan teaching in 2002 Mike holds a bachelor of arts degreefrom the University of British Columbia and currently holds theMCSE:Security, CCNA, CCDA, CCNP, CCVP, IPTX, QoS, CCSI
#31461, C|EH and CTP certifications, and has completed theCCIE written exam
Trang 15Anyone who has ever had anything to do with the publishingindustry knows that it takes many, many people to create a
book Our names might be on the cover, but there is no waythat we can take credit for all that occurred in order to get thisbook from idea to publication Therefore, we must thank thefollowing people:
From Scott: The team at Cisco Press—once again you amaze
me with your professionalism and the ability to make me lookgood Mary Beth, Chris, Patrick, Drew, Mandie, Paula, and
Dayna—thank you for your continued support and belief in mylittle engineering journal
To my technical reviewers, Tami Day-Orsatti and Mike Valentine,thanks for keeping me on track and making sure that what Iwrote was correct and relevant
To the staff of the Cisco office here in Edmonton, thanks forputting up with me and my continued requests to borrow
equipment for development and validation of the concepts inthis book
From Hans: I don't exactly know how many people it takes to
get a book on the shelf The content must be written and thegraphics drawn, each section verified technically, each part
massaged in editing, the presentation layout manipulated andre-edited, the pre-press and post-press work completed,
including the many marketing efforts, and of course, the
Trang 16Lastly I would like to thank my colleague in education and co-excellent rudder to help me stay on course, Lastly, Scott's
experience with the process of writing for Cisco Press saved mefrom many of the "newbie" writer foibles Thank you, Scott, forfreely sharing your experience with me
Trang 17Command Syntax Conventions
The conventions used to present command syntax in this bookare the same conventions used in the IOS Command Reference.The Command Reference describes these conventions as
follows:
Boldface indicates commands and keywords that are
entered literally as shown In actual configuration examplesand output (not general command syntax), boldface
Trang 18Braces ({ }) indicate a required choice
Braces within brackets ([{ }]) indicate a required choicewithin an optional element
Trang 19Welcome to ONT! In 2006, Cisco Press came to me and told me,albeit very quietly, that there was going to be a major revision
of the CCNP certification exams Then they asked whether Iwould be interested in working on a command guide in the
same fashion as my previous books for Cisco Press: the Cisco
Networking Academy Program CCNA Command Quick Reference and the CCNA Portable Command Guide The original idea was
to create a single-volume command summary for all four of thenew CCNP exams However, early on in my research I quicklydiscovered that there was far too much information in the fourexams to create a single volume; that would have resulted in abook that was neither portable nor quick as a reference So
when I jokingly suggested that they let me author four books—one for each exam—who would have expected Cisco Press toagree? Well, you have to be careful for what you wish for, asCisco Press readily agreed Realizing that this was going to betoo much for one part-time author to handle, I quickly got mycolleague Hans Roth on board as a co-author
This book is the fourth and final volume in a four-volume setthat attempts to summarize the commands and concepts thatyou need to know in order to pass one of the CCNP certificationexams—in this case, the Optimizing Converged Cisco Networks(ONT) exam It follows the format of my previous books, whichare in fact a cleaned-up version of my own personal engineeringjournals—a small notebook that can be carried around and thatcontains little nuggets of information—commands that you
forget, the IP addressing scheme of some remote part of thenetwork, and little reminders about how to do something youonly have to do once or twice a year, but that is vital to the
integrity and maintenance of your network
With the creation of two brand-new CCNP exams, the amount ofnew information out there is growing on an almost daily basis.There is always a new white paper to read, a new Webinar toview, another slideshow from a Networkers session that was
Trang 20Preparation of This Book
To verify the commands that are in this book, many differentdevices were used The following is a list of the equipment used
in the writing of this book:
C2620 router running Cisco IOS Software Release 12.3(7)T,with a fixed Fast Ethernet interface, a WIC-2A/S serial
interface card, and an NM-1E Ethernet interface
C2811 ISR bundle with PVDM2, CMME, a WIC-2T, FXS andFXO VICs, running 12.4(3g) IOS
C2821 ISR Bundle with HWICD 9ESW, a WIC-2A/S, running12.4(16) Advanced Security IOS
WS-C3560-24-EMI Catalyst switch, running 12.2(25)SE IOSWS-C3550-24-EMI Catalyst switch, running 12.1(9)EA1cIOS
WS-C2960-24TT-L Catalyst switch, running 12.2(25)SE IOSWS-C2950-12 Catalyst switch, running version C2950-
C3.0(5.3)WC(1) Enterprise Edition software
Trang 21PVDM2, CMME, WIC-2A/S, WIC-4ESW, MOD1700-VPN with32F/128D running c1700-bk9no3r2sy7-mz.124-15.T1
VPN with 16F/64D running c1700-advsecurityk9-mz.124-5aCisco 3640 with 32F/128DRAM memory, 3 Ethernet
C1751 1FE VE DV Mainboard with WIC-4ESW, MOD1700-interfaces, 2-WIC-1T running c3640-jk9o3s-mz.124-12aCisco 4402 Wireless LAN Controller
platforms and IOS versions listed In fact, these devices are inmost cases adequate for someone to continue their studies
beyond the CCNP level as well
Who Should Read This Book
This book is for those people preparing for the CCNP ONT exam,whether through self study, on-the-job training and practice,study within the Cisco Academy Program, or study through theuse of a Cisco Training Partner It also includes some handy
hints and tips along the way to hopefully make life a bit easierfor you in this endeavor The book is small enough that you willfind it easy to carry around with you Big heavy textbooks
might look impressive on your bookshelf in your office, but canyou really carry them all around with you when you are working
in some server room or equipment closet somewhere?
Trang 22This book follows the list of objectives for the CCNP ONT exam:
Chapter 1, "Network Design Requirements," offers an
overview of the two different design models from Cisco: theService-Oriented Network Architecture and the EnterpriseComposite Network Model
Chapter 2, "Cisco VoIP Implementations," describes how toset up Cisco Unified Communications Manager Express
(CME) using the CLI, how to use the CLI for CME auto-configuration, how to install IP Communicator, and how tochange codecs using the CLI
classification, configuring Priority Queuing (PQ), configuringCustom Queuing (CQ), configuring Weighted Fair Queuing(WQ), configuring Class-based Weighted Fair Queuing
(CBWFQ), configuring Low Latency Queuing (LLQ),
configuring LLQ with Class-Based Weighted Random EarlyDetection (CBWRED), configuring traffic policing and
shaping, and implementing QoS preclassify
Chapter 5, "AutoQoS," includes topics such as the phases ofAutoQoS, locations where AutoQoS can be implemented,router considerations and prerequisites, and deploying
AutoQoS on both routers and IOS-based Catalyst switches.Chapter 6, "Wireless Scalability," includes topics such asconfiguring wireless LAN QoS using the CLI, configuringencryption and authentication on lightweight access points,
Trang 23Did We Miss Anything?
As educators, we are always interested to hear how our
students, and now readers of our books, do on both vendorexams and future studies If you would like to contact either of
us and let us know how this book helped you in your
certification goals, please do so Did we miss anything? Let usknow Contact us at ccnpguide@empson.ca
Trang 29This chapter provides information and commands concerningthe following topics:
Cisco Unified Communications Manager Express (CME) Files
- Moving Cisco Unified CME Files to the Router FlashBasic Manual CME Setup Using the CLI
memory is given at the end of this chapter
Figure 2-1 Cisco Unified Communications Manager
Express Sample Design
Trang 30Cisco Unified Communications Manager Express (CME) Files
Cisco Unified Communications Manager Express is an IOS VoIPsolution based on Cisco Integrated Services Routers There arespecific Cisco Unified CME files for each Cisco Unified CME IOS
A tar archive or zip file contains the files needed for Cisco
Unified CME Be sure to download the correct version for yourhardware platform and IOS load This tar archive or zip filetypically contains the phone firmware files that you require.Check equipment and IOS compatibilities in "Cisco Unified
Communication Manager Express 4.x Supported Firmware,Platforms, Memory, and Voice Products" found in the "Installand Upgrades" section of the Cisco Unified CommunicationsManager Express support pages at cisco.com
The tar file does not need to be opened The router will untarand copy the contents to the router flash maintaining the
directory structure specified in the tar file
Moving Cisco Unified CME Files to the Router
Trang 31files to the TFTPserver beforecopying to routerflash
Router#
copy tftp://ip-address /filename flash:
Copies each file torouter flash
memory
Router(config)# tftp-server
flash:P0xxxxxxxxxx.bin
Permits TFTPaccess to thespecified file bythe IP phones
individual CiscoCME phonefirmware filerequires a
server command.
separate tftp-SCCP firmware isdesignated byP003xxyy.bin andSIP firmware byP0S3xxyy.bin
Trang 32This chapter provides information and commands concerningthe following topics:
Cisco Unified Communications Manager Express (CME) Files
- Moving Cisco Unified CME Files to the Router FlashBasic Manual CME Setup Using the CLI
memory is given at the end of this chapter
Figure 2-1 Cisco Unified Communications Manager
Express Sample Design
Trang 33Cisco Unified Communications Manager Express (CME) Files
Cisco Unified Communications Manager Express is an IOS VoIPsolution based on Cisco Integrated Services Routers There arespecific Cisco Unified CME files for each Cisco Unified CME IOS
A tar archive or zip file contains the files needed for Cisco
Unified CME Be sure to download the correct version for yourhardware platform and IOS load This tar archive or zip filetypically contains the phone firmware files that you require.Check equipment and IOS compatibilities in "Cisco Unified
Communication Manager Express 4.x Supported Firmware,Platforms, Memory, and Voice Products" found in the "Installand Upgrades" section of the Cisco Unified CommunicationsManager Express support pages at cisco.com
The tar file does not need to be opened The router will untarand copy the contents to the router flash maintaining the
directory structure specified in the tar file
Moving Cisco Unified CME Files to the Router
Trang 34files to the TFTPserver beforecopying to routerflash
Router#
copy tftp://ip-address /filename flash:
Copies each file torouter flash
memory
Router(config)# tftp-server
flash:P0xxxxxxxxxx.bin
Permits TFTPaccess to thespecified file bythe IP phones
individual CiscoCME phonefirmware filerequires a
server command.
separate tftp-SCCP firmware isdesignated byP003xxyy.bin andSIP firmware byP0S3xxyy.bin
Trang 35Router(config)#
telephony-service
service configurationmode
Enters telephony-
Router(config-telephony-service)# max-ephones 24
Sets the maximumnumber of supported IPphones
Router(config-telephony-service)# max-dn 48
Sets the maximumnumber of extensions
number of phones andextensions is platformand IOS version
be used by specificCisco IP phones whenthey register
Router(config-telephony-service)#
ip source-address 192.168.31.1
Identifies the IPaddress and portnumber for IP phoneregistration
Router(config-telephony-service)# reset
Resets all phones one
at a time
Trang 36
Router(config-telephony-service)# exit
Returns to globalconfiguration mode
Enabling Calls in the CME VoIP Network
Router>enable Enables privileged
EXEC mode Enter yourpassword if prompted
Router# configure
terminal
Enters globalconfiguration mode
Router(config)# voice
service voip
Enters voice serviceconfiguration mode andspecifies Voice over IP(VoIP) encapsulation
Router(config-voi-srv)#
allow-connections h323
to h323
Enables calls betweenspecific types of
endpoints in a VoIPnetwork
Router(config-voi-srv)#
allow-connections h323
to SIP
Enables calls betweenspecific types of
endpoints in a VoIPnetwork
Router(config-voi-srv)#
allow-connections SIP to
SIP
Enables calls betweenspecific types of
endpoints in a VoIPnetwork
allow-connections
command is requiredfor each type of
endpoint to be
Trang 37Router(config-voi-srv)#
sip
Enters SIPconfiguration mode
are connecting IPphones running SIPdirectly in Cisco CME3.4 and later
Router(config-voi-sip)#
registrar server expires
max 600 min 60
Enables SIP registrarfunctionality in CiscoUnified CME with lowestvalues
CME does not maintain
a persistent database
of registration entriesacross CME routerreloads SIP phones willhave to register again
recommends settingthe timers to theirminimum values
Configuring DHCP for the VoIP Phones
Router(config)# ip dhcp
pool VoIP-POOL
Creates a name for theDHCP server addresspool and enters DHCPpool configurationmode
Router(config-dhcp)# Specifies the IP address
Trang 38255.255.255.0
of the DHCP addresspool to be configured
Router(config-dhcp)#
option 150 ip
192.168.31.1
Specifies the TFTPserver address fromwhich the Cisco Unified
IP phone downloads theimage configurationfile
Cisco Unified CMErouter's address It isrecommended tochoose a loopbackaddress
Router(config-dhcp)#
default-router
192.168.30.1
Specifies the gatewayaddress for IP phone
Router(config-dhcp)# end Returns to privileged
Defining a DHCP Relay
Note
DHCP relay is required if the Cisco Unified CME router isnot the DHCP server and/or the CME router is not on acommon segment with the VoIP phones
Trang 39interface fastethernet
0/0
Enters interfaceconfiguration mode forthe specified interface
Router(config-if)# ip
helper-address
ip-address
Specifies the IP addressfor any TFTP and/orDNS servers
helper-address
command is requiredfor each server if theservers are on differenthosts You configuremultiple TFTP server
targets by using the ip helper-address
commands for multipleservers
Router(config-if)# end Returns CLI to the
Router(config)# clock
timezone CST -6
Sets the time zone toCentral Standard Time(CST), which is 6 hoursbehind UTC
Trang 40NOTE: If the clock
summer-time zone
recurring command is
specified withoutparameters, thesummer time rulesdefault to United Statesrules
Router(config)# ntp
server ip-address
Synchronizes thesoftware clock of therouter with the
specified Network TimeProtocol (NTP) server
Router(config)# ntp
master
Enables the router'sNTP server
recommended to have
a single authoritativetimer or server that alldevices and services inthe network query
Router(config-ephone-dn)#
name Bob Smith
Assigns a name tothe directory
number