Table Of Contentptg13046388
C CIE Routing and
Switching v5.0 Official
Cert Guide, Volume 1
F ifth Edition
N arbik Kocharians, CCIE No. 12410
Peter Palúch, CCIE No. 23527
ptg13046388
Cisco Press
800 East 96th Street
Indianapolis, IN 46240
C CIE Routing and Switching v5.0 Official Cert Guide,
Volume 1, Fifth Edition
N arbik Kocharians, CCIE No. 12410
P eter Palúch, CCIE No. 23527
C opyright© 2015 Pearson Education, Inc.
P ublished by:
Cisco Press
800 East 96th Street
Indianapolis, IN 46240 USA
A ll rights reserved. No part of this book may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage and retrieval
system, without written permission from the publisher, except for the inclusion of brief quotations in a
review.
P rinted in the United States of America
F irst Printing August 2014
L ibrary of Congress Control Number: 2014944345
I SBN-13: 978-1-58714-396-0
I SBN-10: 1-58714-396-8
ptg13046388
W arning and Disclaimer
T his book is designed to provide information about Cisco CCIE Routing and Switching Written Exam,
No. 400-101. Every effort has been made to make this book as complete and as accurate as possible, but
no warranty or fitness is implied.
T he information is provided on an “as is” basis. The authors, Cisco Press, and Cisco Systems, Inc. shall
have neither liability nor responsibility to any person or entity with respect to any loss or damages arising
from the information contained in this book or from the use of the discs or programs that may accom-
pany it.
T he opinions expressed in this book belong to the authors and are not necessarily those of Cisco
Systems, Inc.
T rademark Acknowledgments
A ll terms mentioned in this book that are known to be trademarks or service marks have been appropri-
ately capitalized. Cisco Press or Cisco Systems, Inc., cannot attest to the accuracy of this information.
Use of a term in this book should not be regarded as affecting the validity of any trademark or service
mark.
S pecial Sales
F or information about buying this title in bulk quantities, or for special sales opportunities (which may
include electronic versions; custom cover designs; and content particular to your business, training
goals, marketing focus, or branding interests), please contact our corporate sales department at
iv CCIE Routing and Switching v5.0 Official Cert Guide, Volume 1
A bout the Authors
N arbik Kocharians, CCIE No. 12410 (Routing and Switching, Security, SP), is a Triple
CCIE with more than 32 years of experience in the IT industry. He has designed,
implemented, and supported numerous enterprise networks. Narbik is the president of
Micronics Training Inc. (w ww.micronicstraining.com) , where he teaches CCIE R&S and
SP boot camps.
P eter Palúch, CCIE No. 23527 (Routing and Switching), is an assistant professor, Cisco
Networking Academy instructor, and instructor trainer at the Faculty of Management
Science and Informatics, University of Zilina, Slovakia. Peter has cooperated in various
educational activities in Slovakia and abroad, focusing on networking and Linux-based
network server systems. He is also active at the Cisco Support Community, holding the
Cisco Designated VIP award in LAN & WAN Routing and Switching areas since the
award program inception in 2011. Upon invitation by Cisco in 2012, Peter joined two Job
Task Analysis groups that assisted defining the upcoming CCIE R&S and CCNP R&S cer-
tification exam topics. Peter holds an M.Sc. degree in Applied Informatics and a doctoral
degree in the area of VoIP quality degradation factors. Together with his students, Peter
has started the project of implementing the EIGRP routing protocol into the Quagga
open-source routing software suite, and has been driving the effort since its inception in
2013.
ptg13046388
v
A bout the Technical Reviewers
P aul Negron, CCIE No. 14856, CCSI No. 22752, has been affiliated with networking
technologies for 17 years and has been involved with the design of core network ser-
vices for a number of service providers, such as Comcast, Qwest, British Telecom, and
Savvis to name a few. He currently instructs all the CCNP Service Provider–level courses,
including Advanced BGP, MPLS, and the QoS course. Paul has six years of experience
with satellite communications as well as ten years of experience with Cisco platforms.
S ean Wilkins is an accomplished networking consultant for SR-W Consulting
(w ww.sr-wconsulting.com) and has been in the field of IT since the mid 1990s, working
with companies such as Cisco, Lucent, Verizon, and AT&T as well as several other private
companies. Sean currently holds certifications with Cisco (CCNP/CCDP), Microsoft
(MCSE), and CompTIA (A+ and Network+). He also has a Master of Science in informa-
tion technology with a focus in network architecture and design, a Master of Science
in organizational management, a Master’s Certificate in network security, a Bachelor of
Science in computer networking, and Associates of Applied Science in computer infor-
mation systems. In addition to working as a consultant, Sean spends most of his time as a
technical writer and editor for various companies; check out this work at his author web-
site: w ww.infodispersion.com.
ptg13046388
vi CCIE Routing and Switching v5.0 Official Cert Guide, Volume 1
D edications
F rom Narbik Kocharians:
I would like to dedicate this book to my wife, Janet, for her love, encouragement, and
continuous support, and to my dad for his words of wisdom.
F rom Peter Palúch:
T o my family, students, colleagues, and friends.
ptg13046388
vii
A cknowledgments
F rom Narbik Kocharians:
F irst, I would like to thank God for giving me the opportunity and ability to write, teach,
and do what I truly enjoy doing. Also, I would like to thank my family, especially my
wife of 29 years, Janet, for her constant encouragement and help. She does such an amaz-
ing job of interacting with students and handling all the logistics of organizing classes as
I focus on teaching. I also would like to thank my children, Chris, Patrick, Alexandra, and
my little one, Daniel, for their patience.
A special thanks goes to Mr. Brett Bartow for his patience and our constant changing
of the deadlines. It goes without saying that the technical editors and reviewers did a
phenomenal job; thank you very much. Finally, I would like to thank all my students who
inspire me every day, and you, for reading this book.
F rom Peter Palúch:
T he opportunity to cooperate on the new edition of this book has been an honor and
privilege beyond words for me. Wendell Odom, who has so gracefully and generously
passed the torch to us, was the key person in introducing me to the Cisco Press repre-
sentatives as a possible author, and I will be forever indebted to him for all the trust he
has blessed us with. I have strived very much to live up to the unparalelled high level of
content all previous authors have maintained throughout all editions of this book, and I
would like to sincerely thank all of them for authoring such a great book that has signifi- ptg13046388
cantly helped me achieve my certification in the first place.
M y next immense thank you goes to Brett Bartow, the executive editor for this book.
Brett’s inviting and forthcoming attitude throughout the time of editing the book, com-
pounded with his patience and understanding for my ever-moving (and constantly missed)
deadlines, is second to none. He has done all in his power to help us, the authors, without
compromising the quality of the work.
I would not have been able to complete my work on this volume without the endless sup-
port of my family. They have encouraged me, supported me, and gone out of their way to
accommodate my needs. Words are not enough to express my gratitude.
P salm 127, whose musical setting in works of Monteverdi, Handel, or Vivaldi I have
come to admire, begins with words “Unless the Lord build the house, they labor in vain
who build.” Indeed, if it was not first and foremost the Lord’s blessing and help through-
out, this work would not have been finished successfully. To my Lord and Savior, Jesus
Christ—thank you!
viii CCIE Routing and Switching v5.0 Official Cert Guide, Volume 1
C ontents at a Glance
I ntroduction x xiv
Part I L AN Switching
Chapter 1 E thernet Basics 3
Chapter 2 V irtual LANs and VLAN Trunking 4 7
Chapter 3 S panning Tree Protocol 1 03
Part II I P Networking
Chapter 4 I P Addressing 1 83
Chapter 5 I P Services 2 27
Part III I P IGP Routing
Chapter 6 I P Forwarding (Routing) 2 67
Chapter 7 R IPv2 and RIPng 3 13
Chapter 8 E IGRP 3 47
Chapter 9 O SPF 4 53
ptg13046388
Chapter 10 I S-IS 5 63
Chapter 11 I GP Route Redistribution, Route Summarization, Default Routing, and
Troubleshooting 6 33
Part IV F inal Preparation
Chapter 12 F inal Preparation 7 01
Part V A ppendixes
Appendix A A nswers to the “Do I Know This Already?” Quizzes 7 07
Appendix B C CIE Exam Updates 7 13
Index 714
C D-Only
Appendix C D ecimal to Binary Conversion Table
Appendix D I P Addressing Practice
Appendix E K ey Tables for CCIE Study
Appendix F S olutions for Key Tables for CCIE Study
Appendix G S tudy Planner
G lossary
ix
Contents
Introduction xxiv
Part I LAN Switching
Chapter 1 Ethernet Basics 3
“Do I Know This Already?” Quiz 3
Foundation Topics 8
Ethernet Layer 1: Wiring, Speed, and Duplex 8
RJ-45 Pinouts and Category 5 Wiring 8
Autonegotiation, Speed, and Duplex 9
CSMA/CD 10
Collision Domains and Switch Buffering 10
Basic Switch Port Configuration 11
Ethernet Layer 2: Framing and Addressing 14
Types of Ethernet Addresses 16
Ethernet Address Formats 17
Protocol Types and the 802.3 Length Field 18
Switching and Bridging Logic 19 ptg13046388
SPAN, RSPAN, and ERSPAN 22
Core Concepts of SPAN, RSPAN, and ERSPAN 23
Restrictions and Conditions 24
Basic SPAN Configuration 26
Complex SPAN Configuration 26
RSPAN Configuration 26
ERSPAN Configuration 27
Virtual Switch System 28
Virtual Switching System 29
VSS Active and VSS Standby Switch 30
Virtual Switch Link 30
Multichassis EtherChannel (MEC) 31
Basic VSS Configuration 31
VSS Verification Procedures 35
IOS-XE 38
Foundation Summary 41