CCNP Enterprise 300-410
CCNP Enterprise 300-410
See the card insert in the back of the book for your Pearson
Test Prep activation code and special offers.
CCNP Enterprise
Advanced Routing
ENARSI 300-410
Official Cert Guide
RAYMOND LACOSTE
BRAD EDGEWORTH, CCIE No. 31574
Cisco Press
221 River Street
Hoboken, NJ 07030 USA
ii CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Published by:
Cisco Press
221 River Street
Hoboken, NJ 07030 USA
All rights reserved. This publication is protected by copyright, and permission must be obtained from the
publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form
or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding
permissions, request forms, and the appropriate contacts within the Pearson Education Global Rights &
Permissions Department, please visit www.pearson.com/permissions.
No patent liability is assumed with respect to the use of the information contained herein. Although
every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of
the information contained herein.
ScoutAutomatedPrintCode
Library of Congress Control Number: 2019919828
ISBN-13: 978-1-58714-525-4
ISBN-10: 1-58714-525-1
The 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
accompany it.
The opinions expressed in this book belong to the author and are 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 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.
iii
Special Sales
For 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 corpsales@
pearsoned.com or (800) 382-3419.
For questions about sales outside the U.S., please contact [email protected].
Feedback Information
At Cisco Press, our goal is to create in-depth technical books of the highest quality and value. Each book
is crafted with care and precision, undergoing rigorous development that involves the unique expertise of
members from the professional technical community.
Readers’ feedback is a natural continuation of this process. If you have any comments regarding how we
could improve the quality of this book, or otherwise alter it to better suit your needs, you can contact us
through email at [email protected]. Please make sure to include the book title and ISBN in your
message.
Editor-in-Chief: Mark Taub Technical Editors: Hector Mendoza, Jr, Russ Long
Alliances Manager, Cisco Press: Arezou Gol Editorial Assistant: Cindy Teeters
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco Website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks,
go to this URL: www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does
not imply a partnership relationship between Cisco and any other company. (1110R)
iv CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Credits
Figure 7-1 Screenshot of wireshark ©2019 wireshark
v
Contents at a Glance
Introduction xxxi
Chapter 2 EIGRP 70
Appendix A Answers to the “Do I Know This Already?” Quiz Questions 922
Glossary 934
Index 952
Online Elements
Glossary
Contents
Introduction xxxi
Chapter 2 EIGRP 70
“Do I Know This Already?” Quiz 70
Foundation Topics 73
EIGRP Fundamentals 73
Autonomous Systems 73
EIGRP Terminology 74
Topology Table 75
EIGRP Neighbors 76
Inter-Router Communication 76
Forming EIGRP Neighbors 77
EIGRP Configuration Modes 78
Classic Configuration Mode 78
EIGRP Named Mode 79
EIGRP Network Statement 80
Sample Topology and Configuration 81
Confirming Interfaces 83
Verifying EIGRP Neighbor Adjacencies 84
Displaying Installed EIGRP Routes 85
Router ID 86
Passive Interfaces 87
Authentication 91
Keychain Configuration 91
Enabling Authentication on the Interface 91
Path Metric Calculation 93
Wide Metrics 96
Metric Backward Compatibility 98
Interface Delay Settings 98
Custom K Values 99
Load Balancing 99
References in This Chapter 102
Exam Preparation Tasks 102
Contents ix
Appendix A Answers to the “Do I Know This Already?” Quiz Questions 922
Glossary 934
Index 952
Online Elements
Glossary
Brad Edgeworth, CCIE No. 31574 (R&S and SP), is a systems architect at Cisco
Systems. He is a distinguished speaker at Cisco Live, where he has presented on various
topics. Before joining Cisco, Brad worked as a network architect and consultant for
various Fortune 500 companies. Brad’s expertise is based on enterprise and service
provider environments, with an emphasis on architectural and operational simplicity and
consistency. Brad holds a bachelor of arts degree in computer systems management from
St. Edward’s University in Austin, Texas. Brad can be found on Twitter as
@BradEdgeworth.
xxvii
Russ Long was introduced to computers and networking at a very young age, when he
tried to save the world from digital monsters and aliens, an endeavor that keeps him
busy to this day. Russ started his career in enterprise-level IT work splicing fiber-optic
networks in the Pacific Northwest. His career has taken a long and winding path from
there: from systems administrator, to IT consultant and computer shop owner, to IT
instructor. Roughly the last decade of his career has focused solely on instruction and
consulting in IT environments. Some of his favorite topics include Cisco routing and
switching, real-world security, storage solutions, and virtualization.
xxviii CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Dedications
Raymond Lacoste:
This book is dedicated to my wife, Melanie, who has dedicated her life to making me a
better person, which is the hardest job in the world. Thank you, Melanie, for being the
most amazing wife and mother in the world.
Brad Edgeworth:
This book is dedicated to my daughter, Teagan. I know that you want to write a book
with wizards and princesses, but I don’t know how to do that. However, these are your
words in a book:
Acknowledgments
Raymond Lacoste:
A huge thank you goes out to Brad for joining me on this writing adventure. Putting our
knowledge together to create this work of art was the best decision. Thank you so much
for sharing this with me.
To my wife and children for allowing me to avoid many family adventures while this book
was being developed and supporting me though the entire process. Love you guys!
To Russ Long, a long-time friend and a man whom I can trust. Thank you for finding my
mistakes before the readers do. You have always been there to make me look my best.
(The R&R Show for life!)
To Hector Mendoza, Jr.: I don’t know you personally, but you found those little things
that make a huge difference to the readers, and for that I thank you!
To Brett Bartow, thanks for trusting us to put this book together and put our knowledge
on paper.
To MJB, thank you for keeping me on task and making sure nothing slipped through the
cracks.
Finally, thank you to the entire team at Cisco Press, as well as their families and friends,
who work extremely hard to produce high-quality training material.
Brad Edgeworth:
To Raymond and Brett, thanks for letting me write this book. I am privileged to be able
to share my knowledge with others, and I’m grateful. To the rest of the Cisco Press team,
thanks for taking my block of stone and turning it into a work of art.
To the technical editors: Hector and Russ, thank you for finding our mistakes before
everyone else found them. If any slipped by, I completely blame the both of you.
Many people within Cisco have shared their knowledge with me and taken a chance on
me with various projects over the years. For that I’m forever indebted. Special gratitude
goes to Craig Smith, Aaron Foss, Ramiro Garza Rios, Vinit Jain, Richard Furr, David Prall,
Dustin Schuemann, Tyson Scott, Denise Fishbourne, Tyler Creek, and Mohammad Ali.
xxx CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
■ Boldface indicates commands and keywords that are entered literally as shown.
In actual configuration examples and output (not general command syntax), boldface
indicates commands that are manually input by the user (such as a show command).
■ Braces within brackets ([{ }]) indicate a required choice within an optional element.
Introduction xxxi
Introduction
Congratulations! If you are reading this Introduction, then you have probably decided
to obtain your Cisco CCNP Enterprise certification. Obtaining a Cisco certification will
ensure that you have a solid understanding of common industry protocols along with
Cisco’s device architecture and configuration. Cisco has a high market share of routers
and switches, with a global footprint.
Professional certifications have been an important part of the computing industry for
many years and will continue to become more important. Many reasons exist for these
certifications, but the most popularly cited reason is credibility. All other considerations
held equal, a certified employee/consultant/job candidate is considered more valuable
than one who is not certified.
Cisco announced changes to all three certifications to take effect in February 2020. The
announcement included many changes, but these are the most notable:
■ The CCNA certification is not a prerequisite for obtaining the CCNP certification.
CCNA specializations will not be offered anymore.
■ The exams will test a candidate’s ability to configure and troubleshoot network
devices in addition to answering multiple-choice questions.
■ The CCNP is obtained by taking and passing a Core exam and a Concentration
exam, like the Implementing Cisco Enterprise Advanced Routing and Services
(ENARSI).
CCNP Enterprise candidates need to take and pass the CCNP and CCIE Enterprise Core
ENCOR 350-401 examination. Then they need to take and pass one of the following
Concentration exams to obtain their CCNP Enterprise:
One key methodology used in this book is to help you discover the exam topics that you
need to review in more depth, to help you fully understand and remember those details,
and to help you prove to yourself that you have retained your knowledge of those topics.
This book does not try to help you pass by memorization but helps you truly learn and
understand the topics. The ENARSI 300-410 exam covers foundation topics in the CCNP
certification, and the knowledge contained within is vitally important for a truly skilled
routing/switching engineer or specialist. This book would do you a disservice if it didn’t
attempt to help you learn the material. To that end, the book will help you pass the exam
by using the following methods:
■ Helping you discover which test topics you have not mastered
■ Supplying exercises and scenarios that enhance your ability to recall and deduce the
answers to test questions
■ Providing practice exercises on the topics and the testing process via test questions
on the companion website
So why should you want to pass the ENARSI 300-410 exam? Because it’s one of
the milestones toward getting the CCNP Enterprise certification, which is no small
feat. What would getting the CCNP Enterprise certification mean to you? A raise, a
promotion, recognition? How about enhancing your resume? Demonstrating that you
are serious about continuing the learning process and that you’re not content to rest on
your laurels? Pleasing your reseller-employer, who needs more certified employees for a
higher discount from Cisco? You might have one of these reasons for getting the CCNP
Enterprise certification or one of many others.
experience you already have obtained. For instance, if you have attended the CCNP
Implementing Cisco Enterprise Advanced Routing and Services (ENARSI) 300-410
course, you might take a different approach than someone who learned routing through
on-the-job training.
Regardless of the strategy you use or the background you have, this book is designed
to help you get to the point where you can pass the exam with the least amount of time
required. For instance, there is no need for you to practice or read about IP addressing
and subnetting if you fully understand it already. However, many people like to make sure
that they truly know a topic and thus read over material that they already know. Several
book features will help you gain the confidence you need to be convinced that you know
some material already and to also help you know what topics you need to study more.
■ Chapter 2, “EIGRP”: This chapter explains the underlying mechanics of the EIGRP
routing protocol, the path metric calculations, and how to configure EIGRP.
■ Chapter 5, “EIGRPv6”: This chapter explains how EIGRP advertises IPv6 networks
and guides you through configuring, verifying, and troubleshooting EIGRPv6.
■ Chapter 6, “OSPF”: This chapter explains the core concepts of OSPF, the exchange
of routes, OSPF network types, failure detection, and OSPF authentication.
■ Chapter 9, “OSPFv3”: This chapter explains how the OSPF protocol has changed to
accommodate support of the IPv6 protocol.
■ Chapter 10, “Troubleshooting OSPFv3”: This chapter explains how you can
troubleshooting issues that may arise with OSPFv3.
■ Chapter 11, “BGP”: This chapter explains the core concepts of BGP, its path
attributes, and configuration for IPv4 and IPv6 network prefixes.
■ Chapter 13, “BGP Path Selection”: This chapter explains the BGP path selection
process, how BGP identifies the best BGP path, and methods for load balancing
across equal paths.
■ Chapter 14, “Troubleshooting BGP”: This chapter explores how you can identify
and troubleshoot issues relating to BGP neighbor adjacencies, BGP routes, and BGP
path selection. It also covers MP-BGP (BGP for IPv6).
■ Chapter 15, “Route Maps and Conditional Forwarding”: This chapter explains
route maps, concepts for selecting a network prefix, and how packets can be condi-
tionally forwarded out different interfaces for certain network traffic.
■ Chapter 18, “VRF, MPLS, and MPLS Layer 3 VPNs”: This chapter explores how
to configure and verify VRF and introduces you to MPLS operations and MPLS
Layer 3 VPNs.
■ Chapter 19, “DMVPN Tunnels”: This chapter covers GRE tunnels, NHRP, DMVPN,
and techniques to optimize a DMVPN deployment.
■ Chapter 20, “Securing DMVPN Tunnels”: This chapter explains the importance
of securing network traffic on the WAN and techniques for deploying IPsec tunnel
protection for DMVPN tunnels.
■ Chapter 21, “Troubleshooting ACLs and Prefix Lists”: This chapter shows how to
troubleshoot issues related to IPv4 and IPv6 access control lists and prefix lists.
remote access, remote transfers, syslog, SNMP, IP SLA, Object Tracking, NetFlow,
and Flexible NetFlow. In addition, it introduces the troubleshooting options available
with Cisco DNA Center Assurance.
■ The last chapter, Chapter 24, “Final Preparation,” provides tips and strategies for
studying for the ENARSI 300-410 exam.
Each version of the exam can have topics that emphasize different functions or features,
and some topics can be rather broad and generalized. The goal of this book is to
provide the most comprehensive coverage to ensure that you are well prepared for the
exam. Although some chapters might not address specific exam topics, they provide a
foundation that is necessary for a clear understanding of important topics.
It is also important to understand that this book is a “static” reference, whereas the
exam topics are dynamic. Cisco can and does change the topics covered on certification
exams often.
This exam guide should not be your only reference when preparing for the certification
exam. You can find a wealth of information at Cisco.com that covers each topic in great
detail. If you think that you need more detailed information on a specific topic, read the
Cisco documentation that focuses on that topic.
Note that as technologies continue to evolve, Cisco reserves the right to change the
exam topics without notice. Although you can refer to the list of exam topics in Table I-1,
always check Cisco.com to verify the actual list of topics to ensure that you are prepared
before taking the exam. You can view the current exam topics on any current Cisco
certification exam by visiting https://www.cisco.com/c/en/us/training-events/
training-certifications/next-level-certifications.html. Note also that, if needed, Cisco
Press might post additional preparatory content on the web page associated with this
book: http://www.ciscopress.com/title/9781587145254. It’s a good idea to check the
website a couple weeks before taking your exam to be sure that you have up-to-date
content.
A variety of resources are available for practicing the concepts in this book. Look online
for the following:
■ Cisco VIRL (Virtual Internet Routing Lab) provides a scalable, extensible network
design and simulation environment. For more information about VIRL, see
http://virl.cisco.com.
■ Cisco dCloud provides a huge catalog of demos, training, and sandboxes for
every Cisco architecture. It offers customizable environments and is free. For more
information, see http://dcloud.cisco.com.
■ IPv4 Addressing: This section provides a review of IPv4 addressing and covers issues
you might face and how to troubleshoot them.
■ DHCP for IPv4: This section reviews DHCP for IPv4 operations, explores potential
DHCP issues, and examines the output of various DHCP show commands.
■ IPv6 SLAAC, Stateful DHCPv6, and Stateless DHCPv6: This section explores how
clients obtain IPv6 addressing information using SLACC, stateful DHCPv6, and state-
less DHCPv6.
■ Routing Information Sources: This section explains which sources of routing infor-
mation are the most believable and how the routing table interacts with various data
structures to populate itself with the best information.
■ Static Routes: This section reviews how to configure and verify IPv4 and IPv6 static
routes.
■ Trouble Tickets: This section provides a number of trouble tickets that demonstrate
how a structured troubleshooting process is used to solve a reported problem.
IPv6 is currently being deployed, but that deployment is occurring at a slow pace. Most net-
works still rely on IPv4, and many new networks and network additions are being deployed
with IPv4. Therefore, you still need the skills to successfully configure, verify, and trouble-
shoot IPv4 addressing. Therefore, this chapter provides a review of IPv4 addressing.
Typically, when deploying IPv4 addresses, Dynamic Host Configuration Protocol (DHCP)
is used so that addresses can be dynamically assigned. However, with this dynamic process,
issues may arise that prevent a device from successfully obtaining an IPv4 address from a
DHCP server. Therefore, this chapter reviews how DHCP operates and how to identify the
issues that may prevent a client from obtaining an IP address from a DHCP server.
Sooner or later, organizations will have to switch to IPv6. There is a whole lot more to
IPv6 than just having a larger address space than IPv4. This chapter reminds you how
IPv6-enabled devices determine whether a destination is local or remote and explores the
various options for address assignment and what to look out for when troubleshooting.
Before you dive into the advanced routing topics such as Enhanced Interior Gateway Rout-
ing Protocol (EIGRP), Open Shortest Path First (OSPF), and Border Gateway Protocol (BGP),
you need to review the packet-delivery process (also known as the routing process). This is
the process that a router goes through when a packet arrives at an ingress interface and needs
to be packet switched to an egress interface. It does not matter whether the packet is an IPv4
or IPv6 packet. Either way, the router goes through the same steps to successfully take a
packet from an ingress interface and packet switch it to the egress interface. You also need to
review how a router populates the routing table with “the best” routes. What classifies those
routes as the best? Is an EIGRP-learned route better than a static route? What about an
OSPF-learned route or a BGP-learned route? How do they compare to the other sources of
routing information? When multiple sources provide the same routing information, you need
to be able to identify why the router made the decision it made.
Static routes are part of every network. However, because they are manually configured,
they are prone to human error, which can produce suboptimal routing or routing loops;
therefore, this chapter reviews IPv4 and IPv6 static routing configuration and verification.
Notice that this chapter is mostly a review of IPv4/IPv6 addressing, DHCP for IPv4/IPv6,
the packet-forwarding process, administrative distance, and static routing that you learned in
CCNA or ENCORE. I encourage you not to skip this chapter as it is a great place to warm up
for what is to come in the rest of this book, which prepares you for the Implementing Cisco
Enterprise Advanced Routing and Services (ENARSI) exam.
CAUTION The goal of self-assessment is to gauge your mastery of the topics in this chap-
ter. If you do not know the answer to a question or are only partially sure of the answer, you
should mark that question as wrong for purposes of self-assessment. Giving yourself credit
for an answer that you correctly guess skews your self-assessment results and might provide
you with a false sense of security.
1. What occurs when a PC with the IP address 10.1.1.27/28 needs to communicate with a
PC that has IP address 10.1.1.18? (Choose two.)
a. It sends the frame to its default gateway.
b. It sends the frame directly to the destination PC.
c. It uses ARP to get the MAC address of the default gateway.
d. It uses ARP to get the MAC address of the destination PC.
2. What occurs when a PC with the IP address 10.1.1.27/29 needs to communicate with a
PC that has IP address 10.1.1.18? (Choose two.)
a. It sends the frame to its default gateway.
b. It sends the frame directly to the destination PC.
c. It uses ARP to get the MAC address of the default gateway.
d. It uses ARP to get the MAC address of the destination PC.
3. Which command enables you to verify the IP address configured on a router’s
interface?
a. ipconfig
b. show ip interface
c. arp -a
d. show ip arp
4. What is the correct order of operations for the DHCP for IPv4 process?
a. Offer, Request, Ack, Discover
b. Discover, Request, Ack, Offer
c. Request, Offer, Discover, Ack
d. Discover, Offer, Request, Ack
5. Which command is needed on a router interface to forward DHCP Discover messages
to a DHCP server on a different subnet?
a. ip address dhcp
b. ip helper-address
c. ip dhcp-forwarder
d. ip dhcp server
6. Which command enables a router interface to obtain an IP address from a DHCP
server?
a. ip dhcp client
b. ip dhcp server
c. ip address dhcp
d. ip helper-address
Chapter 1: IPv4/IPv6 Addressing and Routing Review 5
7. What protocol is used with IPv6 to determine the MAC address of a device in the
same local area network? 1
a. Address Resolution Protocol
b. Inverse Address Resolution Protocol
c. Neighbor Discovery Protocol
d. Neighbor Solicitation
8. Which of the following are true when using EUI-64? (Choose two.)
a. The interface MAC address is used unmodified.
b. The interface MAC address is used with FFFE added to the middle.
c. The seventh bit from the left in the MAC address is flipped.
d. The seventh bit from the right in the MAC address is flipped.
9. What command is used on a Cisco IOS router to enable SLAAC on an interface?
a. ipv6 address autoconfig
b. ipv6 address dhcp
c. ipv6 address prefix eui-64
d. ipv6 nd ra suppress
10. Which of the following are requirements for stateless address autoconfiguration to
function? (Choose three.)
a. The prefix must be /64.
b. The router must be sending and not suppressing RA messages.
c. The router must be enabled for IPv6 unicast routing.
d. The router must be sending RS messages.
11. Which command is used to enable a router to inform clients that they need to get
additional configuration information from a DHCPv6 server?
a. ipv6 nd ra suppress
b. ipv6 dhcp relay destination
c. ipv6 address autoconfig
d. ipv6 nd other-config-flag
12. What command enables you to configure a router interface as a DHCPv6 relay agent?
a. ipv6 forwarder
b. ipv6 helper-address
c. ipv6 dhcp relay destination
d. ipv6 dhcp client
13. Which two data structures reside at the router’s data plane?
a. IP routing table
b. ARP cache
c. Forwarding Information Base
d. Adjacency table
6 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Foundation Topics 1
IPv4 Addressing
Just as your personal street address uniquely defines where you live, an IPv4 address
uniquely defines where a device resides in a network. Your street address is made of two
parts—the street name and the number of your residence—and the combination of these
is unique within your city/town. As a result, a pizza delivery person can bring your pizza to
your house in 30 minutes, or it is free. If your house is addressed incorrectly, you may not
get your pizza, and you do not want that to happen.
Similarly, with IPv4 addressing, if devices are addressed incorrectly, they may not receive the
packets that are intended for them. Therefore, it is imperative that you have a solid under-
standing of IPv4 addressing and how to verify that devices are addressed correctly on a net-
work. This section provides a review of IPv4 addressing and discusses issues you might face
and how to troubleshoot them.
10.1.1.0/26
10.1.1.10
255.255.255.192 PC1
DG:10.1.1.1
192.0.2.1
.1
R1
10.1.1.20
255.255.255.192 PC2
DG:10.1.1.1
-----------------------------------
Now PC1 compares exactly the same binary bits to those binary bits in PC2’s address, as
follows:
-----------------------------------
10.1.1.0/26
1
10.1.1.10
255.255.255.240 PC1
DG:10.1.1.1
192.0.2.1
.1
R1
10.1.1.20
255.255.255.192 PC2
DG:10.1.1.1
-------------------------------
C:\>ipconfig
Windows IP Configuration
10.1.1.0/26
10.1.1.74
255.255.255.192 PC1
DG:10.1.1.1
192.0.2.1
.1
R1
10.1.1.20
255.255.255.192 PC2
DG:10.1.1.1
Now compare the addresses of devices with the subnet ranges you just identified. In this
case, PC1, PC2, and an interface on R1 are supposed to be in the same subnet. As a result, 1
they better all be addressed correctly, or communication will not occur correctly. For exam-
ple, if you are reviewing the output of ipconfig on PC1, as shown in Example 1-2, now that
you have the ranges, you can easily see that PC1 is not in the same subnet as R1 and PC2.
Although they have the same subnet mask, in this case PC1 falls in the range 10.1.1.64/26
to 10.1.1.127/26, whereas PC2 and the default gateway fall in the range 10.1.1.0/26 to
10.1.1.63/26. PC1 is in a different network/subnet, but it should be in the same subnet,
according to Figure 1-3. You must fix the address on PC1 so that it is within the correct
network/subnet.
Example 1-2 Verifying IP Addressing on a PC with the ipconfig Command
C:\>ipconfig
Windows IP Configuration
DHCP DISCOVER
DHCP Client Step 1 DHCP Server
10.1.1.2
DHCP OFFER
Step 2
DHCP REQUEST
Step 3
DHCP ACK
Step 4
Figure 1-4 DHCP DORA Process
The DORA process works as follows:
Step 1. When a DHCP client initially boots, it has no IP address, default gateway, or
other such configuration information. Therefore, the way a DHCP client initially
communicates is by sending a broadcast message (that is, a DHCPDISCOVER
message) to destination IP address 255.255.255.255 and destination MAC
address FFFF:FFFF:FFFF in an attempt to discover a DHCP server. The source
IP address is 0.0.0.0, and the source MAC address is the MAC address of the
sending device.
Step 2. When a DHCP server receives a DHCPDISCOVER message, it can respond
with a DHCPOFFER message with an unleased IP address, subnet mask, and
default gateway information. Because the DHCPDISCOVER message is sent as
a broadcast, more than one DHCP server might respond to this Discover mes-
sage with a DHCPOFFER. However, the client typically selects the server that
sent the first DHCPOFFER response it received.
Step 3. The DHCP client communicates with the selected server by sending a broad-
casted DHCPREQUEST message indicating that it will be using the address
provided in the DHCPOFFER and, as a result, wants the associated address
leased to itself.
Step 4. Finally, the DHCP server responds to the client with a DHCPACK message
indicating that the IP address is leased to the client and includes any additional
DHCP options that might be needed at this point, such as the lease duration.
Notice that in step 1, the DHCPDISCOVER message is sent as a broadcast. The broadcast
cannot cross a router boundary. Therefore, if a client resides on a different network from the
DHCP server, you need to configure the default gateway of the client as a DHCP relay agent
to forward the broadcast packets as unicast packets to the server. You use the ip helper-
address ip_address interface configuration mode command to configure a router to relay
DHCP messages to a DHCP server in the organization.
To illustrate, consider Figure 1-5 and Example 1-3. In the figure, the DHCP client belongs
to the 172.16.1.0/24 network, whereas the DHCP server belongs to the 10.1.1.0/24 network.
Router R1 is configured as a DHCP relay agent, using the syntax shown in Example 1-3.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 13
In the configuration, notice the service dhcp command. This command enables the DHCP
service on the router, which must be enabled for the DHCP services to function. This com-
mand is usually not required because the DHCP service is enabled by default; however, when
troubleshooting a DHCP relay agent issue, you might want to confirm that the service is
enabled. Also, the ip helper-address 10.1.1.2 command specifies the IP address of the DHCP
server. If the wrong IP address is specified, the DHCP messages are relayed to the wrong
device. In addition, the ip helper-address command must be configured on the interface
that is receiving the DHCPDISCOVER messages from the clients. If it isn’t, the router cannot
relay the DHCP messages.
When you configure a router to act as a DHCP relay agent, realize that it relays a few other
broadcast types in addition to a DHCP message. Other protocols that are forwarded by a
DHCP relay agent include the following:
■ TFTP
■ BootP
■ TACACS
As a reference, Table 1-2 provides a comprehensive list of DHCP message types you might
encounter while troubleshooting a DHCP issue.
14 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
In addition to acting as a DHCP relay agent, a router might act as a DHCP client. Specifically,
the interface of a router might obtain its IP address from a DHCP server. Figure 1-6 shows a
router acting as a DHCP client, where the router’s Fast Ethernet 0/1 interface obtains its IP
address from a DHCP server. Example 1-4 provides the configuration for the router in the
topology (that is, router R1). Notice that the dhcp option is used in the ip address command,
instead of the usual IP address and subnet mask information.
Fa 0/1
R1
DHCP DISCOVER DHCP Server
DHCP OFFER
DHCP REQUEST
DHCP ACK
Fa 0/0
.1
DHCPDISCOVER
DHCP Client DHCP Server
DHCPOFFER
DHCPREQUEST
DHCPACK
If your device is configured to receive an IP address from a DHCP server but the IP address
shown on the client is an Automatic Private IP Addressing (APIPA) address (169.254.x.x)
because of autoconfiguration, as shown in Example 1-5, conclude that the client could
not obtain an IP address from the DHCP server. However, do not immediately assume that
DHCP is the problem. It is quite possible that you have a Layer 2 problem, such as VLANs,
trunks, Spanning Tree Protocol (STP), or security, that is, for example, preventing the client’s
DHCPDISCOVER message from reaching the DHCP server.
16 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
C:\>ipconfig /all
Windows IP Configuration
...output omitted...
■ A router not forwarding broadcasts: By default, a router does not forward broad-
casts, including DHCPDISCOVER broadcast messages. Therefore, a router needs to
be explicitly configured to act as a DHCP relay agent if the DHCP client and DHCP
server are on different subnets.
■ DHCP pool out of IP addresses: A DHCP pool contains a finite number of addresses.
Once a pool becomes depleted, new DHCP requests are rejected.
■ Redundant services not communicating: Some DHCP servers coexist with other
DHCP servers for redundancy. For this redundancy to function, these DHCP servers
need to communicate with one another. If this interserver communication fails, the
DHCP servers hand out overlapping IP addresses to their client’s.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 17
■ The “pull” nature of DHCP: When a DHCP client wants an IP address, it requests an
IP address from a DHCP server. However, the DHCP server has no ability to initiate a 1
change in the client IP address after the client obtains an IP address. In other words,
the DHCP client pulls information from the DHCP server, the DHCP server cannot
push information changes to the DHCP client.
Example 1-7 shows sample output from the debug ip dhcp server events command. The
output shows updates to the DHCP database.
18 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 1-8 shows sample output from the debug ip dhcp server packet command. The
output shows a DHCPRELEASE message being received when a DHCP client with IP
address 10.1.1.3 is shut down. You can also see the four-step process of a DHCP client
obtaining IP address 10.1.1.4 with the following messages: DHCPDISCOVER, DHCPOFFER,
DHCPREQUEST, and DHCPACK.
Example 1-8 debug ip dhcp server packet Command Output
IPv6 Addressing
Just as your personal street address uniquely defines where you live, an IPv6 address
uniquely defines where a device resides. Your street address is made of two parts—the street
Chapter 1: IPv4/IPv6 Addressing and Routing Review 19
name and the number of your residence—and the combination of these parts is unique. Sim-
ilarly, an IPv6 address is made up of two parts. The first 64 bits usually represent the subnet 1
prefix (what network you belong to), and the last 64 bits usually represent the interface
ID/host ID (who you are in the network).
This section covers IPv6 addressing and assignment so that you are armed with the knowl-
edge needed for troubleshooting IPv6 addressing issues.
::10
2001:db8:a:a::/64
PC1
::1
Default Gateway 2001:db8:d::1
Gi0/0 Gi1/0
2001:db8:a:a::1
Gi0/0 ::2 R1
PC2 R2
::20
Figure 1-8 IPv6 Addressing Example
Just as with IPv4, when a host wants to communicate with another host, it compares its sub-
net bits to exactly the same bits in the destination IP address. If they match, both devices are
in the same subnet; if they do not match, the devices are in different subnets. If both devices
are in the same subnet, they can communicate directly with each other, and if they are in dif-
ferent subnets, they need to communicate through the default gateway.
For example, when PC1 in Figure 1-8 needs to communicate with the server at 2001:db8:d::1,
it realizes that the web server is in a different network. Therefore, PC1 has to send the frame
to the default gateway, using the default gateway’s MAC address. If PC1 wants to communi-
cate with PC2, it determines it is in the same subnet and communicates directly with it.
You verify the IPv6 address of a Windows PC by using the ipconfig command, as shown
in Example 1-9. In this example, PC1 has the link-local address fe80::a00:27ff:fe5d:6d6 and
the global unicast address 2001:db8:a:a::10, which was statically configured. Notice the %11
at the end of the link-local address in this case. This is the interface identification number,
and it is needed so that the system knows which interface to send the packets out of; keep
in mind that you can have multiple interfaces on the same device with the same link-local
address assigned to it.
20 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
C:\PC1>ipconfig
Windows IP Configuration
EUI-64
Recall that an IPv6 address consists of two parts: the subnet ID and the interface/host ID.
The host ID is usually 64 bits long, and as a result, it is not something you want to be config-
uring manually in your organization. Although you can statically define the interface ID, the
best approach is to allow your end devices to automatically assign their own interface ID for
global unicast and link-local addresses randomly or based on the IEEE EUI-64 standard.
EUI-64 takes the client’s MAC address, which is 48 bits, splits it in half, and adds the hex val-
ues FFFE in the middle. In addition, it takes the seventh bit from the left and flips it. So, if it
is a 1, it becomes a 0, and if it is a 0, it becomes a 1. Look back at Example 1-9. Notice that
the link-local address is fe80::a00:27ff:fe5d:6d6. The subnet ID is FE80::, and the interface ID
is a00:27ff:fe5d:6d6. If you fill in the missing leading 0s, the address is 0a00:27ff:fe5d:06d6.
This is an EUI-64 interface ID because it has FFFE in it. Let’s look at how it is derived.
Example 1-10 shows the output of ipconfig /all on PC1. Notice that the MAC address is
08-00-27-5D-06-D6. Split it in half and add FFFE in the middle to get 08-00-27-FF-FE-
5D-06-D6. Now group the hex values into groups of four and replace each dash (-) with a
colon, like this: 0800:27FF:FE5D:06D6. This looks very close to what is listed in the link-
local address, but it is not exactly the same. The interface ID in the link-local address starts
with 0a, and ours starts with 08. This is because the seventh bit is flipped, as discussed
earlier. Flip it. 08 hex in binary is 00001000. The seventh bit from left to right is a 0, so make
it a 1. Now you have 00001010. Convert to hex, and you get 0a. So, your interface ID is
0A00:27FF:FE5D:06D6.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 21
Windows IP Configuration
By default, routers use EUI-64 when generating the interface portion of the link-local address
of an interface. Modern Windows PCs randomly generate the interface portion by default
for both the link-local address and the global unicast address when autoconfiguring their
IPv6 addresses. However, this can be changed so that EUI-64 is used instead. When stati-
cally configuring an IPv6 address on a PC, the interface portion is manually assigned. How-
ever, on a router, if you want to use EUI-64 for a statically configured global unicast address,
use the eui-64 keyword at the end of the ipv6 address command, as shown in Example 1-11.
Example 1-11 Using EUI-64 on a Router Interface
R2# config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)# interface gigabitEthernet 0/0
R2(config-if)# ipv6 address 2001:db8:a:a::/64 eui-64
You verify the global unicast address and the EUI-64 interface ID assigned to an interface by
using the show ipv6 interface command, as shown in Example 1-12. In this case, R2’s Gig0/0
interface has a global unicast address that obtained the interface ID from the EUI-64 standard.
22 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
SLAAC
SLAAC is designed to enable a device to configure its own IPv6 address, prefix, and default
gateway without a DHCPv6 server. Windows PCs automatically have SLAAC enabled and
generate their own IPv6 addresses, as shown in Example 1-13, which displays the output of
ipconfig /all on PC1.
Example 1-13 Using ipconfig /all to Verify That IPv6 SLAAC Is Enabled
C:\PC1>ipconfig /all
Windows IP Configuration
On Cisco routers, if you want to take advantage of SLAAC, you need to enable it manually
on an interface with the ipv6 address autoconfig command, as shown in Example 1-14.
Example 1-14 Enabling SLAAC on a Router Interface
R2# config t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)# interface gigabitEthernet 0/0
R2(config-if)# ipv6 address autoconfig
When a Windows PC and router interface are enabled for SLAAC, they send a Router Solicita-
tion (RS) message to determine whether there are any routers connected to the local link. They
then wait for a router to send a Router Advertisement (RA) that identifies the prefix being used
by the router (the default gateway) connected to the same network they are on. They then use
that prefix information to generate their own IPv6 address in the same network as the router
interface that generated the RA. The router uses EUI-64 for the interface portion, and the PC
randomly generates the interface portion unless it is configured to use EUI-64. In addition, the
PC uses the IPv6 link-local address of the device that sent the RA as the default gateway address.
Figure 1-9 shows the RA process. R1 sends an RA out its Gig0/0 interface. The source IPv6
address is the Gig0/0 link-local address, and the source MAC address is the MAC address
of interface Gig0/0. The destination IPv6 address is the all-nodes link-local multicast IPv6
address FF02::1. The destination MAC address is the all-nodes destination MAC address
33:33:00:00:00:01, which is associated with the all-nodes link-local multicast IPv6 address
FF02::1. By default, all IPv6-enabled interfaces listen for packets and frames destined for
these two addresses.
Destination Source
MAC 33:33:00:00:00:01 ca0a.0e3c.0008
IPv6 FF02::1 FE80::C80A:EFF:FE3C:8
::10
PC1
Router Advertisement
::1
Default Gateway 2001:db8:d::1
2001:db8:a:a::/64 Gi0/0 Gi1/0
2001:db8:a:a::1
Gi0/0 ::2 R1
PC2 R2
::20
Figure 1-9 Router Advertisement Example
When PC1 in Figure 1-9 receives the RA, it takes the prefix included in the RA, which is
2001:db8:a:a::/64, and in this case uses EUI-64 to create its IPv6 address. It also takes the
link-local address from the source of the RA and uses it as the default gateway address, as
shown in Example 1-15, which displays the output of ipconfig on PC1.
24 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
C:\PC1>ipconfig
Windows IP Configuration
To verify an IPv6 address generated by SLAAC on a router interface, use the show ipv6
interface command. As shown in Example 1-16, the global unicast address was generated
using SLAAC. Also notice at the bottom of the example that the default router is listed as
the link-local address of R1. However, note that this occurs only if IPv6 unicast routing was
not enabled on the router and, as a result, the router is acting as an end device.
Example 1-16 Verifying IPv6 Addresses Generated by SLAAC on a Router Interface
It is important to realize that RAs are generated by default on router interfaces only if the
router interface is enabled for IPv6, IPv6 unicast routing is enabled, and RAs are not being
suppressed on the interface. Therefore, if SLAAC is not working, check the following:
■ Make sure that IPv6 unicast routing is enabled on the router that should be generating
RAs by using the show run | include ipv6 unicast-routing command, as shown in the
following snippet:
■ Make sure that the appropriate interface is enabled for IPv6 by using the show ipv6
interface command, as shown in Example 1-17. 1
■ Make sure that the router interface advertising RAs has a /64 prefix by using the show
ipv6 interface command, as shown in Example 1-17. (SLAAC works only if the router
is using a /64 prefix.)
■ Make sure that RAs are not being suppressed on the interface by using the show ipv6
interface command, as shown in Example 1-18 (where they are being suppressed).
In addition, if you have more than one router on a subnet generating RAs, which is normal
when you have redundant default gateways, the clients learn about multiple default gate-
ways from the RAs, as shown in Example 1-19. The top default gateway is R2’s link-local
address, and the bottom default gateway is R1’s link-local address. Now, this might seem like
a benefit; however, it is a benefit only if both default gateways can reach the same networks.
Refer to Figure 1-8. If PC1 uses R2 as the default gateway, the packets to the web server are
dropped because R2 does not have a way to route packets to the web server, as shown in the
ping output of Example 1-20, unless it redirects them back out the interface they arrived on,
which is not a normal behavior. Therefore, if users are complaining that they cannot access
resources, and they are connected to a network with multiple routers generating RAs, check
26 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
the default gateways learned by SLAAC and make sure that those default gateways can route
to the intended resources.
Example 1-19 Verifying Default Gateways Configured on a PC
C:\PC1># ipconfig
Windows IP Configuration
C:\PC1>ping 2001:db8:d::1
Stateful DHCPv6
Although a device is able to determine its IPv6 address, prefix, and default gateway using
SLAAC, there is not much else the devices can obtain. In a modern-day network, the devices
may also need information such as Network Time Protocol (NTP) server information, domain
name information, DNS server information, and Trivial File Transfer Protocol (TFTP) server
information. To hand out the IPv6 addressing information along with all optional informa-
tion, use a DHCPv6 server. Both Cisco routers and multilayer switches may act as DHCP
servers. Example 1-21 provides a sample DHCPv6 configuration on R1 and the ipv6 dhcp
server interface command necessary to enable the interface to use the DHCP pool for hand-
ing out IPv6 addressing information. If you are troubleshooting an issue where clients are not
receiving IPv6 addressing information or are receiving wrong IPv6 addressing information
from a router or multilayer switch acting as a DHCPv6 server, check the interface and make
sure it was associated with the correct pool.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 27
Example 1-22 provides examples of the show ipv6 dhcp binding command, which displays
the IPv6 addresses used by clients, the show ipv6 dhcp interface command, which displays
the interface to DHCPv6 pool associations, and the show ipv6 dhcp pool command, which
displays the configured pools.
Example 1-22 Verifying DHCPv6 Information on R1
Stateless DHCPv6
Stateless DHCPv6 is a combination of SLAAC and DHCPv6. In this case, a router’s RA is
used by the clients to automatically determine the IPv6 address, prefix, and default gateway.
Included in the RA is a flag that tells the client to get other non-addressing information from
a DHCPv6 server, such as the address of a DNS server or a TFTP server. To accomplish this,
ensure that the ipv6 nd other-config-flag interface configuration command is enabled. This
ensures that the RA informs the client that it must contact a DHCPv6 server for other infor-
mation. In Example 1-23, notice this command configured under the Gigabit Ethernet 0/0
interface. Also, in Example 1-23, the output of show ipv6 interface gigabitEthernet 0/0
states that hosts obtain IPv6 addressing from stateless autoconfig and other information
from a DHCP server.
Example 1-23 Verifying Stateless DHCPv6
DHCPv6 Operation
1
DHCPv6 has a four-step negotiation process, like IPv4. However, DHCPv6 uses the follow-
ing messages:
Step 1. SOLICIT: A client sends this message to locate DHCPv6 servers using the multi-
cast address FF02::1:2, which is the all-DHCPv6-servers multicast address.
Step 2. ADVERTISE: Servers respond to SOLICIT messages with a unicast
ADVERTISE message, offering addressing information to the client.
Step 3. REQUEST: The client sends this message to the server, confirming the addresses
provided and any other parameters.
Step 4. REPLY: The server finalizes the process with this message.
As a reference, Table 1-3 provides a comprehensive list of DHCPv6 message types you might
encounter while troubleshooting a DHCPv6 issue.
is a link-local scope multicast address. It starts with FF02. Therefore, the multicast does not
leave the local network, and the client is not able to reach the DHCPv6 server.
To relay the DHCPv6 messages to a DHCPv6 server in another network, the local router inter-
face in the network the client belongs to needs to be configured as a relay agent with the ipv6
dhcp relay destination interface configuration command. Example 1-24 shows interface Gigabit
Ethernet 0/0 configured with the command ipv6 dhcp relay destination 2001:db8:a:b::7, which
is used to forward SOLICIT messages to a DHCPv6 server at the address listed.
Example 1-24 Configuring R1 as a DHCPv6 Relay Agent
R1# config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface gigabitethernet0/0
R1(config-if)# ipv6 dhcp relay destination 2001:db8:a:b::7
Packet-Forwarding Process
When troubleshooting connectivity issues for an IP-based network, the network layer (Layer 3)
of the OSI reference model is often an appropriate place to begin your troubleshooting efforts
(divide-and-conquer method). For example, if you are experiencing connectivity issues
between two hosts on a network, you could check Layer 3 by pinging between the hosts. If
the pings are successful, you can conclude that the issue resides at upper layers of the OSI
reference model (Layers 4 through 7). However, if the pings fail, you should focus your trouble-
shooting efforts on Layers 1 through 3. If you ultimately determine that there is a problem at
Layer 3, your efforts might be centered on the packet-forwarding process of a router.
This section discusses the packet-forwarding process and the commands used to verify the
entries in the data structures that are used for this process. It also provides you with a collec-
tion of Cisco IOS software commands that are useful when troubleshooting related issues.
Se 1/1
SW1 Fa 0/0 R1 192.168.2.1/30 R2 SW2
Se 1/1 Fa 0/0
192.168.1.1/24 192.168.2.2/30 192.168.3.1/24
AAAA.AAAA.AAAA BBBB.BBBB.BBBB
Figure 1-10 Basic Routing Topology
Chapter 1: IPv4/IPv6 Addressing and Routing Review 31
ARP Request
ARP Reply
Se 1/1
SW1 Fa 0/0 R1 192.168.2.1/30 R2 SW2
Se 1/1 Fa 0/0
192.168.1.1/24 192.168.2.2/30 192.168.3.1/24
AAAA.AAAA.AAAA BBBB.BBBB.BBBB
Frame from
PC1 to R1
message back to the source. Assuming that the TTL is not decremented to
zero, router R1 checks its routing table to determine the best path to reach the
IP address 192.168.3.2. In this example, router R1’s routing table has an entry
stating that network 192.168.3.0/24 is accessible through interface Serial 1/1.
Note that ARP is not required for serial interfaces because these interface types
do not have MAC addresses. Therefore, router R1 forwards the frame out its
Serial 1/1 interface, as shown in Figure 1-12, using the Point-to-Point Protocol
(PPP) Layer 2 framing header.
PPP
Se 1/1
SW1 Fa 0/0 R1 192.168.2.1/30 Se 1/1 R2 Fa 0/0 SW2
192.168.1.1/24 192.168.2.2/30 192.168.3.1/24
AAAA.AAAA.AAAA BBBB.BBBB.BBBB
PPP Frame
R1 to R2
PC1 Server1
Data Transport SRC IP DST IP PPP L2 Header
HTTP TCP 192.168.1.2 192.168.3.2
PC1
Router R2’s Route Entry
Server1
192.168.3.0/24 FA 0/0
Se 1/1
SW1 Fa 0/0 R1 192.168.2.1/30 Se 1/1 R2 Fa 0/0 SW2
192.168.1.1/24 192.168.2.2/30 192.168.3.1/24
AAAA.AAAA.AAAA BBBB.BBBB.BBBB
Frame from
R2 to Server1
■ IP routing table: When a router needs to route an IP packet, it consults its IP routing
table to find the best match. The best match is the route that has the longest pre-
fix. For example, suppose that a router has a routing entry for networks 10.0.0.0/8,
10.1.1.0/24, and 10.1.1.0/26. Also, suppose that the router is trying to forward a packet
with the destination IP address 10.1.1.10. The router selects the 10.1.1.0/26 route entry
as the best match for 10.1.1.10 because that route entry has the longest prefix, /26 (so
it matches the most number of bits).
■ Layer 3-to-Layer 2 mapping table: In Figure 1-13, router R2’s ARP cache contains
Layer 3-to-Layer 2 mapping information. Specifically, the ARP cache has a mapping
that says MAC address 2222.2222.2222 corresponds to IP address 192.168.3.2. An
ARP cache is the Layer 3-to-Layer 2 mapping data structure used for Ethernet-based
networks, but similar data structures are used for Multipoint Frame Relay networks
and Dynamic Multipoint Virtual Private Network (DMVPN) networks. However, for
point-to-point links such as PPP or High-Level Data Link Control (HDLC), because
there is only one other possible device connected to the other end of the link, no map-
ping information is needed to determine the next-hop device.
Continually querying a router’s routing table and its Layer 3-to-Layer 2 mapping data struc-
ture (for example, an ARP cache) is less than efficient. Fortunately, Cisco Express Forward-
ing (CEF) gleans its information from the router’s IP routing table and Layer 3-to-Layer 2
mapping tables. Then, CEF’s data structures in hardware can be referenced when forwarding
packets.
34 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
■ Forwarding Information Base (FIB): The FIB contains Layer 3 information, similar to
the information found in an IP routing table. In addition, an FIB contains information
about multicast routes and directly connected hosts.
■ Adjacency table: When a router is performing a route lookup using CEF, the FIB refer-
ences an entry in the adjacency table. The adjacency table entry contains the frame
header information required by the router to properly form a frame. Therefore, an egress
interface and a next-hop MAC address is in an adjacency entry for a multipoint Ethernet
interface, whereas a point-to-point interface requires only egress interface information.
Layer 3-to-Layer 2
IP Routing Table
Mappings
Control Plane
Example 1-26 provides sample output from the show ip route ip_address subnet_mask
command. The output indicates that the entire network 192.168.1.0/24 is accessible out inter- 1
face Fast Ethernet 0/0, with next-hop IP address 192.168.0.11.
Example 1-26 show ip route ip_address subnet_mask Command Output
Example 1-27 provides sample output from the show ip route ip_address subnet_mask
longer-prefixes command, with and without the longer-prefixes option. Notice that the
router responds that the subnet 172.16.0.0 255.255.0.0 is not in the IP routing table. However,
with the longer-prefixes option added, two routes are displayed, because these routes are
subnets of the 172.16.0.0/16 network.
Example 1-27 show ip route ip_address subnet_mask longer-prefixes Command Output
Example 1-28 provides sample output from the show ip cef ip_address command. The out-
put indicates that, according to CEF, IP address 192.168.1.11 is accessible out interface Fast
Ethernet 0/0, with the next-hop IP address 192.168.0.11.
36 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 1-29 provides sample output from the show ip cef ip_address subnet_mask
command. The output indicates that network 192.168.1.0/24 is accessible off interface Fast
Ethernet 0/0, with the next-hop IP address 192.168.0.11.
Example 1-29 show ip cef ip_address subnet_mask Command Output
The following snippet provides sample output from the show ip cef exact-route
source_address destination_address command:
Example 1-31 provides sample output from the show frame-relay map command. The out-
put shows the Frame Relay interfaces, the corresponding DLCIs associated with the inter- 1
faces, and the next-hop IP address that is reachable out the interface using the permanent
virtual circuit (PVC) associated with the listed DLCI. In this case, if R2 needs to send data to
the next-hop IP address 172.16.33.6, it uses the PVC associated with DLCI 406 to get there.
Example 1-31 show frame-relay map Command Output
Example 1-32 provides sample output from the show ip nhrp command. This command
displays the Next Hop Resolution Protocol cache that is used with DMVPN networks. In
this example, if a packet needs to be sent to the 192.168.255.2 next-hop IP address, the non-
broadcast multiaccess (NBMA) address 198.51.100.2 is used to reach it.
Example 1-32 show ip nhrp Command Output
Example 1-33 provides sample output from the show adjacency detail command. The
output shows the CEF information used to construct frame headers needed to reach the
next-hop IP addresses through the various router interfaces. Notice the value 64510800 for
Serial 1/0. This is a hexadecimal representation of information that is needed by the router to
successfully forward the packet to the next-hop IP address 172.16.33.5, including the DLCI
405. Notice the value CA1B01C4001CCA1C164000540800 for Fast Ethernet 3/0. This is the
destination MAC address, the source MAC address, and the EtherType code for an Ethernet
frame. The first 12 hex values are the destination MAC address, the next 12 are the source
MAC address, and 0800 is the IPv4 EtherType code.
38 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Interface enabled
for routing process
Static Routes
Data
Redistributed Routes
Structure IP
of IP Directly Connected Routing
Routing Table
Protocol Route Installation
Figure 1-15 Interaction Between the IP Routing Table and a Routing Protocol Data
Structure
As a router receives routing information from a neighboring router, the information is stored
in the data structures of the IP routing protocol and analyzed by the routing protocol to
determine the best path, based on metrics. An IP routing protocol’s data structure can
also be populated by the local router. For example, a router might be configured for route
redistribution, where routing information is redistributed from the routing table into the IP
routing protocol’s data structure. The router might be configured to have specific interfaces
participate in an IP routing protocol process. In that case, the network that the interface
belongs to is placed into the routing protocol data structure as well.
However, what goes in the routing table? Reviewing Figure 1-15 again, notice that the rout-
ing protocol data structure can populate the routing table, a directly connected route can
populate the routing table, and static routes can populate the routing table. These are all
known as sources of routing information.
■ Connected interface
■ Static route
■ RIP
■ EIGRP
■ OSPF
■ BGP
If the routing information received from all these sources is for different destination net-
works, each one is used for its respectively learned destination networks and placed in the
routing table. However, what if the route received from Routing Information Protocol (RIP)
and OSPF is exactly the same? For example, say that both protocols have informed the
router about the 10.1.1.0/24 network. How does the router choose which is the most believ-
able, or the best source of routing information? It cannot use both; it must pick one and
install that information in the routing table.
40 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Routing information sources are each assigned an administrative distance (AD). Think of
an administrative distance of a routing information source as the believability or trustwor-
thiness of that routing source when comparing it to the other routing information sources.
Table 1-4 lists the default ADs of routing information sources. The lower the AD, the more
preferred the source of information.
For instance, RIP has a default AD of 120, whereas OSPF has a default AD of 110. There-
fore, if both RIP and OSPF have knowledge of a route to a specific network (for example,
10.1.1.0/24), the OSPF route is injected into the router’s IP routing table because OSPF has a
more believable AD. Therefore, the best route selected by an IP routing protocol’s data struc-
ture is only a candidate to be injected into the router’s IP routing table. The route is injected
into the routing table only if the router concludes that it came from the best routing source.
As you will see in later chapters, when you troubleshoot specific routing protocols, routes
might be missing in the routing table from a specific routing protocol, or suboptimal routing
may be occurring because a different routing source with a lower AD is being used.
You can verify the AD of a route in the routing table by using the show ip route ip_address
command, as shown in Example 1-34. Notice in the example that the route to 10.1.1.0 has an
AD of 0, and the route to 10.1.23.0 has an AD of 90.
Example 1-34 Verifying the Administrative Distance of a Route in the Routing Table
If you ever need to make sure that the routing information or subset of routing information
received from a particular source is never used, change the AD of specific routes or all routes
from that source to 255, which means “do not believe.”
AD is also used to manipulate path selection. For example, you might have two different
paths to the same destination, learned from two different sources (for example, EIGRP and
a static route). In this case, the static route is preferred. However, this static route may be
pointing to a backup link that is slower than the EIGRP path. Therefore, you want the EIGRP
path to be installed in the routing table because the static route is causing suboptimal rout-
ing. But you are not allowed to remove the static route. To solve this issue, create a floating
static route. This static route has a higher AD than the preferred route. Because you want
EIGRP to be preferred, modify the static route so that it has an AD higher than EIGRP,
which is 90. As a result, the EIGRP-learned route is installed in the routing table, and the
static route is installed only if the EIGRP-learned route goes away.
Static Routes
Static routes are manually configured by administrators, and by default they are the second-
most-trustworthy source of routing information, with an AD of 1. They allow an admin-
istrator to precisely control how to route packets for a particular destination. This section
discusses the syntax of IPv4 and IPv6 static routes and explains what to look for while
troubleshooting.
R1# config t
10.1.1.0/24 10.1.3.0/24
Gi1/0
R1 10.1.12.0/24 R2 10.1.23.0/24 R3
When troubleshooting IPv4 static routes, you need to be able to recognize why the static
route may not be providing the results you want. For example, are the network and mask
accurate? If either of them is incorrect, your static route will not route the packets you are
expecting it to route. The router might drop packets because it does not match the static
route or any other route. It might end up forwarding packets using the default route, which
may be pointing the wrong way. In addition, if the static route includes networks that it
should not, you could be routing packets the wrong way.
Consider this: If you were to configure the static route ip route 10.1.3.0 255.255.255.0
10.1.12.1 on R2 in Figure 1-16, packets destined to 10.1.3.0 would be sent to R1, which is the
wrong way. However, notice in Example 1-35 that R1 points to R2 (10.1.12.2) for the network
10.1.3.0/24. Therefore, R1 and R2 simply bounce packets that are destined for 10.1.3.0/24
back and forth until the TTL expires.
Notice that the next-hop IP address is a very important parameter for the static route. It tells
the local router where to send the packet. For instance, in Example 1-35, the next hop is
10.1.12.2. Therefore, a packet destined to 10.1.3.0 has to go to 10.1.12.2 next. R1 now does a
recursive lookup in the routing table for 10.1.12.2 to determine how to reach it, as shown in
Example 1-36. This example displays the output of the show ip route 10.1.12.2 command on
R1. Notice that 10.1.12.2 is directly connected out Gigabit Ethernet 1/0.
Example 1-36 Recursive Lookup on R1 for the Next-Hop Address
Because the exit interface to reach 10.1.12.2 is Gigabit Ethernet 1/0, the Ethernet frame
requires source and destination MAC addresses. As a result, R1 looks in its ARP cache, as 1
shown in Example 1-37, and finds that the MAC address for 10.1.12.2 is ca08.0568.0008.
Example 1-37 MAC Address Lookup in the ARP Cache
Notice in this case that the MAC address of the next-hop address is used for the Layer 2
frame. It is not the MAC address of the IP address in the packet. The benefit of this is that
the router only has to find the MAC address of the next hop when using the ARP process,
and then it can store the results in the ARP cache. Then, any packet that has to go to the
next hop address 10.1.12.2 does not require an ARP request to be sent; it needs just a lookup
in the ARP cache, which makes the overall routing process more efficient.
Now that you understand the next-hop IP address, there is another option you need to know
about. As you saw earlier in the ip route syntax, you can specify an exit interface instead
of a next-hop IP address. There is a right time to use the exit interface, and there is a wrong
time to use it. The right time is when it’s a pure point-to-point interface, such as DSL or
serial. Point-to-point Ethernet links are not pure point-to-point but are still multiaccess, and
because they are Ethernet, they require source and destination MAC addresses. If you spec-
ify an Ethernet interface as the next hop, you will be making your router ARP for the MAC
address of every destination IP address in every packet. Let’s look at this.
Say that you configure the following static route on R1: ip route 10.1.3.0 255.255.255.0
gigabit Ethernet 1/0. Example 1-38 shows how the static route appears in the routing
table. It states that 10.1.3.0/24 is directly connected to Gigabit Ethernet 1/0. But is it? Refer
to Figure 1-17 to know for sure. It is clear in Figure 1-17 that 10.1.3.0/24 is not directly
connected. But because of the way the static route is configured, R1 thinks that it is directly
connected.
Example 1-38 Static Route with an Exit Interface Specified
10.1.1.0/24 10.1.3.0/24
Gig1/0
R1 10.1.12.0/24 R2 10.1.23.0/24 R3
Imagine that users in the 10.1.1.0/24 network are trying to access resources in the 10.1.3.0/24
network. Specifically, they are accessing resources on 10.1.3.1 through 10.1.3.8. R1 receives
the packets, and it looks in the routing table and finds that the longest match is the following
entry:
Example 1-40 shows how to use the show ip interface command to verify whether proxy
ARP is enabled.
Example 1-40 Verifying Whether Proxy ARP Is Enabled
If proxy ARP is not enabled, the ARP cache on R1 appears as shown in Example 1-41.
Notice that R1 is still sending ARP requests; however, it is not getting any ARP replies.
Therefore, it cannot build the Layer 2 frame, and the result is an encapsulation failure,
which you would be able to see if you were debugging IP packets.
Example 1-41 ARP Cache on R1 with R2 Proxy ARP Disabled
Because of the fact that R1 uses ARP to determine the MAC address of every destination
IP address in every packet, you should never specify an Ethernet interface in a static route.
Specifying an Ethernet interface in a static route results in excessive use of router resources,
such as processor and memory, as the control plane gets involved during the forwarding pro-
cess to determine the appropriate Layer 2 MAC address using ARP.
Being able to recognize misconfigured static routes and the issues that arise is an important
skill to have when troubleshooting because a misconfigured static route causes traffic to
be misrouted or suboptimally routed. In addition, remember that static routes have an AD
of 1; therefore, they are preferred over other sources of routing information to the same
destination.
The following snippet displays the configuration of an IPv6 static route on R1, as shown in
Figure 1-18:
R1# config t
2001:DB8:0:1::/64 2001:DB8:0:3::/64
Gig1/0
R1 R2 R3
Recall that there are no broadcasts with IPv6. Therefore, IPv6 does not use ARP. It uses NDP
(Neighbor Discovery Protocol), which is multicast based, to determine a neighboring device’s
MAC address. In this case, if R1 needs to route packets to 2001:DB8:0:3::/64, the routing
table says to use the next-hop address FE80::2, which is out Gig1/0. Therefore, it consults its
IPv6 neighbor table, as shown in the following snippet, to determine whether there is a MAC
address for FE80::2 out Gig 1/0:
It is imperative that the table have an entry that maps the link-local address and the interface.
If only one matches, it is not the correct entry. If there is no entry in the IPv6 neighbor table, 1
a neighbor solicitation message is sent to discover the MAC address FE80::2 on Gig1/0.
As you discovered earlier with IPv4, it is not acceptable to use the interface option in a static
route when the interface is an Ethernet interface because proxy ARP consumes an exces-
sive amount of router resources. Note that proxy ARP does not exist in IPv6. Therefore, if
you use the interface option with an Ethernet interface, it works only if the destination IPv6
address is directly attached to the router interface specified. This is because the destination
IPv6 address in the packet is used as the next-hop address, and the MAC address needs to
be discovered using NDP. If the destination is not in the directly connected network, neigh-
bor discovery fails, and Layer 2 encapsulation ultimately fails. Consider Figure 1-18 again.
On R1, if you configured the following IPv6 static route (which is called a directly attached
static route), what would happen?
Trouble Tickets
This section presents various trouble tickets related to the topics discussed earlier in the
chapter. The purpose of this section is to show you a process you can follow when trouble-
shooting in the real world or in an exam environment.
Gig2/0
Gig0/0 Gig1/0 192.0.2.1
.1
R1
NAT Enabled Router
10.1.1.20
255.255.255.192 PC2
DG:10.1.1.1
C:\PC1>ping 192.0.2.1
Pinging 192.0.2.1 with 32 bytes of data:
Next, you ping the default gateway for PC1, which is R1, at 10.1.1.1. As shown in Example 1-44,
the ping is successful.
Example 1-44 Successful Ping from PC1 to the Default Gateway
C:\PC1>ping 10.1.1.1
You decide to see whether this is an isolated incident. You access PC2 and ping 192.0.2.1,
which is successful, as shown in Example 1-45.
Example 1-45 Successful Ping from PC2 to 192.0.2.1
C:\PC2>ping 192.0.2.1
At this point, you have determined that Layer 2 and Layer 3 connectivity from PC1 and
PC2 to the router is fine. You have also confirmed that PC2 can reach Internet resources
even though PC1 cannot. There are many reasons this situation might exist. One of the big
ones is that an access control list (ACL) on Gig0/0 or Gig1/0 is denying PC1 from accessing
resources on the Internet. Alternatively, a NAT issue could be preventing 10.1.1.10 from being
translated. However, before you go down that path, review the basics. For example, what
about the default gateway configured on PC1? If it is configured incorrectly, PC1 is sending
packets that are destined to a remote subnet to the wrong default gateway. If you review the
output of ipconfig on PC1, as shown in Example 1-46, you see that the default gateway is
configured as 10.1.1.100, which is not the IP address of R1’s interface.
Example 1-46 ipconfig Output on PC1
C:\PC1>ipconfig
Windows IP Configuration
After you change the default gateway on R1 to 10.1.1.1, the ping to 192.0.2.1 is successful, as
shown in Example 1-47.
Example 1-47 Successful Ping from PC1 to 192.0.2.1
C:\PC1>ping 192.0.2.1
You begin troubleshooting by verifying the issue with a ping from PC1 to 192.0.2.1. As
shown in Example 1-48, the ping fails.
Example 1-48 Failed Ping from PC1 to 192.0.2.1
C:\PC1>ping 192.0.2.1
Pinging 192.0.2.1 with 32 bytes of data:
Next, you ping the default gateway for PC1, which is R1, at 10.1.1.1. As shown in
Example 1-49, it fails as well.
Example 1-49 Failed Ping from PC1 to the Default Gateway
C:\PC1>ping 10.1.1.1
Pinging 10.1.1.1 with 32 bytes of data:
Next, you decide to see whether this is an isolated incident by pinging from PC2 to the IP
address 192.0.2.1 and to the default gateway at 10.1.1.1. As shown in Example 1-50, both
pings fail as well, indicating that the problem is not isolated.
Example 1-50 Failed Ping from PC2 to 192.0.2.1 and the Default Gateway
C:\PC2>ping 192.0.2.1
Pinging 192.0.2.1 with 32 bytes of data:
C:\PC2>ping 10.1.1.1
1
Pinging 10.1.1.1 with 32 bytes of data:
At this point, you have confirmed that there is no Layer 2 or Layer 3 connectivity from PC1
or PC2 to their default gateway. This can be caused by many different factors. For example,
VLANs, VLAN access control lists (VACLs), trunks, VLAN Trunking Protocol (VTP), and
Spanning Tree Protocol (STP) could all possibly cause this issue to occur. However, always
remember to check the basics first; start with IP addressing on the client. On PC1, you issue
the ipconfig command, and as shown in Example 1-51, PC1 has an APIPA (Automatic Private
IP Addressing) address of 169.254.180.166/16 and no default gateway. This means that PC1
cannot contact a DHCP server and is autoconfiguring an IP address. This still does not rule
out VLAN, trunk, VTP, STP, and so on as causes. However, it helps you narrow the focus.
Example 1-51 ipconfig Output on PC1
C:\PC1>ipconfig
Windows IP Configuration
Notice in the trouble ticket topology in Figure 1-19 that the DHCP server is located out inter-
face Gig2/0 on R1. It is in a different subnet than the PCs. Therefore, R1 is required to forward
the DHCPDISCOVER messages from the PCs to the DHCP server at 172.16.1.10. To do this, it
needs the ip helper-address command configured on Gig0/0. You can start there to eliminate
this as the issue and then focus elsewhere if need be. On R1, you issue the command show
run interface gigabitEthernet 0/0, as shown in Example 1-52. The output indicates that the
IP helper address is 172.16.1.100, which is not correct according to the network diagram.
Example 1-52 Verifying the IP Helper Address on Gig0/0 of R1
!
interface GigabitEthernet0/0
ip address 10.1.1.1 255.255.255.192
ip helper-address 172.16.1.100
ip nat inside
end
After you fix the IP helper address with the no ip helper-address 172.16.1.100 command
and issue the ip helper-address 172.16.1.10 command in interface configuration mode, PC1
successfully receives IP addressing information from the DHCP server, as shown in
Example 1-53.
Example 1-53 Correct IP Addressing After Fixing the ip helper-address Command
C:\PC1>ipconfig
Windows IP Configuration
After you verify the addressing information on PC1, the ping to 192.0.2.1 is successful, as
shown in Example 1-54.
Example 1-54 Successful Ping from PC1 to 192.0.2.1
C:\PC1>ping 192.0.2.1
2001:db8:a:b::7
DHCP Server
::10
PC1
::1
Default Gateway 2001:db8:d::1
2001:db8:a:a::/64 Gi0/0 Gi1/0
2001:db8:a:a::1
Gi0/0 ::2 R1
PC2 R2
::20
Figure 1-20 IPv6 Addressing Trouble Tickets Topology
C:\PC1>ping 2001:db8:d::1
You ping the default gateway at 2001:db8:a:a::1, but the ping fails, as shown in Example 1-56.
Example 1-56 Failed Ping from PC1 to the Default Gateway at 2001:db8:a:a::1
C:\PC1>ping 2001:db8:a:a::1
Next, you verify the IPv6 addresses on PC1 by using the ipconfig command. Example 1-57
indicates that PC1 is not generating its own global unicast address using stateless address
autoconfiguration or identifying a default gateway on the network.
Example 1-57 Verifying IPv6 Addressing on PC1
C:\PC1>ipconfig
Windows IP Configuration
Your phone rings, and the user at PC2 is indicating that he cannot access any of the IPv6-
enabled resources. You access PC2 and issue the ipconfig command, as shown in
Example 1-58, and notice that it is also not generating an IPv6 address or identifying
a default gateway.
Example 1-58 Verifying IPv6 Addressing on PC2
C:\PC2>ipconfig
Windows IP Configuration
Recall that SLAAC relies on RAs. Therefore, R1’s Gig0/0 interface needs to be sending RAs
on the link for PC1 and PC2 to generate their own IPv6 addresses using SLAAC. You issue
the command show ipv6 interface gigabitEthernet 0/0 on R1, as shown in Example 1-59.
The output indicates that hosts use SLAAC for addresses, and DHCP is used for other
configuration values. However, it also indicates that RAs are suppressed. Therefore, PC1
and PC2 do not receive RAs that provide the prefix information necessary to perform
autoconfiguration.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 55
You issue the command show run interface gigabitEthernet 0/0 to verify the configuration
commands on the interface. As shown in Example 1-60, the interface is configured with the
command ipv6 nd ra suppress all, which stops R1 from sending RAs.
Example 1-60 Verifying Interface Configuration on R1
After you remove this command with the no ipv6 nd ra suppress all command, PC1 suc-
cessfully generates a global IPv6 address and identifies an IPv6 default gateway, as shown in
Example 1-61.
56 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
C:\PC1>ipconfig
Windows IP Configuration
You confirm that IPv6 resources are accessible by pinging 2001:db8:d::1, as shown in
Example 1-62, and it is successful. You then call the user at PC2 and confirm that he can
access the resources as well. He indicates that he can.
Example 1-62 Successful Ping from PC1 to the Web Server at 2001:db8:d::1
C:\PC1>ping 2001:db8:d::1
Pinging 2001:db8:d::1 with 32 bytes of data:
Reply from 2001:db8:d::1: time=37ms
Reply from 2001:db8:d::1: time=35ms
Reply from 2001:db8:d::1: time=38ms
Reply from 2001:db8:d::1: time=38ms
Example 1-63 Failed Ping from PC1 to the Web Server at 2001:db8:d::1
1
C:\PC1>ping 2001:db8:d::1
You ping the default gateway at 2001:db8:a:a::1, but the ping fails, as shown in Example 1-64.
Example 1-64 Failed Ping from PC1 to the Default Gateway at 2001:db8:a:a::1
C:\PC1>ping 2001:db8:a:a::1
Next, you verify the IPv6 addresses on PC1 by using the ipconfig command. Example 1-65
indicates that PC1 is not generating its own global unicast address using stateless address
autoconfiguration; however, it is identifying a default gateway on the network at the link-
local address fe80::c80a:eff:fe3c:8.
Example 1-65 Verifying IPv6 Addressing on PC1
C:\PC1>ipconfig
Windows IP Configuration
Your phone rings, and the user at PC2 is indicating that she cannot access any of the IPv6-
enabled resources. You access PC2 and issue the ipconfig command, as shown in
Example 1-66, and notice that it’s experiencing the same issues as PC1.
Example 1-66 Verifying IPv6 Addressing on PC2
C:\PC2>ipconfig
Windows IP Configuration
Recall that SLAAC relies on RAs. Therefore, R1’s Gig0/0 interface must send RAs on the link
for PC1 and PC2 to generate their own IPv6 address using SLAAC. You issue the command
show ipv6 interface gigabitEthernet 0/0 on R1, as shown in Example 1-67. The output indi-
cates that hosts use SLAAC for addresses, and DHCP is used for other configuration values.
Also, there is no indication that RAs are being suppressed. This is also confirmed by the fact
that PC1 and PC2 are identifying a default gateway. However, is it the right one? According
to Examples 1-65 and 1-66, the default gateway is fe80::c80a:eff:fe3c:8. Based on Example 1-67,
this is correct. If you review Example 1-67 further, can you see the issue?
Example 1-67 Verifying Whether RAs Are Suppressed on R1
If you did not spot it, look at the global prefix assigned to interface Gig0/0. It is
2001:db8:a::/60. SLAAC works only if the prefix is /64.
You issue the command show run interface gigabitEthernet 0/0 to verify the configuration
commands on the interface. As shown in Example 1-68, the interface is configured with the
command ipv6 address 2001:db8:a:a::1/60. RAs are still generated, but SLAAC does not
work unless the prefix is /64.
Example 1-68 Verifying Interface Configuration on R1
You confirm with your network design plans that the prefix should be /64. After you remove
this command with the no ipv6 address 2001:db8:a:a::1/60 command and issue the com-
mand ipv6 address 2001:db8:a:a::1/64, PC1 successfully generates a global IPv6 unicast
address, as shown in Example 1-69.
Example 1-69 Verifying IPv6 Addressing on PC1
C:\PC1>ipconfig
Windows IP Configuration
You confirm that IPv6 resources are accessible by pinging 2001:db8:d::1, as shown in
Example 1-70, and the ping is successful. In addition, you contact the user at PC2, and she
indicates that everything is fine now.
Example 1-70 Successful Ping from PC1 to the Web Server at 2001:db8:d::1
C:\PC1>ping 2001:db8:d::1
Pinging 2001:db8:d::1 with 32 bytes of data:
Reply from 2001:db8:d::1: time=37ms
Reply from 2001:db8:d::1: time=35ms
Reply from 2001:db8:d::1: time=38ms
Reply from 2001:db8:d::1: time=38ms
C:\PC1>ping 10.1.3.10
C:\PC1>ping 10.1.3.5
Next, you access R1 and issue the show ip route command on R1 to verify whether it
knows how to route the packet to 10.1.3.10. In Example 1-72, the closest entry that matches
10.1.3.10 is the entry for 10.1.3.0/29. However, does 10.1.3.10 fall within that subnet?
Example 1-72 Verifying Routing Table Entries
The network 10.1.3.0/29 has a range of addresses from 10.1.3.0 to 10.1.3.7, and 10.1.3.10 does
not fall within that subnet; however, 10.1.3.5 does fall within that range. This explains why
the users can reach one address and not the other in the 10.1.3.0/24 network. If you execute
the show ip route 10.1.3.10 and show ip route 10.1.3.5 commands on R1, the output verifies
this further. As shown in Example 1-73, there is no match for 10.1.3.10, but there is a match
for 10.1.3.5.
62 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Because the network in Figure 1-21 is 10.1.3.0/24, and the entry in the routing table is
10.1.3.0/29, it is possible that the static route was misconfigured. You need to verify this by
examining the running configuration using the show run | include ip route command, as
shown in the following snippet:
Next, you issue the show ip route 10.1.3.10 command, as shown in Example 1-75, and see
that the IP address 10.1.3.10 now matches an entry in the routing table.
Chapter 1: IPv4/IPv6 Addressing and Routing Review 63
Finally, you ping from PC1 to the IP address 10.1.3.10, and the ping is successful, as shown in
Example 1-76.
Example 1-76 Successful Ping from PC1 to 10.1.3.10
C:\PC1>ping 10.1.3.10
C:\PC1>tracert 2001:DB8:0:3::3
Tracing route to 2001:DB8:0:3::3 over a maximum of 30 hops
1 6 ms 1 ms 2 ms 2001:DB8:0:1::1
2 5 ms 1 ms 2 ms 2001:DB8:0:12::2
3 5 ms 1 ms 2 ms 2001:DB8:0:23::3
Trace complete.
64 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Next, you issue the show ipv6 route 2001:DB8:0:3::/64 command on R1, as shown
in Example 1-78, and confirm that the next-hop IPv6 address for 2001:DB8:0:3::/64 is
2001:DB8:0:12::2, which is the IPv6 address of R2’s Gig0/0 interface. The next-hop IPv6
address should be 2001:DB8:0:13::3, which is R3’s Gig2/0 interface.
Example 1-78 Verifying the IPv6 Route to 2001:DB8:0:3::/64 on R1
It appears that someone provided the incorrect next-hop IPv6 address in the static route.
You verify the static route configured on R1 for the 2001:DB8:0:3::/64 network by using the
show run | include ipv6 route command, as shown in Example 1-79. You notice that there
are two commands for network 2001:DB8:0:3::/64. One has a next hop of 2001:DB8:0:12::2,
and the other has a next hop of 2001:DB8:0:13::3.
Example 1-79 Verifying the IPv6 Static Routes Configured on R1
Why is the ipv6 route command with the next hop of 2001:DB8:0:12::2 being preferred over
the command with a next hop of 2001:DB8:0:13::3? If you look closely at both commands
in Example 1-80, you can see that the one with a next hop of 2001:DB8:0:12::2 is configured
with an AD of 10, and that the other, which has a next hop of 2001:DB8:0:13::3, is config-
ured with an AD of 11. Because lower AD is preferred, the static route with the AD of 10 is
more trustworthy and is therefore the one used.
To solve this issue, you need to configure the static route with a next hop of 2001:DB8:0:13::3
with a lower AD. In this case, you change the AD to 1, which is the default for static routes,
with the ipv6 route 2001:DB8:0:3::/64 2001:DB8:0:13::3 1 command. After the change, you
revisit the routing table with the show ipv6 route 2001:DB8:0:3::/64 command to verify that
the static route with the next hop of 2001:DB8:0:13::3 is now in the routing table. Example
1-80 confirms that the change was successful.
Example 1-80 Verifying the IPv6 Routing Table on R1
Routing paths:
1
2001:DB8:0:13::3
Last updated 00:01:14 ago
Next, you perform a trace from PC1 to 2001:DB8:0:3::3, as shown in Example 1-81, and it
confirms that R2 is no longer being used. The traffic is now flowing across the link between
R1 and R3.
Example 1-81 Trace from PC1 to R3’s Gig0/0 Interface
C:\PC1>tracert 2001:DB8:0:3::3
Tracing route to 2001:DB8:0:3::3 over a maximum of 30 hops
1 6 ms 1 ms 2 ms 2001:DB8:0:1::1
2 5 ms 1 ms 2 ms 2001:DB8:0:13::3
Trace complete.
EIGRP
■ EIGRP Configuration Modes: This section defines the two methods of configuring
EIGRP with a baseline configuration.
■ Path Metric Calculation: This section explains how EIGRP calculates the path metric
to identify the best and alternate loop-free paths.
■ Chapter 4, “Troubleshooting EIGRP for IPv4”: This chapter reviews common prob-
lems with the routing protocols and the methodology to troubleshoot EIGRP from an
IPv4 perspective.
■ Chapter 5, “EIGRPv6”: This chapter demonstrates how IPv4 EIGRP concepts carry
over to IPv6 and the methods to troubleshoot common problems.
CAUTION The goal of self-assessment is to gauge your mastery of the topics in this chap-
ter. If you do not know the answer to a question or are only partially sure of the answer, you
should mark that question as wrong for purposes of self-assessment. Giving yourself credit
for an answer that you correctly guess skews your self-assessment results and might provide
you with a false sense of security.
5. What attributes does the EIGRP topology table contain? (Choose all that apply.)
a. Destination network prefix
b. Hop Count
c. Total path delay
d. Maximum path bandwidth
e. List of EIGRP neighbors
6. What destination addresses does EIGRP use when feasible? (Choose two.)
a. IP address 224.0.0.9
b. IP address 224.0.0.10
c. IP address 224.0.0.8
d. MAC address 01:00:5E:00:00:0A
e. MAC address 0C:15:C0:00:00:01
7. The EIGRP process is initialized by which of the following technique? (Choose two.)
a. Using the interface command ip eigrp as-number ipv4 unicast
b. Using the global configuration command router eigrp as-number
c. Using the global configuration command router eigrp process-name
d. Using the interface command router eigrp as-number
8. True or false: The EIGRP router ID (RID) must be configured for EIGRP to be able to
establish neighborship.
a. True
b. False
9. True or false: When using MD5 authentication between EIGRP routers, the key-chain
sequence number can be different, as long as the password is the same.
a. True
b. False
10. Which value can be modified on a router to manipulate the path taken by EIGRP but
does not have impacts on other routing protocols, like OSPF?
a. Interface bandwidth
b. Interface MTU
c. Interface delay
d. Interface priority
Chapter 2: EIGRP 73
Foundation Topics
EIGRP Fundamentals
EIGRP overcomes the deficiencies of other distance vector routing protocols, such as Rout-
ing Information Protocol (RIP), with features such as unequal-cost load balancing, support
2
for networks 255 hops away, and rapid convergence features. EIGRP uses a diffusing update
algorithm (DUAL) to identify network paths and provides for fast convergence using precal-
culated loop-free backup paths. Most distance vector routing protocols use hop count as the
metric for routing decisions. Using hop count for path selection does not take into account
link speed and total delay. EIGRP adds logic to the route-selection algorithm that uses fac-
tors besides hop count.
Autonomous Systems
A router can run multiple EIGRP processes. Each process operates under the context of an
autonomous system, which represents a common routing domain. Routers within the same
domain use the same metric calculation formula and exchange routes only with members of
the same autonomous system. Do not confuse an EIGRP autonomous system with a Border
Gateway Protocol (BGP) autonomous system.
In Figure 2-1, EIGRP autonomous system (AS) 100 consists of R1, R2, R3, R4, and EIGRP
AS 200 consists of R3, R5, and R6. Each EIGRP process correlates to a specific autonomous
system and maintains an independent EIGRP topology table. R1 does not have knowledge
of routes from AS 200 because it is different from its own autonomous system, AS 100. R3
is able to participate in both autonomous systems and, by default, does not transfer routes
learned from one autonomous system into a different autonomous system.
R2 R5
AS 100 AS 200
R1 R3
R4 R6
EIGRP Terminology
This section explains some of the core concepts of EIGRP, along with the path selection pro-
cess. Figure 2-2 is used as a reference topology for R1 calculating the best path and alterna-
tive loop-free paths to the 10.4.4.0/24 network. The values in parentheses represent the link’s
calculated metric for a segment based on bandwidth and delay.
Feasible Su
ccess
or
R1
(2,560
)
Succ
(25 essor
6) Route
(2,560)
10.4.4.0/24
R3 (256) R4 (2,816)
6 )
(25
)
(2,560
R2
Figure 2-2 EIGRP Reference Topology
Table 2-2 defines important terms related to EIGRP and correlates them to Figure 2-2.
Topology Table
EIGRP contains a topology table, which makes it different from a true distance vector rout-
ing protocol. EIGRP’s topology table is a vital component of DUAL and contains infor-
mation to identify loop-free backup routes. The topology table contains all the network
prefixes advertised within an EIGRP autonomous system. Each entry in the table contains
the following: 2
■ Network prefix
■ Values used for calculating the metric (load, reliability, total delay, and minimum
bandwidth)
The command show ip eigrp topology [all-links] provides the topology table. By default,
only the successor and feasible successor routes are displayed, but the optional all-links
keyword shows the paths that did not pass the feasibility condition.
Figure 2-3 shows the topology table for R1 from Figure 2-2. This section focuses on the
10.4.4.0/24 network when explaining the topology table.
Feasible Successor
Path Metric Reported Distance
Passes Feasibility Condition
2816<3328
Figure 2-3 EIGRP Topology Output
76 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Examine the network 10.4.4.0/24 and notice that R1 calculates an FD of 3328 for the suc-
cessor route. The successor (upstream router) advertises the successor route with an RD of
3072. The second path entry has a metric of 5376 and has an RD of 2816. Because 2816 is
less than 3072, the second entry passes the feasibility condition and classifies the second
entry as the feasible successor for the prefix.
The 10.4.4.0/24 route is passive (P), which means the topology is stable. During a topology
change, routes go into an active (A) state when computing a new path.
EIGRP Neighbors
EIGRP does not rely on periodic advertisement of all the network prefixes in an autono-
mous system, which is done with routing protocols such as Routing Information Protocol
(RIP), Open Shortest Path First (OSPF), and Intermediate System-to-Intermediate System
(IS-IS). EIGRP neighbors exchange the entire routing table when forming an adjacency, and
they advertise incremental updates only as topology changes occur within a network. The
neighbor adjacency table is vital for tracking neighbor status and the updates sent to each
neighbor.
Inter-Router Communication
EIGRP uses five different packet types to communicate with other routers, as shown in
Table 2-3. EIGRP uses its own IP protocol number (88) and uses multicast packets where
possible; it uses unicast packets when necessary. Communication between routers is done
with multicast using the group address 224.0.0.10 or the MAC address 01:00:5e:00:00:0a
when possible.
NOTE EIGRP uses multicast packets to reduce bandwidth consumed on a link (one packet
to reach multiple devices). While broadcast packets are used in the same general way, all
nodes on a network segment process broadcast packets, whereas with multicast, only nodes
listening for the particular multicast group process the multicast packets.
Chapter 2: EIGRP 77
EIGRP uses Reliable Transport Protocol (RTP) to ensure that packets are delivered in order
and to ensure that routers receive specific packets. A sequence number is included in each
EIGRP packet. The sequence value zero does not require a response from the receiving
EIGRP router; all other values require an ACK packet that includes the original sequence
number.
2
Ensuring that packets are received makes the transport method reliable. All update, query,
and reply packets are deemed reliable, and hello and ACK packets do not require acknowl-
edgment and could be unreliable.
If the originating router does not receive an ACK packet from the neighbor before the
retransmit timeout expires, it notifies the non-acknowledging router to stop processing
its multicast packets. The originating router sends all traffic by unicast until the neighbor
is fully synchronized. Upon complete synchronization, the originating router notifies the
destination router to start processing multicast packets again. All unicast packets require
acknowledgment. EIGRP retries up to 16 times for each packet that requires confirma-
tion, and it resets the neighbor relationship when the neighbor reaches the retry limit
of 16.
NOTE In the context of EIGRP, do not confuse RTP with the Real-Time Transport Proto-
col (RTP), which is used for carrying audio or video over an IP network. EIGRP’s RTP allows
for confirmation of packets while supporting multicast. Other protocols that require reliable
connection-oriented communication, such as TCP, cannot use multicast addressing.
■ Authentication parameters
Figure 2-4 shows the process EIGRP uses for forming neighbor adjacencies.
78 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
R1 R2
Hello
ACK
ACK
ACK
■ It supports multiple address families (including Virtual Routing and Forwarding [VRF]
instances). EIGRP named configuration is also known as multi-address family con-
figuration mode.
EIGRP named mode provides a hierarchical configuration and stores settings in three
subsections:
■ Address Family: This submode contains settings that are relevant to the global EIGRP
AS operations, such as selection of network interfaces, EIGRP K values, logging set-
tings, and stub settings.
■ Interface: This submode contains settings that are relevant to the interface, such as
hello advertisement interval, split-horizon, authentication, and summary route adver-
tisements. In actuality, there are two methods of the EIGRP interface section’s configu-
ration. Commands can be assigned to a specific interface or to a default interface, in
which case those settings are placed on all EIGRP-enabled interfaces. If there is a con-
flict between the default interface and a specific interface, the specific interface takes
priority over the default interface.
■ Topology: This submode contains settings regarding the EIGRP topology database
and how routes are presented to the router’s RIB. This section also contains route
redistribution and administrative distance settings.
EIGRP named configuration makes it possible to run multiple instances under the same
EIGRP process. The process for enabling EIGRP interfaces on a specific instance is as
follows:
Step 1. Initialize the EIGRP process by using the command router eigrp process-
name. (If a number is used for process-name, the number does not correlate to
the autonomous system number.)
Step 2. Initialize the EIGRP instance for the appropriate address family with the
command address-family {IPv4 | IPv6} {unicast | vrf vrf-name} autonomous-
system as-number.
Step 3. Enable EIGRP on interfaces by using the command network network mask.
80 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
NOTE The two styles of EIGRP configuration are independent. Using the configuration
options from classic EIGRP autonomous system configuration does not modify settings on a
router running EIGRP named configuration.
The syntax for the network statement, which exists under the EIGRP process, is network
ip-address [mask]. The optional mask can be omitted to enable interfaces that fall within
the classful boundaries for that network statement.
A common misconception is that the network statement adds the networks to the EIGRP
topology table. In reality, the network statement identifies the interface to enable EIGRP
on, and it adds the interface’s connected network to the EIGRP topology table. EIGRP then
advertises the topology table to other routers in the EIGRP autonomous system.
EIGRP does not add an interface’s secondary connected network to the topology table. For
secondary connected networks to be installed in the EIGRP routing table, they must be
redistributed into the EIGRP process. Chapter 16, “Route Redistribution,” provides addi-
tional coverage of route redistribution.
To help illustrate the concept of the wildcard mask, Table 2-4 provides a set of IP addresses
and interfaces for a router. The following examples provide configurations to match specific
scenarios.
The configuration in Example 2-1 enables EIGRP only on interfaces that explicitly match the
IP addresses in Table 2-4.
Example 2-1 EIGRP Configuration with Explicit IP Addresses
Router eigrp 1
network 10.0.0.10 0.0.0.0
network 10.0.10.10 0.0.0.0
network 192.0.0.10 0.0.0.0
network 192.10.0.10 0.0.0.0
Chapter 2: EIGRP 81
Example 2-2 shows the EIGRP configuration using network statements that match the sub-
nets used in Table 2-4. Setting the last octet of the IP address to 0 and changing the wildcard
mask to 255 causes the network statements to match all IP addresses within the /24 network
range.
Example 2-2 EIGRP Configuration with Explicit Subnet
2
Router eigrp 1
network 10.0.0.0 0.0.0.255
network 10.0.10.0 0.0.0.255
network 192.0.0.0 0.0.0.255
network 192.10.0.0 0.0.0.255
The following snippet shows the EIGRP configuration using network statements for inter-
faces that are within the 10.0.0.0/8 or 192.0.0.0/8 network ranges:
router eigrp 1
router eigrp 1
NOTE A key topic with wildcard network statements is that large ranges simplify configu-
ration; however, they may possibly enable EIGRP on unintended interfaces.
Loopback0 Loopback0
192.168.1.1 192.168.2.2
R1 and R2 enable EIGRP on all of their interfaces. R1 configures EIGRP using multiple spe-
cific network interface addresses, and R2 enables EIGRP on all network interfaces with one
command. Example 2-3 provides the configuration that is applied to R1 and R2.
Example 2-3 Sample EIGRP Configuration
R1 (Classic Configuration)
interface Loopback0
ip address 192.168.1.1 255.255.255.255
!
interface GigabitEthernet0/1
ip address 10.12.1.1 255.255.255.0
!
interface GigabitEthernet0/2
ip address 10.11.11.1 255.255.255.0
!
router eigrp 100
network 10.11.11.1 0.0.0.0
network 10.12.1.1 0.0.0.0
network 192.168.1.1 0.0.0.0
As mentioned earlier, EIGRP named mode has three configuration submodes. The configura-
tion from Example 2-3 uses only the EIGRP address-family submode section, which uses the
network statement. The EIGRP topology base submode is created automatically with the
command topology base and exited with the command exit-af-topology. Settings for the
topology submode are listed between those two commands.
Example 2-4 demonstrates the slight difference in how the configuration is stored on the
router between EIGRP classic and named mode configurations.
Chapter 2: EIGRP 83
NOTE The EIGRP interface submode configurations contain the command af-interface
interface-id or af-interface default with any specific commands listed immediately. The
EIGRP interface submode configuration is exited with the command exit-af-interface.
This is demonstrated later in this chapter.
Confirming Interfaces
Upon configuring EIGRP, it is a good practice to verify that only the intended interfaces are
running EIGRP. The command show ip eigrp interfaces [{interface-id [detail] | detail}] shows
active EIGRP interfaces. Appending the optional detail keyword provides additional informa-
tion, such as authentication, EIGRP timers, split horizon, and various packet counts.
Example 2-5 demonstrates R1’s non-detailed EIGRP interface and R2’s detailed information
for the Gi0/1 interface.
Example 2-5 Verification of EIGRP Interfaces
Table 2-5 provides a brief explanation to the key fields shown with the EIGRP interfaces.
Table 2-6 provides a brief explanation of the key fields shown in Example 2-6.
NOTE The metrics for R2’s routes are different from the metrics from R1’s routes. This is
because R1’s classic EIGRP mode uses classic metrics, and R2’s named mode uses wide met-
rics by default. This topic is explained in depth in the “Path Metric Calculation” section, later
in this chapter.
Router ID
The router ID (RID) is a 32-bit number that uniquely identifies an EIGRP router and is used
as a loop-prevention mechanism. The RID can be set dynamically, which is the default, or
manually.
The algorithm for dynamically choosing the EIGRP RID uses the highest IPv4 address of
any up loopback interfaces. If there are not any up loopback interfaces, the highest IPv4
address of any active up physical interfaces becomes the RID when the EIGRP process
initializes.
IPv4 addresses are commonly used for the RID because they are 32 bits and are maintained
in dotted-decimal format. You use the command eigrp router-id router-id to set the RID, as
demonstrated in Example 2-8, for both classic and named mode configurations.
Example 2-8 Static Configuration of EIGRP Router ID
Passive Interfaces
Some network topologies must advertise a network segment into EIGRP but need to prevent
neighbors from forming adjacencies with other routers on that segment. This might be the
case, for example, when advertising access layer networks in a campus topology. In such a
scenario, you need to put the EIGRP interface in a passive state. Passive EIGRP interfaces do
not send out or process EIGRP hellos, which prevents EIGRP from forming adjacencies on 2
that interface.
To configure an EIGRP interface as passive, you use the command passive-interface
interface-id under the EIGRP process for classic configuration. Another option is to
configure all interfaces as passive by default with the command passive-interface default
and then use the command no passive-interface interface-id to allow an interface to
process EIGRP packets, preempting the global passive interface default configuration.
Example 2-9 demonstrates making R1’s Gi0/2 interface passive and also the alternative
option of making all interfaces passive but setting Gi0/1 as non-passive.
Example 2-9 Passive EIGRP Interfaces for Classic Configuration
For a named mode configuration, you place the passive-interface state on af-interface
default for all EIGRP interfaces or on a specific interface with the af-interface interface-id
section. Example 2-10 shows how to set the Gi0/2 interface as passive while allowing the
Gi0/1 interface to be active using both configuration strategies.
Example 2-10 Passive EIGRP Interfaces for Named Mode Configuration
Example 2-11 shows what the named mode configuration looks like with some settings
(i.e. passive-interface or no passive-interface) placed under the af-interface default or the
af-interface interface-id setting.
Example 2-11 Viewing the EIGRP Interface Settings with Named Mode
A passive interface does not appear in the output of the command show ip eigrp interfaces
even though it was enabled. Connected networks for passive interfaces are still added to the
EIGRP topology table so that they are advertised to neighbors.
Example 2-12 shows that the Gi0/2 interface on R1 no longer appears; compare this to
Example 2-5, where it does exist.
Chapter 2: EIGRP 89
To accelerate troubleshooting of passive interfaces, and other settings, the command show
ip protocols provides a lot of valuable information about all the routing protocols. With
EIGRP, it displays the EIGRP process identifier, the ASN, K values that are used for path
calculation, RID, neighbors, AD settings, and all the passive interfaces.
Example 2-13 provides sample output for both classic and named mode instances on R1
and R2.
Example 2-13 IP Protocols Output
Authentication
Authentication is a mechanism for ensuring that only authorized routers are eligible to
become EIGRP neighbors. It is possible for someone to add a router to a network and
introduce invalid routes accidentally or maliciously. Authentication prevents such scenarios
from happening. A precomputed password hash is included with all EIGRP packets, and the
receiving router decrypts the hash. If the passwords do not match for a packet, the router 2
discards the packet.
EIGRP encrypts the password by using a Message Digest 5 (MD5) authentication, using the
keychain function. The hash consists of the key number and a password. EIGRP authentica-
tion encrypts just the password rather than the entire EIGRP packet.
NOTE Keychain functionality allows a password to be valid for a specific time, so pass-
words can change at preconfigured times. Restricting the key sequence to a specific time is
beyond the scope of this book. For more information, see Cisco.com.
To configure EIGRP authentication, you need to create a keychain and then enable EIGRP
authentication on the interface. The following sections explain the steps.
Keychain Configuration
Keychain creation is accomplished with the following steps:
Step 1. Create the keychain by using the command key chain key-chain-name.
Step 2. Identify the key sequence by using the command key key-number, where
key-number can be anything from 0 to 2147483647.
Step 3. Specify the preshared password by using the command key-string password.
NOTE Be careful not to use a space after the password because that will be used for
computing the hash.
The command show key chain provides verification of the keychain. Example 2-15 shows
that each key sequence provides the lifetime and password.
Example 2-15 Verification of Keychain Settings
The EIGRP interface detail view provides verification of EIGRP authentication on a specific
interface. Example 2-16 provides detailed EIGRP interface output.
Chapter 2: EIGRP 93
K2 * BW K5
Metric = [(K1 * BW + + K3 * Delay) * ]
256 − Load K4 + Reliability
Figure 2-6 EIGRP Classic Metric Formula
EIGRP uses K values to define which factors the formula uses and the impact associated
with a factor when calculating the metric. A common misconception is that the K values
directly apply to bandwidth, load, delay, or reliability; this is not accurate. For example, K1
and K2 both reference bandwidth (BW).
BW represents the slowest link in the path, scaled to a 10 Gbps link (107). Link speed is col-
lected from the configured interface bandwidth on an interface. Delay is the total measure of
delay in the path, measured in tens of microseconds (μs).
The EIGRP formula is based on the IGRP metric formula, except the output is multiplied by
256 to change the metric from 24 bits to 32 bits. Taking these definitions into consideration,
the formula for EIGRP is shown in Figure 2-7.
107
107 K2 * Min. Bandwidth K3 * Total Delay K5
Metric = 256* [(K1* + + )* ]
Min. Bandwidth 256 − Load 10 K4 + Reliability
Figure 2-7 EIGRP Classic Metric Formula with Definitions
94 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
By default, K1 and K3 have a value of 1, and K2, K4, and K5 are set to 0. Figure 2-8 places
default K values into the formula and shows a streamlined version of the formula.
107
107 0 * Min. Bandwidth 1 * Total Delay 0
Metric = 256 * [(1 * + + )* ]
Min. Bandwidth 256 − Load 10 0 + Reliability
Equals
107 Total Delay
Metric = 256 * ( + )
Min. Bandwidth 10
Figure 2-8 EIGRP Classic Metric Formula with Default K Values
The EIGRP update packet includes path attributes associated with each prefix. The EIGRP
path attributes can include hop count, cumulative delay, minimum bandwidth link speed,
and RD. The attributes are updated each hop along the way, allowing each router to indepen-
dently identify the shortest path.
Figure 2-9 shows the information in the EIGRP update packets for the 10.1.1.0/24 prefix
propagating through the autonomous system. Notice that the hop count increments, mini-
mum bandwidth decreases, total delay increases, and the RD changes with each EIGRP
update.
Link Speed = 100 Mbps Link Speed = 10 Mbps Link Speed = 100 Mbps
Delay = 100 μs Delay = 1,000 μs Delay = 100 μs
10.1.1.0/24
R1 R2 R3
Using the topology from Figure 2-2, the metrics from R1 and R2 for the 10.4.4.0/24 network
are calculated using the formula in Figure 2-10. The link speed for both routers is 1 Gbps,
and the total delay is 30 μs (10 μs for the 10.4.4.0/24 link, 10 μs for the 10.34.1.0/24 link, and
10 μs for the 10.13.1.0/24 link).
107 30
Metric = 256 * ( + ) = 3,328
1,000,000 10
Figure 2-10 EIGRP Classic Metric Formula with Default K Values
If you are unsure of the EIGRP metrics, you can query the parameters for the formula
directly from EIGRP’s topology table by using the command show ip eigrp topology
network/prefix-length.
Example 2-17 shows R1’s topology table output for the 10.4.4.0/24 network. Notice that the
output includes the successor route, any feasible successor paths, and the EIGRP state for
the prefix. Each path contains the EIGRP attributes minimum bandwidth, total delay, inter-
face reliability, load, and hop count.
Example 2-17 EIGRP Topology for a Specific Prefix
Vector metric:
Minimum bandwidth is 1000000 Kbit
Total delay is 110 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
Originating router is 10.34.1.4
Wide Metrics
The original EIGRP specifications measured delay in 10-microsecond (μs) units and band-
width in kilobytes per second, which did not scale well with higher-speed interfaces. In
Table 2-7, notice that the delay is the same for the GigabitEthernet and TenGigabitEthernet
interfaces.
Example 2-18 provides some metric calculations for common LAN interface speeds. Notice
that there is not a differentiation between an 11 Gbps interface and a 20 Gbps interface. The
composite metric stays at 256, despite the different bandwidth rates.
Example 2-18 Metric Calculation for Common LAN Interface Speeds
GigabitEthernet:
Scaled Bandwidth = 10,000,000 / 1,000,000
Scaled Delay = 10 / 10
Composite Metric = 10 + 1 * 256 = 2816
10 GigabitEthernet:
Scaled Bandwidth = 10,000,000 / 10,000,000
Scaled Delay = 10 / 10
Composite Metric = 1 + 1 * 256 = 512
11 GigabitEthernet:
Scaled Bandwidth = 10,000,000 / 11,000,000
Scaled Delay = 10 / 10
Composite Metric = 0 + 1 * 256 = 256
20 GigabitEthernet:
Scaled Bandwidth = 10,000,000 / 20,000,000
Scaled Delay = 10 / 10
Composite Metric = 0 + 1 * 256 = 256
EIGRP includes support for a second set of metrics, known as wide metrics, that addresses
the issue of scalability with higher-capacity interfaces. The original formula referenced in
Figure 2-6 is known as EIGRP classic metrics.
Chapter 2: EIGRP 97
Figure 2-11 shows the explicit EIGRP wide metrics formula. Notice that an additional K
value (K6) is included that adds an extended attribute to measure jitter, energy, or other
future attributes.
K2* BW K5
Wide Metric = [(K1 * BW + + K3 * Latency + K6 * Extended) * ]
256 − Load K4 + Reliability 2
Figure 2-11 EIGRP Wide Metrics Formula
Just as EIGRP scaled by 256 to accommodate IGRP, EIGRP wide metrics scale by 65,535 to
accommodate higher-speed links. This provides support for interface speeds up to 655 tera-
bits per second (65,535 × 107) without any scalability issues. Latency is the total interface
delay measured in picoseconds (10−12) instead of in microseconds (10−6). Figure 2-12 shows
an updated formula that takes into account the conversions in latency and scalability.
K2 * 107
Wide K1 * 107 Min. Bandwidth K3 * Latency K5
Metric
= 65,535 * [( + + + K6 * Extended) * ]
Min. Bandwidth 256 − Load 10ˆ6 K4 + Reliability
Figure 2-12 EIGRP Wide Metrics Formula with Definitions
The interface delay varies from router to router, depending on the following logic:
■ If the interface’s delay was specifically set, the value is converted to picoseconds.
Interface delay is always configured in tens of microseconds and is multiplied by 107
for picosecond conversion.
■ If the interface’s bandwidth was specifically set, the interface delay is configured using
the classic default delay, converted to picoseconds. The configured bandwidth is not
considered when determining the interface delay. If delay was configured, this step is
ignored.
■ If the interface supports speeds of 1 Gbps or less and does not contain bandwidth or
delay configuration, the delay is the classic default delay, converted to picoseconds.
■ If the interface supports speeds over 1 Gbps and does not contain bandwidth or delay
configuration, the interface delay is calculated by 1013/interface bandwidth.
The EIGRP classic metrics exist only with EIGRP classic configuration, while EIGRP wide
metrics exist only in EIGRP named mode. The metric style used by a router is identified
with the command show ip protocols; if a K6 metric is present, the router is using wide-style
metrics.
Example 2-19 verifies the operational mode of EIGRP on R1 and R2. R1 does not have a
K6 metric and is using EIGRP classic metrics. R2 has a K6 metric and is using EIGRP wide
metrics.
98 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 2-21 demonstrates the modification of the delay on R1 to 100, increasing the delay
to 1000 μs on the link between R1 and R2. To ensure consistent routing, modify the delay on
R2’s Gi0/1 interface as well. Afterward, you can verify the change.
NOTE Bandwidth modification with the interface parameter command bandwidth band-
width has a similar effect on the metric calculation formula but can impact other routing
protocols, such as OSPF, at the same time. Modifying the interface delay only impacts
EIGRP.
Custom K Values
If the default metric calculations are insufficient, you can change them to modify the path
metric formula. K values for the path metric formula are set with the command metric
weights TOS K1 K2 K3 K4 K5 [K6] under the EIGRP process. The TOS value always has a
value of 0, and the K6 value is used for named mode configurations.
To ensure consistent routing logic in an EIGRP autonomous system, the K values must match
between EIGRP neighbors to form an adjacency and exchange routes. The K values are
included as part of the EIGRP hello packet. The K values are displayed with the show ip pro-
tocols command, as demonstrated with the sample topology in Example 2-13. Notice that
both routers are using the default K values, with R1 using classic metrics and R2 using wide
metrics.
Load Balancing
EIGRP allows multiple successor routes (with the same metric) to be installed into the RIB.
Installing multiple paths into the RIB for the same prefix is called equal-cost multipathing
(ECMP) routing. At the time of this writing, the default maximum ECMP is four routes.
You change the default ECMP setting with the command maximum-paths maximum-paths
under the EIGRP process in classic mode and under the topology base submode in named
mode.
Example 2-22 shows the configuration for changing the maximum paths on R1 and R2 so
that classic and named mode configurations are visible.
100 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
EIGRP supports unequal-cost load balancing, which allows installation of both successor
routes and feasible successors into the EIGRP RIB. To use unequal-cost load balancing with
EIGRP, change EIGRP’s variance multiplier. The EIGRP variance value is the feasible dis-
tance (FD) for a route multiplied by the EIGRP variance multiplier. Any feasible successor’s
FD with a metric below the EIGRP variance value is installed into the RIB. EIGRP installs
multiple routes where the FD for the routes is less than the EIGRP multiplier value up to the
maximum number of ECMP routes, as discussed earlier.
Dividing the feasible successor metric by the successor route metric provides the variance
multiplier. The variance multiplier is a whole number, and any remainders should always
round up.
Using the topology shown in Figure 2-2 and output from the EIGRP topology table in
Figure 2-3, the minimum EIGRP variance multiplier can be calculated so that the direct path
from R1 to R4 can be installed into the RIB. The FD for the successor route is 3328, and
the FD for the feasible successor is 5376. The formula provides a value of about 1.6 and is
always rounded up to the nearest whole number to provide an EIGRP variance multiplier
of 2. Figure 2-14 shows the calculation.
5376
≤ || 1.6 ||
3328
Equals
2 = Variance Multiplier
Figure 2-14 EIGRP Variance Multiplier Formula
Chapter 2: EIGRP 101
The command variance multiplier configures the variance multiplier under the EIGRP pro-
cess for classic configuration and under the topology base submode in named mode.
Example 2-23 provides a sample configuration for both configuration modes.
Example 2-23 EIGRP Variance Configuration
R1 (Classic Configuration) 2
router eigrp 100
variance 2
network 0.0.0.0
Example 2-24 provides a brief verification that both paths were installed into the RIB. Notice
that the metrics for the paths are different. One path metric is 3328, and the other path metric
is 5376. To see the traffic load-balancing ratios, you use the command show ip route network, as
demonstrated in the second output. The load-balancing traffic share is highlighted.
Example 2-24 Verification of Unequal-Cost Load Balancing
Advanced EIGRP
■ Failure Detection and Timers: This section explains how EIGRP detects the absence
of a neighbor and the convergence process.
■ Route Summarization: This section explains the logic and configuration of summarizing
routes on a router.
■ WAN Considerations: This section reviews common design considerations with using
EIGRP in a WAN.
This chapter explores the mechanisms used by EIGRP during path computations for alternate
routes due to network events. It also covers design concepts for accelerating convergence
and increasing the scale of the EIGRP network. The last portion of the chapter reviews
techniques for filtering or manipulating routes.
Table 3-1 “Do I Know This Already?” Foundation Topics Section-to-Question Mapping
Foundation Topics Section Questions
Failure Detection and Timers 1–4
Route Summarization 5–6
WAN Considerations 7
Route Manipulation 8
CAUTION The goal of self-assessment is to gauge your mastery of the topics in this
chapter. If you do not know the answer to a question or are only partially sure of the answer,
you should mark that question as wrong for purposes of self-assessment. Giving yourself
credit for an answer that you correctly guess skews your self-assessment results and might
provide you with a false sense of security.
1. What is the default EIGRP hello timer for a high-speed interface?
a. 1 second
b. 5 seconds
c. 10 seconds
d. 20 seconds
e. 30 seconds
f. 60 seconds
2. What is the default EIGRP hello timer for a low-speed interface?
a. 1 second
b. 5 seconds
c. 10 seconds
d. 20 seconds
e. 30 seconds
f. 60 seconds
3. When a path is identified using EIGRP and in a stable fashion, the route is considered
_____.
a. passive
b. dead
c. active
d. alive
4. How does an EIGRP router indicate that a path computation is required for a specific
route?
a. EIGRP sends out an EIGRP update packet with the topology change notification
flag set.
b. EIGRP sends out an EIGRP update packet with a metric value of zero.
c. EIGRP sends out an EIGRP query with the delay set to infinity.
d. EIGRP sends a route withdrawal, notifying other neighbors to remove the route
from the topology table.
5. True or false: EIGRP summarization is performed with the command summary-aggregate
network subnet-mask under the EIGRP process for classic mode configuration.
a. True
b. False
6. True or false: EIGRP automatic summarization is enabled by default and must be
disabled to prevent issues with networks that cross classful network boundaries.
a. True
b. False
7. True or false: EIGRP stub site functions can be deployed at all branch sites, regardless
of whether downstream EIGRP routers are present.
a. True
b. False
108 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Foundation Topics
Failure Detection and Timers
A secondary function of the EIGRP hello packets is to ensure that EIGRP neighbors are still
healthy and available. EIGRP hello packets are sent out in intervals according to the hello
timer. The default EIGRP hello timer is 5 seconds, but EIGRP uses 60 seconds on slow-speed
interfaces (T1 or lower).
EIGRP uses a second timer called the hold timer, which is the amount of time EIGRP deems
the router reachable and functioning. The hold time value defaults to three times the hello
interval. The default value is 15 seconds (or 180 seconds for slow-speed interfaces). The hold
time decrements, and upon receipt of a hello packet, the hold time resets and restarts the
countdown. If the hold time reaches 0, EIGRP declares the neighbor unreachable and notifies
the diffusing update algorithm (DUAL) of a topology change.
The hello timer is modified with the interface parameter command ip hello-interval eigrp
as-number seconds, and the hold timer is modified with the interface parameter command
ip hold-time eigrp as-number seconds when using EIGRP classic configuration mode.
For named mode configurations, the commands are placed under the af-interface default or
the af-interface interface-id submodes. The command hello-interval seconds modifies the
hello timer, and the command hold-time seconds modifies the hold timer when using named
mode configuration.
Example 3-1 demonstrates changing the EIGRP hello interval to 3 seconds and the hold time
to 15 seconds for R1 (in classic mode) and R2 (in named mode).
Example 3-1 EIGRP Hello and Hold Timer Value Verification
topology base
exit-af-topology
network 0.0.0.0
exit-address-family
The EIGRP hello and hold timers are verified by viewing the EIGRP interfaces with the
command show ip eigrp interfaces detail [interface-id], as demonstrated in the following
snippet:
NOTE EIGRP neighbors can still form an adjacency if the timers do not match, but the
hellos must be received before the hold time reaches zero; that is, the hello interval must be
less than the hold time.
Convergence
When a link fails, and the interface protocol moves to a down state, any neighbor attached to
that interface moves to a down state, too. When an EIGRP neighbor moves to a down state,
path recomputation must occur for any prefix where that EIGRP neighbor was a successor
(an upstream router).
When EIGRP detects that it has lost its successor for a path, the feasible successor instantly
becomes the successor route, providing a backup route. The router sends out an update
packet for that path because of the new EIGRP path metrics. Downstream routers run their
own DUAL algorithm for any affected prefixes to account for the new EIGRP metrics. It is
possible for a change of the successor route or feasible successor to occur upon receipt of
new EIGRP metrics from a successor router for a prefix.
Figure 3-1 demonstrates such a scenario when the link between R1 and R3 fails.
R2 RD
9
(9) (10)
10.1.1.0/24 (10)
R1 R3
RD 19
(10)
(2
0)
(5)
R4 R5
RD 20
R3 installs the feasible successor path advertised from R2 as the successor route. R3 sends
an update packet with a new reported distance (RD) of 19 for the 10.1.1.0/24 prefix. R5
receives the update packet from R3 and calculates a feasible distance (FD) of 29 for the
R1→R2→R3 path to 10.1.1.0/24. R5 compares that path to the one received from R4, which
has a path metric of 25. R5 chooses the path through R4 as the successor route.
Example 3-2 provides simulated output of R5’s EIGRP topology for the 10.1.1.0/24 prefix
after the R1–R3 link fails.
Example 3-2 Simulated EIGRP Topology for the 10.1.1.0/24 Network
If a feasible successor is not available for the prefix, DUAL must perform a new route
calculation. The route state changes from passive (P) to active (A) in the EIGRP topology table.
The router detecting the topology change sends out query packets to EIGRP neighbors for
the route. A query packet includes the network prefix with the delay set to infinity so that
other routers are aware that it is now active. When the router sends EIGRP query packets, it
sets the reply status flag for each neighbor on a prefix basis.
Upon receipt of a query packet, an EIGRP router does one of the following:
■ It replies to the query that the router does not have a route to the prefix.
■ If the query came from the successor for the route, the receiving router detects the
delay set for infinity, sets the prefix as active in the EIGRP topology, and sends out a
query packet to all downstream EIGRP neighbors for that route.
■ If the query did not come from the successor for that route, it detects that the delay is
set for infinity but ignores it because it did not come from the successor. The receiving
router replies with the EIGRP attributes for that route.
The query process continues from router to router until a router establishes the query
boundary. A query boundary is established when a router does not mark the prefix as active,
meaning that it responds to a query as follows:
■ It replies with EIGRP attributes because the query did not come from the successor.
Chapter 3: Advanced EIGRP 111
When a router receives a reply for every downstream query that was sent out, it completes
the DUAL, changes the route to passive, and sends a reply packet to any upstream routers
that sent a query packet to it. Upon receiving the reply packet for a prefix, the reply packet
is notated for that neighbor and prefix. The reply process continues upstream for the queries
until the first router’s queries are received.
Figure 3-2 shows a topology where the link between R1 and R2 failed.
R3
3
Query
(10)
R1 R2 R4
Query
(10)
(35
)
R5
Figure 3-2 EIGRP Convergence Topology
The following steps are processed in order from the perspective of R2 calculating a new
route to the 10.1.1.0/24 network:
Step 1. R2 detects the link failure. R2 does not have a feasible successor for the route,
sets the 10.1.1.0/24 prefix as active, and sends queries to R3 and R4.
Step 2. R3 receives the query from R2 and processes the Delay field that is set to infinity.
R3 does not have any other EIGRP neighbors and sends a reply to R2 that a route
does not exist. R4 receives the query from R2 and processes the Delay field that
is set to infinity. Because the query was received by the successor, and a feasible
successor for the prefix does not exist, R4 marks the route as active and sends a
query to R5.
Step 3. R5 receives the query from R4 and detects that the Delay field is set to infinity.
Because the query was received by a nonsuccessor, and a successor exists on a
different interface, a reply for the 10.4.4.0/24 network is sent back to R2 with
the appropriate EIGRP attributes.
Step 4. R4 receives R5’s reply, acknowledges the packet, and computes a new path.
Because this is the last outstanding query packet on R4, R4 sets the prefix as
passive. With all queries satisfied, R4 responds to R2’s query with the new
EIGRP metrics.
Step 5. R2 receives R4’s reply, acknowledges the packet, and computes a new path.
Because this is the last outstanding query packet on R4, R2 sets the prefix as
passive.
112 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Stuck in Active
DUAL is very efficient at finding loop-free paths quickly, and it normally finds backup paths
in seconds. Occasionally, an EIGRP query is delayed because of packet loss, slow neighbors,
or a large hop count. EIGRP maintains a timer, known as the active timer, which has a default
value of 3 minutes (180 seconds). EIGRP waits half of the active timer value (90 seconds) for
a reply. If the router does not receive a response within 90 seconds, the originating router
sends a stuck in active (SIA) query to EIGRP neighbors that did not respond.
Upon receipt of an SIA query, the router should respond within 90 seconds with an SIA
reply. An SIA reply contains the route information or provides information on the query pro-
cess itself. If a router fails to respond to an SIA query by the time the active timer expires,
EIGRP deems the router SIA. If the SIA state is declared for a neighbor, DUAL deletes all
routes from that neighbor, treating the situation as if the neighbor responded with unreach-
able message for all routes.
NOTE Earlier versions of IOS terminated EIGRP neighbor sessions with routers that never
replied to an SIA query.
You can only troubleshoot active EIGRP prefixes when the router is waiting for a reply. You
show active queries with the command show ip eigrp topology.
To demonstrate the SIA process, Figure 3-3 illustrates a scenario in which the link between
R1 and R2 failed. R2 sends out queries to R4 and R3. R4 sends a reply back to R2, and R3
sends a query on to R5.
R1 R2 R3 R5
10.12.1.0/24 10.23.1.0/24 10.35.1.0/24
10.24.1.0/24
10.1.1.0/24
Query
Query Query
Reply
R4
Figure 3-3 EIGRP SIA Topology
A network engineer who sees the syslog message and runs the show ip eigrp topology
active command on R2 gets the output shown in Example 3-3. The r next to the peer’s
IP address (10.23.1.3) indicates that R2 is still waiting on the reply from R3 and that R4
responded. The command is then executed on R3, and R3 indicates that it is waiting on
a response from R5. When you execute the command on R5, you do not see any active
prefixes, which implies that R5 never received a query from R3. R3’s query could have been
dropped on the radio tower connection.
Chapter 3: Advanced EIGRP 113
The active timer is set to 3 minutes by default. The active timer can be disabled or modified
with the command timers active-time {disabled | 1-65535-minutes} under the EIGRP process.
With classic configuration mode, the command runs directly under the EIGRP process, and with
named mode configuration, the command runs under the topology base. Example 3-4 demon-
strates the modification of SIA to 2 minutes for R1 in classic mode and R2 in named mode.
Example 3-4 Configuration of SIA Timers
You can see the active timer by examining the IP protocols on a router with the command
show ip protocols. Filtering with the keyword Active streamlines the information, as
demonstrated in the following snippet, where you see that R2’s SIA timer is set to 2 minutes:
Route Summarization
EIGRP works well with minimal optimization. Scalability of an EIGRP autonomous system
depends on route summarization. As the size of an EIGRP autonomous system increases,
convergence may take longer. Scaling an EIGRP topology depends on summarizing routes in
a hierarchical fashion. Figure 3-4 shows summarization occurring at the access, distribution,
and core layers of the network topology. In addition to shrinking the routing table of all the
routers, route summarization creates a query boundary and shrinks the query domain when a
route goes active during convergence, thereby reducing SIA scenarios.
114 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Core
Summarize
Summarize
Summarize
Distribution
Summarize
Summarize
Access
Interface-Specific Summarization
EIGRP summarizes network prefixes on an interface-by-interface basis. A summary
aggregate is configured for the EIGRP interface. Prefixes within the summary aggregate are
suppressed, and the summary aggregate prefix is advertised in lieu of the original prefixes.
The summary aggregate prefix is not advertised until a prefix matches it. Interface-specific
summarization can be performed in any portion of the network topology.
Figure 3-5 illustrates the concept of EIGRP summarization. Without summarization, R2
advertises the 172.16.1.0/24, 172.16.3.0/24, 172.16.12.0/24, and 172.16.23.0/24 networks
toward R4. R2 summarizes these network prefixes to the summary aggregate 172.16.0.0/16
prefix so that only one advertisement is sent to R4.
172.16.1.0./24
R1 17
2.1
6.1
2.0
./2
4
R2 172.16.24.0./24 R4
4
.0 ./2
172.16.0.0/16
6.23
.1
172
172.16.3.0./24 R3
Figure 3-5 EIGRP Summarization
Chapter 3: Advanced EIGRP 115
Example 3-6 shows the configuration for the 172.16.0.0/16 summary route that is advertised
toward R4 out the Gi0/4 interface. Summary routes are always advertised based on the out-
going interface. The af-interface default option cannot be used with the summary-address
command. It requires the use of a specific interface.
Example 3-6 Configuration for EIGRP Summarization
R2 (Classic Configuration)
interface gi0/4
ip summary-address eigrp 100 172.16.0.0/16
Example 3-7 shows R4’s routing table after summarization is enabled on R2. The number
of EIGRP paths has been drastically reduced, thereby reducing consumption of CPU and
memory resources. Notice that all the routes are condensed into the 172.16.0.0/16 aggregate.
116 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
NOTE Advertising a default route into EIGRP requires the summarization syntax described
earlier in this section, except that the network and mask uses 0.0.0.0 0.0.0.0 (commonly
referred to as double quad zeros).
Summarization Metrics
The summarizing router uses the lowest metric of the component routes in the summary
aggregate prefix. The path metric for the summary aggregate is based on the path attributes
of the path with the lowest metric. EIGRP path attributes such as total delay and minimum
bandwidth are inserted into the summary route so that downstream routers can calculate the
correct path metric for the summarized prefix.
In Figure 3-6, R2 has a path metric of 3072 for 172.16.1.0/24 prefix and a path metric of
3328 for the 172.16.3.0/24 prefix. The 172.16.0.0/16 summary aggregate is advertised with
the path metric 3072 and the EIGRP path attributes received by R2 from R1.
Chapter 3: Advanced EIGRP 117
17
2
172.16.1.0./24 Me .16
tric .1.0
R1 10 30 /24
.12 72
.1.
0./
24
R2 10.24.1.0./24 R4
24
. 0./ 172.16.0.0/16 3
3.1 Metric 3072
10.2 4
0/2
6 .3. 328
172.16.3.0./24 R3 2.1 c 3
17 etri
M
Automatic Summarization
EIGRP supports automatic summarization, automatically summarizing network advertise-
ments when they cross a classful network boundary. Figure 3-7 shows automatic summari-
zation for the 10.1.1.0/24 route on R2 and the 10.5.5.0/24 network on R4. R2 and R4 only
advertise the classful network 10.0.0/8 toward R3.
R1 R2 R3 R4 R5
Example 3-10 displays a similar behavior for the 172.16.23.0/24 and 172.16.34.0/24 networks
as they are advertised as 172.16.0.0/16 networks from R2 to R1. The identical advertisement
occurs from R4 to R5, too.
Example 3-10 Automatic Summarization on R1 and R5
WAN Considerations
EIGRP does not change behavior based on the media type of an interface. Serial and Ethernet
interfaces are treated the same. Some WAN topologies may require special consideration for
bandwidth utilization, split horizon, or next-hop self. The following sections explain each
scenario in more detail.
10
.34
.1.
10.1.1.0/24 10 0/2
.1. 4
R1 1.0
/24
10.1.1.0/24
10.12.1.0/24
VPN Tunnel
10.2.2.0/24
10.34.1.0/24
R3
3
4
10.2.2.0/24 2.0/2
.2. 24
R2 10 .0/
.1
.34
10
NOTE The serial WAN link network advertisements are not illustrated in Figures 3-8 to 3-12,
which instead focus on advertisement of routes that are multiple hops away.
Proper network design considers traffic patterns during normal operations and throughout
various failure scenarios to prevent suboptimal routing or routing loops. Figure 3-9
demonstrates the failure of the 10 Gbps network link between R1 and R2. R3 continues to
advertise the 10.1.1.0/24 prefix to R2 even though R1’s traffic should be taking the VPN tunnel
to reach R2. The scenario happens in the same fashion with 10.2.2.0/24 traffic transiting R3
instead of going across the VPN tunnel.
10
10 .2.2.
.34 0/2
.1. 4
10.1.1.0/24 10 0/2
.1. 4
R1 1.0
/24
10.12.1.0/24
VPN Tunnel
10.34.1.0/24
R3
/24
10.2.2.0/24 . 2.0
R2 0.2 4
1 0/2 4
. 1 .1. .0/2
10 .34.1
10
that it learns from other EIGRP peers. By default, EIGRP stubs advertise only connected and
summary routes, but they can be configured so that they only receive routes or advertise any
combination of redistributed routes, connected routes, or summary routes.
In Figure 3-10, R3 was configured as a stub router, and the 10 Gbps link between R1 and R2
fails. Traffic between R1 and R2 uses the backup VPN tunnel and does not traverse R3’s T1
circuits because R3 is only advertising its connected networks (10.34.1.0/24).
10
.34
.1.
10 0/2
10.1.1.0/24 .1. 4
1.0
R1 /24 EIGRP Stub Router
10.12.1.0/24
VPN Tunnel
10.34.1.0/24
R3
10.2.2.0/24 /24
. 2.0
R2 0.2 24
1
.1 .0/
.34
10
Figure 3-10 Stopping Transit Branch Routing with an EIGRP Stub Router
The EIGRP stub router announces itself as a stub within the EIGRP hello packet. Neighboring
routers detect the stub field and update the EIGRP neighbor table to reflect the router’s stub
status. If a route goes active, EIGRP does not send EIGRP queries to an EIGRP stub router.
This provides faster convergence within an EIGRP autonomous system because it decreases
the size of the query domain for that prefix.
You configure a stub router by placing the command eigrp stub {connected | receive-only
| redistributed | static | summary} under the EIGRP process for classic configuration and
under the address family for named mode configuration. Example 3-11 demonstrates the
stub configuration for EIGRP classic mode and named mode.
Example 3-11 EIGRP Stub Configuration
R3 (Classic Configuration)
router eigrp 100
network 0.0.0.0 255.255.255.255
eigrp stub
NOTE The receive-only option cannot be combined with other EIGRP stub options as
it does not advertise any networks to its neighbors. The network design should be given
special consideration to ensure bidirectional connectivity for any networks connected to an
EIGRP router with the receive-only stub option to ensure that routers know how to send
return traffic.
10
.34
.1.
10.1.1.0/24 10 0/2
.1. 4
R1 1.0
/24 EIGRP Stub Router
10.2.2.0/24 /24
. 2.0
R2 0.2 24
1
.1 .0/
.34
10
Figure 3-11 Problems with Downstream Routing and EIGRP Stub Routers
Say that a junior network engineer recently learned about the EIGRP stub function and
configured it on R3 to prevent transient routing and reduce the size of the query domain.
The users attached to R4’s 10.4.4.0/24 network start to complain because they cannot access
any resources attached to R1 and R2; however, they can still communicate with devices
attached to R3.
Example 3-12 demonstrates the EIGRP learned routes on R1 and R4. R1 is missing the
10.4.4.0/24 prefix, and R4 is missing the 10.1.1.0/24 prefix. Both prefixes are missing because
R3 is an EIGRP stub router.
Example 3-12 Missing Routes Because of EIGRP Stub Routing
The EIGRP stub site feature builds on EIGRP stub capabilities that allow a router to adver-
tise itself as a stub to peers only on the specified WAN interfaces but allow it to exchange
routes learned on LAN interfaces. EIGRP stub sites provide the following key benefits:
■ EIGRP neighbors on WAN links do not send EIGRP queries to the remote site when a
route becomes active.
■ The EIGRP stub site feature allows downstream routers to receive and advertise net-
work prefixes across the WAN.
■ The EIGRP stub site feature prevents the EIGRP stub site route from being a transit
site.
The EIGRP stub site feature works by identifying the WAN interfaces and then setting an
EIGRP stub site identifier. Routes received from a peer on the WAN interface are tagged
with an EIGRP stub site identifier attribute. When EIGRP advertises network prefixes out
a WAN-identified interface, it checks for an EIGRP stub site identifier. If one is found, the
route is not advertised; if an EIGRP stub site identifier is not found, the route is advertised.
Figure 3-12 illustrates the concept further with R3 being configured as a stub site router and
the serial links configured as EIGRP WAN interfaces:
Step 1. R1 advertises the 10.1.1.0/24 route to R3, and the 10.1.1.0/24 route is received on
R3’s WAN interface. R3 is then able to advertise that prefix to the downstream
router R4.
Step 2. R2 advertises the 10.2.2.0/24 route to R3, and the 10.2.2.0/24 route is received
on R3’s other WAN interface. R3 is then able to advertise that prefix to the
downstream router R4.
Step 3. R4 advertises the 10.4.4.0/24 network to R3. R3 checks the 10.4.4.0/24 route
for the EIGRP stub site attribute before advertising that prefix out either WAN
interface. R3 is able to advertise the prefix to R1 and R2 because it does not
contain an EIGRP stub site identifier attribute.
Notice that R3 does not advertise the 10.1.1.0/24 prefix to R2 and that it does not advertise
the 10.2.2.0/24 prefix to R1. This is because the EIGRP stub site attribute was added upon
receipt of the prefix and blocked during advertisement out the other WAN interface.
Chapter 3: Advanced EIGRP 123
10
10 .34.1
.4.
4.0 .0/24
10.1.1.0/24 10 /24
.1.
R1 1.0
/24
10.1.1.0/24
10.2.2.0/24
24
10.1.2.0/24 .2.0/
R2 10.2 0/2
4
4 .1. /24
. 3 0
10 .4.4.
10
R3
router eigrp EIGRP-NAMED
address-family ipv4 unicast autonomous-system 100
af-interface Serial1/0
stub-site wan-interface
exit-af-interface
!
af-interface Serial1/1
stub-site wan-interface
exit-af-interface
eigrp stub-site 100:1
exit-address-family
Example 3-14 verifies that the 10.1.1.0/24 route learned from R3’s serial interfaces are tagged
with the EIGRP stub site attribute. R4 was selected for this output to demonstrate that the
attribute is passed to other downstream routers.
124 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
A major benefit to the EIGRP stub site feature is that the stub functionality can be passed
to a branch site that has multiple edge routers. As long as each router is configured with the
EIGRP stub site feature and maintains the same stub site identifier, the site does not become
a transit routing site; however, it still allows for all the networks to be easily advertised to
other routers in the EIGRP autonomous system.
Example 3-15 verifies that R1 recognizes R3 as an EIGRP stub router and does not send it
any queries when a route becomes active.
Example 3-15 EIGRP Stub Router Flags
NOTE Although not required, configuring the EIGRP stub site feature on all branch routers
keeps the configuration consistent and makes possible additional nondisruptive deployment
of routers at that site in the future. The same as-number:identifier could be used for all of
the site’s WAN interfaces because those networks would never be advertised to other EIGRP
stub sites, with the exception of tunnels or backdoor network links, which helps prevent
suboptimal routing.
IP Bandwidth Percentage
Routing Information Protocol (RIP) and other routing protocols can consume all the 3
bandwidth on slow circuits. Although the routers may have accurate routing tables, a router
is worthless if no bandwidth is available for sending data packets. EIGRP overcomes this
deficiency by setting the maximum available bandwidth for all circuits to 50%. This allows
EIGRP to use 50% of the bandwidth and reserves 50% of the bandwidth for data packets.
The interface parameter command ip bandwidth-percent eigrp as-number percentage
changes the EIGRP available bandwidth for a link on EIGRP classic configuration. The
available bandwidth for EIGRP is modified under the af-interface default submode or the
af-interface interface-id submode with the command bandwidth-percent percentage in a
named mode configuration.
Example 3-16 provides the configuration for setting the bandwidth available for EIGRP on
R1 for classic and named mode configurations.
Example 3-16 EIGRP Bandwidth Percentage Configuration
R1 (Classic Configuration)
interface GigabitEthernet0/0
ip address 10.34.1.4 255.255.255.0
ip bandwidth-percent eigrp 100 25
You can see the EIGRP bandwidth settings by looking at the EIGRP interfaces with the
detail option. Example 3-17 shows the EIGRP bandwidth settings.
Example 3-17 Viewing the EIGRP Bandwidth Percentage
Split Horizon
The first distance vector routing protocols advertised network prefixes out all interfaces for
all known routes. Figure 3-13 demonstrates this behavior, with three routers processing the
advertisements:
10.1.1.0/24
R1 R2 R3
Figure 3-14 demonstrates a link failure between R1 and R2. R2 removes the 10.1.1.0/24 route
learned from R1. It is possible that before R2 announces that the 10.1.1.0/24 network is
unreachable, R3 advertises the 10.1.1.0/24 route with a metric of 2 out all interfaces
R2 installs the route advertised from R3, which has the next-hop IP address 10.23.1.3. R3 still
maintains the original route advertised from R2 with the next-hop IP address 10.23.1.2. This
causes a routing loop if a packet is sent from R2 or R3 to the 10.1.1.0/24 network. Eventu-
ally, the route entries time out and end the routing loop.
R1 R2 .2 .3 R3
10.1.1.0/24
Metric 2
Failure
Link
10.1.1.0/24
R1 R2 R3
EIGRP enables split horizon on all interfaces by default. When an interface connects to a
multi-access medium that does not support full-mesh connectivity for all nodes, split horizon
needs to be disabled. This scenario is commonly found on hub-and-spoke topologies such
as Frame Relay, Dynamic Multipoint Virtual Private Network (DMVPN), or Layer 2 Virtual
Private Network (L2VPN).
Figure 3-16 shows a hub-and-spoke topology where R1 is the hub, and R2 and R3 are spoke
routers that can only communicate with the hub router. R1 uses the same interface for estab-
lishing the DMVPN tunnel, and split horizon prevents routes received from one spoke (R2)
from being advertised to the other spoke (R3).
Notice that the EIGRP routing table is not complete for all the routers. R2 only has a remote
route for R1’s 10.1.1.0/24 network, and R3 only has a remote route for R1’s 10.1.1.0/24 net-
work. Split horizon on R1 prevents routes received from one spoke from being advertised to
the other spoke.
Network Next-Hop
10.1.1.0/24 Gi0/1
10.2.2.0/24 10.123.1.2
10.1.1.0/24
10.3.3.0/24 10.123.1.3
R1
Network Next-Hop Network Next-Hop
10.1.1.0/24 10.123.1.1 10.1.1.0/24 10.123.1.1
10.2.2.0/24 Gi0/1 10.3.3.0/24 Gi0/1
DMVPN
Tunnel
10.2.2.0/24 R2 R3 10.3.3.0/24
You disable split horizon on a specific interface by using the interface parameter command
no ip split-horizon eigrp as-number with EIGRP classic configuration. You disable split
horizon on EIGRP named mode configuration under the af-interface default or af-interface
interface-id, using the command no split-horizon. Example 3-18 shows a configuration to
disable split horizon on the tunnel 100 interface.
Example 3-18 Configuration to Disable Split Horizon
R1 (Classic Configuration)
interface tunnel 100
ip address 10.123.1.1 255.255.255.0
no ip split-horizon eigrp 100
Figure 3-17 shows the routing table of all the routers after split horizon is disabled on R1.
Notice that all routers have complete EIGRP routes.
Network Next-Hop
10.1.1.0/24 Gi0/1
10.2.2.0/24 10.123.1.2
10.1.1.0/24
10.3.3.0/24 10.123.1.3
DMVPN
Tunnel
10.2.2.0/24 R2 R3 10.3.3.0/24
Route Manipulation
Route manipulation involves selectively identifying routes that are advertised or received
from neighbor routers. The routes can be modified to alter traffic patterns or removed to
reduce memory utilization or to improve security. The following sections explain how routes
are removed with filtering or modified with an EIGRP offset list.
Chapter 3: Advanced EIGRP 129
Route Filtering
EIGRP supports filtering of routes as they are received or advertised from an interface.
Filtering of routes can be matched against:
■ IP prefix lists
■ Route maps
■ Gateway IP addresses
3
As shown in Figure 3-18, inbound filtering drops routes prior to the DUAL processing, which
results in the routes not being installed into the RIB because they are not known. However, if
the filtering occurs during outbound route advertisement, the routes are processed by DUAL
and are installed into the local RIB of the advertising router.
Inbound Outbound
From Neighbor Distribute–List Distribute–List To Neighbor
DUAL Algorithm
Stored in EIGRP
Topology Table
Install Route
into RIB
Figure 3-18 EIGRP Distribute List Filtering Logic
Filtering is accomplished with the command distribute-list {acl-number | acl-name | prefix
prefix-list-name | route-map route-map-name | gateway prefix-list-name} {in | out}
[interface-id]. EIGRP classic configuration places the command under the EIGRP process,
while named mode configuration places the command under the topology base.
Prefixes that match against deny statements are filtered, and prefixes that match against a permit
are passed. The gateway command can be used by itself or combined with a prefix list, an ACL,
or a route map to restrict prefixes based on the next-hop forwarding address. Specifying an
interface restricts the filtering to the interface that the route was received or advertised out of.
Figure 3-19 illustrates an EIGRP network for demonstrating inbound and outbound route
filtering on R2.
10.1.100.0/24
R1 17
10.1.200.0/24 2.1
6.1
2.0
/24
172.16.34.0/24
R2 R4
/24
.2 3.0
10.3.100.0/24 2 .16
17
R3
10.3.200.0/24
Figure 3-19 EIGRP Distribution List Filtering Topology
130 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 3-19 shows the routing tables of R2 and R4 before the route filtering is applied.
Notice that all the routes in the 10.1.0.0/16 and 10.3.0.0/16 range are present on both
R2 and R4.
Example 3-19 R2 and R4 Routing Tables
R2 (Classic Configuration)
ip access-list standard FILTER-R1-10.1.100.X
deny 10.1.100.0
permit any
!
ip prefix-list FILTER-R3-10.3.100.X deny 10.3.100.0/24
ip prefix-list FILTER-R3-10.3.100.X permit 0.0.0.0/0 le 32
!
router eigrp 100
distribute-list FILTER-R1-10.1.100.X in
distribute-list prefix FILTER-R3-10.3.100.X out
Chapter 3: Advanced EIGRP 131
NOTE Conditional matching using ACLs, prefix lists, and route maps is covered in more
detail in Chapter 15, “Route Maps and Conditional Forwarding.”
Example 3-21 shows the routing table on R2 and R4 after EIGRP filtering is enabled on
the routers. The 10.1.100.0/24 prefix is filtered upon receipt by R2, and it is not present in
the EIGRP topology to advertise to R4. R2 still has the 10.3.100.0/24 prefix installed in the
RIB, but the route is not advertised to R4. R4 does not have the 10.1.100.0/24 prefix or the
10.3.100.0/24 prefix in the routing table.
Example 3-21 EIGRP Route Filtering Verification
10.1.100.0/24
17
R1 2.1
10.1.200.0/24 6.1
2.0
/24
172.16.13.0/24
Gi
0/1
172.16.24.0/24
R2 R4
3
G i0/
/ 24
10.3.100.0/24 .2 3.0
2.16
R3 17
10.3.200.0/24
Figure 3-21 EIGRP Offset List Topology
Example 3-22 shows the EIGRP routing tables for R2 and R4 before any path metric manipu-
lation is performed.
Chapter 3: Advanced EIGRP 133
To demonstrate how an offset list is used to steer traffic, the path metric for the
10.1.100.0/24 network is incremented on R2’s Gi0/1 interface so that R2 forwards packets
toward R3 for that network. In addition, the 10.3.100.0/24 network is incremented on R2’s
Gi0/1 interface so that R2 forwards packets toward R1 for that network.
Example 3-23 displays the configuration of R2 for classic and named modes.
Example 3-23 EIGRP Offset List Configuration
R2 (Classic Configuration)
ip access-list standard R1
permit 10.1.100.0
ip access-list standard R3
permit 10.3.100.0
!
router eigrp 100
134 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 3-24 shows R2’s routing table after the offset list is implemented. Notice how the
path metrics and next-hop IP address changed for the 10.1.100.0/24 and 10.3.100.0/24 net-
works, while the metrics for the other routes remained the same.
Example 3-24 EIGRP Offset List Verification
hello packets, hello timer, hold timer, stuck in active (SIA), summarization, EIGRP stub
router, EIGPR stub site router, split horizon, offset list
To test your memory of the commands, cover the right side of Table 3-3 with a piece of
paper, read the description on the left side, and then see how much of the command you can
remember.
The ENARSI 300-410 exam focuses on practical, hands-on skills that are used by a network-
ing professional. Therefore, you should be able to identify the commands needed to config-
ure, verify, and troubleshoot the topics covered in this chapter.
■ Troubleshooting EIGRP for IPv4 Neighbor Adjacencies: This section covers the rea-
sons EIGRP for IPv4 neighbor relationships might not be formed and how to identify
them.
■ Troubleshooting EIGRP for IPv4 Routes: This section explores the reasons EIGRP for
IPv4 routes might be missing from a router’s EIGRP table or routing table and how to
determine why they are missing.
■ Troubleshooting Miscellaneous EIGRP for IPv4 Issues: This section identifies some
additional issues you might face while using EIGRP, how to identify them, and how to
solve them.
■ EIGRP for IPv4 Trouble Tickets: This section provides three trouble tickets that dem-
onstrate how to use a structured troubleshooting process to solve a reported problem.
This chapter focuses on troubleshooting EIGRP for IPv4. Chapter 5, “EIGRPv6,” covers
EIGRP for IPv6 and named EIGRP.
Before any routes can be exchanged between EIGRP routers on the same LAN or across
a WAN, an EIGRP neighbor relationship must be formed. Neighbor relationships may not
form for many reasons, and as a troubleshooter, you need to be aware of them. This chapter
dives deep into these issues and gives you the tools needed to identify them and successfully
solve neighbor issues.
Once neighbor relationships are formed, neighboring routers exchange EIGRP routes. In vari-
ous cases, routes may end up missing, and you need to be able to determine why the routes
are missing. This chapter discusses the various ways that routes could go missing and how
you can identify them and solve route-related issues.
In this chapter, you will also learn how to troubleshoot issues related to load balancing, sum-
marization, discontiguous networks, and feasible successors.
CAUTION The goal of self-assessment is to gauge your mastery of the topics in this
chapter. If you do not know the answer to a question or are only partially sure of the answer,
you should mark that question as wrong for purposes of self-assessment. Giving yourself
credit for an answer that you correctly guess skews your self-assessment results and might
provide you with a false sense of security.
1. Which command enables you to verify the routers that have formed EIGRP adjacencies
with the local router, how long they have been neighbors, and the current sequence
numbers of EIGRP packets?
a. show ip eigrp interfaces
b. show ip eigrp neighbors
c. show ip route eigrp
d. show ip protocols
2. Which of the following are reasons EIGRP neighbor relationships might not form?
(Choose three.)
a. Different autonomous system numbers
b. Different K values
c. Different timers
d. Different authentication parameters
3. Which command enables you to verify the configured EIGRP K values?
a. show ip protocols
b. show ip eigrp interfaces
c. show ip eigrp neighbor
d. show ip eigrp topology
4. Which command enables you to verify EIGRP authentication, split horizon, and
configured EIGRP timers?
a. show ip interfaces
b. show ip protocols
c. show ip eigrp interfaces detail
d. show ip eigrp neighbor
140 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
5. Besides a neighbor relationship not being formed, which three of the following are
reasons routes might be missing in an EIGRP autonomous system? (Choose three.)
a. Interface not participating in the EIGRP process
b. Filters
c. Incorrect stub configuration
d. Passive interface feature
6. Which command enables you to verify whether any route filters have been applied to
an EIGRP-enabled interface?
a. show ip interface brief
b. show ip interface
c. show ip protocols
d. show ip eigrp interface
7. Which command enables you to verify the maximum paths configured for load
balancing and whether unequal-path load balancing has been enabled?
a. show ip protocols
b. show ip eigrp interfaces
c. show ip eigrp neighbors
d. show ip interfaces
8. You have a DMVPN network that has a hub and three spokes. The spokes are not
learning the routes of the other spokes. Of the following options, which is most likely
the reason for this?
a. Split horizon is enabled on the GRE interfaces of the spokes
b. Split horizon is enabled on the hub’s mGRE interface
c. Split horizon is disabled on the hub’s mGRE interface
d. Split horizon is disabled on the GRE interfaces of the spokes
9. An EIGRP summary route is not showing up on the expected routes in the AS. Which
of the following questions should you answer while troubleshooting? (Choose three.)
a. Did you enable route summarization on the correct interface?
b. Did you associate the summary route with the correct EIGRP autonomous
system?
c. Did you create the appropriate summary route?
d. Did you create a route to NULL0?
10. The IP addressing scheme for your routing domain is discontiguous. What command
should you use in EIGRP configuration mode to make sure that you do not have any
routing issues in your EIGRP autonomous system?
a. no auto-summary
b. auto-summary
c. passive-interface
d. network ip_address wildcard_mask
Chapter 4: Troubleshooting EIGRP for IPv4 141
Foundation Topics
Troubleshooting EIGRP for IPv4 Neighbor Adjacencies
EIGRP establishes neighbor relationships by sending hello packets to the multicast address
224.0.0.10, out interfaces participating in the EIGRP process. To enable the EIGRP process
on an interface, you use the network ip_address wildcard_mask command in router EIGRP
configuration mode. For example, the command network 10.1.1.0 0.0.0.255 enables EIGRP
on all interfaces with an IP address from 10.1.1.0 through 10.1.1.255. The command network
10.1.1.65 0.0.0.0 enables the EIGRP process on only the interface with the IP address
10.1.1.65. It seems rather simple, and it is; however, for various reasons, neighbor relation-
ships may not form, and you need to be aware of all of them if you plan on successfully
troubleshooting EIGRP-related problems. This section focuses on the reasons EIGRP neigh-
bor relationships might not form and how you can identify them during the troubleshooting
process. 4
To verify EIGRP neighbors, you use the show ip eigrp neighbors command. Example 4-1
provides sample output of the show ip eigrp neighbors command. It lists the IPv4 address
of the neighboring device’s interface that sent the hello packet, the local interface on the
router used to reach that neighbor, how long the local router will consider the neighbor-
ing router to be a neighbor, how long the routers have been neighbors, the amount of time
it takes for the neighbors to communicate, on average, the number of EIGRP packets in a
queue waiting to be sent to a neighbor (which should always be zero since you want
up-to-date routing information), and a sequence number to keep track of the EIGRP packets
received from the neighbor to ensure that only newer packets are accepted and processed.
Example 4-1 Verifying EIGRP Neighbors with show ip eigrp neighbors
EIGRP neighbor relationships might not form for a variety of reasons, including the
following:
■ Mismatched autonomous system numbers: Both routers need to be using the same
autonomous system number.
■ Incorrect network statement: The network statement must identify the IP address of
the interface you want to include in the EIGRP process.
■ Mismatched K values: Both routers must be using exactly the same K values.
■ Passive interface: The passive interface feature suppresses the sending and receiving
of hello packets while still allowing the interface’s network to be advertised.
■ Different subnets: The exchange of hello packets must be done on the same subnet;
if it isn’t, the hello packets are ignored.
142 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
■ Authentication: If authentication is being used, the key ID and key string must match,
and the key must be valid (if valid times have been configured).
■ ACLs: An access control list (ACL) may be denying packets to the EIGRP multicast
address 224.0.0.10.
■ Timers: Timers do not have to match; however, if they are not configured correctly,
neighbor adjacencies could flap.
When an EIGRP neighbor relationship does not form, the neighbor is not listed in the neigh-
bor table. In such a case, you need the assistance of an accurate physical and logical network
diagram and the show cdp neighbors command to verify who should be the neighbors.
When troubleshooting EIGRP, you need to be aware of how to verify the parameters associ-
ated with each of the reasons listed here. Let’s look at them individually.
Interface Is Down
The interface must be up if you plan on forming an EIGRP neighbor adjacency. You can ver-
ify the status of an interface with the show ip interface brief command. The status should
be listed as up, and the protocol should be listed as up.
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
NOTE Remember that EIGRP passive interfaces do not show up in this output. Therefore,
you shouldn’t jump to the conclusion that the network command is incorrect or missing if
the interface does not show up in this output. It is possible that the interface is passive.
The output of show ip protocols displays the interfaces that are running EIGRP as a result
of the network commands. It is not obvious at first unless someone tells you. The reason it’s
not obvious is that it’s not displayed properly. Focus on the highlighted text in Example 4-5.
Notice that it states Routing for Networks. Those are not the networks you are routing for.
Rather, you are routing for the networks associated with the interface on which EIGRP will
be enabled, based on the network commands. In this case, 10.1.1.1/32 really means network
10.1.1.1 0.0.0.0, and 10.1.12.1/32 really means network 10.1.12.1 0.0.0.0. Therefore, a better
option is to use the show run | section router eigrp command, as displayed in Example 4-6.
Example 4-5 Verifying Network Statements with show ip protocols
Example 4-6 Verifying network Statements with show run | section router eigrp
Mismatched K Values
The K values that are used for metric calculation must match between neighbors in order
for an adjacency to form. You can verify whether K values match by using show ip
protocols, as shown in Example 4-7. The default K values are highlighted in Example 4-7.
Usually there is no need to change the K values. However, if they are changed, you need
to make them match on every router in the autonomous system. You can use the spot-the-
difference method when determining whether K values do not match between routers.
146 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
In addition, if you are logging syslog messages with a severity level of 5, you receive a
message similar to the following:
Passive Interface
The passive interface feature is a must have for all organizations. It does two things:
The passive interface feature turns off the sending and receiving of EIGRP packets on an
interface while still allowing the interface’s network ID to be injected into the EIGRP pro-
cess and advertised to other EIGRP neighbors. This ensures that rogue routers attached to
the LAN will not be able to form an adjacency with your legitimate router on that inter-
face because it is not sending or receiving EIGRP packets on the interface. However, if you
Chapter 4: Troubleshooting EIGRP for IPv4 147
configure the wrong interface as passive, a legitimate EIGRP neighbor relationship will not
be formed. As shown in the show ip protocols output in Example 4-8, Gigabit Ethernet 0/0
is a passive interface. If there are no passive interfaces, the passive interface section does not
appear in the show ip protocols output.
Example 4-8 Verifying Passive Interfaces with show ip protocols
Remember that for EIGRP, passive interfaces do not appear in the EIGRP interface table.
Therefore, before you jump to the conclusion that the wrong network command was used
and the interface was not enabled for EIGRP, you need to check to see whether the interface
is passive.
When using the debug eigrp packets command on the router with the passive interface,
notice that hello packets are not being sent out that interface. For example, if you expect
hello packets to be sent out Gig1/0 but the debug eigrp packets command is not indicating
so, it is possible that the interface is participating in the EIGRP process but is configured as
a passive interface.
148 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Different Subnets
To form an EIGRP neighbor adjacency, the router interfaces must be on the same subnet. You
can confirm this in many ways. The simplest way is to look at the interface configuration in
the running configuration with the show run interface interface_type interface_number
command. You can also use the show ip interface interface_type interface_number com-
mand or the show interface interface_type interface_number command. Example 4-9
shows the configuration of Gig1/0 on R1 and Gig0/0 on R2. Are they in the same subnet?
Yes! Based on the IP address and the subnet mask, they are both in the 10.1.12.0/24 subnet.
However, if they are not in the same subnet and you have syslog set up for a severity level
of 6, you get a message similar to the following:
Authentication
Authentication is used to ensure that EIGRP routers form neighbor relationships only with
legitimate routers and that they only accept EIGRP packets from legitimate routers. There-
fore, if authentication is implemented, both routers must agree on the settings for a neighbor
relationship to form. With authentication, you can use the spot-the-difference method.
Example 4-10 shows the output of the commands show run interface interface_type
interface_number and show ip eigrp interfaces detail interface_type interface_number,
which identify whether EIGRP authentication is enabled on the interface. According to
the highlighted text, it is. Note that the authentication must be configured on the correct
interface and that it must be tied to the correct autonomous system number. If you put in
the wrong autonomous system number, it will not be enabled for the correct autonomous
Chapter 4: Troubleshooting EIGRP for IPv4 149
system. In addition, make sure that you specify the correct keychain that will be used for
the Message Digest 5 (MD5) authentication hash. You can verify the keychain with the
command show key chain, as shown in Example 4-11. The keys in this example do not
expire. However, if you have implemented rotating keys, the keys must be valid for authenti-
cation to be successful.
Example 4-10 Verifying EIGRP Authentication on an Interface
Inside the keychain, you find the key ID (1 in this case) and the key string (ENARSI in this
case). It is mandatory that the key ID in use and the key string in use between neighbors
match. Therefore, if you have multiple keys and key strings in a chain, the same key and
string must be used at the same time by both routers (meaning they must be valid and in
use); otherwise, authentication will fail.
150 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
When using the debug eigrp packets command for troubleshooting authentication, you
receive output based on the authentication issue. Example 4-12 shows the message that is
generated when the neighbor is not configured for authentication. It ignores that packet and
states (missing authentication). When the key IDs or the key strings do not match between
the neighbors, the debug output states (invalid authentication), as shown in Example 4-13.
Example 4-12 Debug Output When Authentication Is Missing on the Neighbor
Example 4-13 Debug Output When Key IDs or Key Strings Do Not Match
ACLs
Access control lists (ACLs) are extremely powerful. How they are implemented determines
what they are controlling in a network. If there is an ACL applied to an interface and the
ACL is denying EIGRP packets, or if an EIGRP packet falls victim to the implicit deny all
at the end of the ACL, a neighbor relationship does not form. To determine whether an
ACL is applied to an interface, use the show ip interface interface_type interface_number
command, as shown in Example 4-14. Notice that ACL 100 is applied inbound on interface
Gig1/0. To verify the ACL 100 entries, issue the command show access-lists 100, as shown
in Example 4-15. In this case, you can see that ACL 100 is denying EIGRP traffic; this pre-
vents a neighbor relationship from forming. Note that outbound ACLs do not affect EIGRP
packets; only inbound ACLs do. Therefore, any outbound ACLs that deny EIGRP packets
have no effect on your EIGRP troubleshooting efforts.
Chapter 4: Troubleshooting EIGRP for IPv4 151
Timers
Although EIGRP timers do not have to match, if the timers are skewed enough, an adjacency
will flap. For example, suppose that R1 is using the default timers of 5 and 15, while R2 is
sending hello packets every 20 seconds. R1’s hold time will expire before it receives another
hello packet from R2; this terminates the neighbor relationship. Five seconds later, the hello
packet arrives, and the neighbor relationship is formed, but it is then terminated again
15 seconds later.
Although timers do not have to match, it is important that routers send hello packets at a rate
that is faster than the hold timer. You verify the configured timers with the show ip eigrp
interfaces detail command, as shown in Example 4-10.
EIGRP only learns from directly connected neighbors, which makes it easy to follow the
path of routes when troubleshooting. For example, if R1 does not know about the route but
its neighbor does, there is probably something wrong between the neighbors. However, if the
neighbor does not know about it either, you can focus on the neighbor’s neighbor and so on.
As discussed earlier, neighbor relationships are the foundation of EIGRP information
sharing. If there are no neighbors, you do not learn any routes. So, besides the lack of a
neighbor, what would be reasons for missing routes in an EIGRP network? The following are
some common reasons EIGRP routes might be missing either from the topology table or the
routing table:
■ Bad or missing network command: The network command enables the EIGRP pro-
cess on an interface and injects the prefix of the network the interface is part of into
the EIGRP process.
■ Better source of information: If exactly the same network prefix is learned from a
more reliable source, it is used instead of the EIGRP learned information.
■ Route filtering: A filter might be preventing a network prefix from being advertised or
learned.
■ Stub configuration: If the wrong setting is chosen during the stub router configura-
tion, or if the wrong router is chosen as the stub router, it might prevent a network
prefix from being advertised.
■ Interface is shut down: The EIGRP-enabled interface must be up/up for the network
associated with the interface to be advertised.
■ Split horizon: Split horizon is a loop-prevention feature that prevents a router from
advertising routes out the same interface on which they were learned.
This section looks at each of these reasons individually and explores how to recognize them
during the troubleshooting process.
So what networks are you actually routing for then? You are routing for the networks associ-
ated with the interfaces that are now enabled for EIGRP. In Example 4-17, you can see the
output of the show ip interface command on R1 for Gig0/0 and Gig1/0, which was piped to
include only the Internet address. Notice that that these two interfaces are in a /24 network.
As a result, the network IDs would be 10.1.1.0/24 and 10.1.12.0/24. Those are the networks
you are routing for.
Example 4-17 Verifying Network IDs with show ip interface
Therefore, if you expect to route for the network 10.1.1.0/24 or 10.1.12.0/24, as in this case,
you better have a network statement that enables the EIGRP process on the router interfaces
in those networks.
154 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
You can confirm which interfaces are participating in the EIGRP process by using the show
ip eigrp interfaces command, as shown earlier in Example 4-4.
None of the highlighted routes in Example 4-18 appear in the routing table as EIGRP routes.
In this case, there is a better source for the same information. Example 4-20, which displays
the output of the show ip route 172.16.33.16 255.255.255.252 command, identifies that
this network is directly connected and has an AD of 0. Because a directly connected net-
work has an AD of 0, and an internal EIGRP route has an AD of 90, the directly connected
source is installed in the routing table. Refer to Example 4-18 and focus on the 0.0.0.0/0
route. Notice that it says Rstatic, which means that the route was redistributed from a static
route on this router. Therefore, there is a static default route on the local router with a better
AD than the EIGRP default route, which would have an AD of 170. As a result, the EIGRP
0.0.0.0/0 route would not be installed in the routing table, and the static default route
would be.
Example 4-20 Sample show ip route 172.16.33.16 255.255.255.252 Command Output
Using a suboptimal source of routing information may not cause users to complain or sub-
mit a trouble ticket because they will probably still be able to access the resources they
need. However, it may cause suboptimal routing in the network. Figure 4-1 shows a network
running two different routing protocols. In this case, which path will be used to send traffic
from PC1 to 10.1.1.0/24? If you said the longer EIGRP path, you are correct. Even though it
is quicker to use the Open Shortest Path First (OSPF) path, EIGRP wins by default because
it has the lower AD, and suboptimal routing occurs.
Chapter 4: Troubleshooting EIGRP for IPv4 157
EIGRP
1Gbps 1Gbps
1Gbps 1Gbps
10.1.1.0/24 OSPF
10 Gbps PC1
Route Filtering
A distribute list applied to an EIGRP process controls which routes are advertised to neigh-
bors and which routes are received from neighbors. The distribute list is applied in EIGRP
configuration mode either inbound or outbound, and the routes sent or received are con-
trolled by ACLs, prefix lists, or route maps. So, when troubleshooting route filtering, you
need to consider the following:
■ If the distribute list is using a prefix list, is the prefix list correct?
■ If the distribute list is using a route map, is the route map correct?
The show ip protocols command identifies whether a distribute list is applied to all inter-
faces or to an individual interface, as shown in Example 4-21. This example indicates that
there are no outbound filters and that there is an inbound filter on Gig1/0.
Example 4-21 Verifying Route Filters with show ip protocols
The inbound filter in Example 4-21 on Gig1/0 is filtering with ACL 10. To verify the entries
in the ACL, you must issue the show access-lists 10 command. If a prefix list was applied,
you issue the show ip prefix-list command. If a route map was applied, you issue the show
route-map command.
As shown in Example 4-22, you verify the command that was used to apply the distribute
list in the running configuration by reviewing the EIGRP configuration section.
Example 4-22 Verifying EIGRP distribute-list Command
Stub Configuration
The EIGRP stub feature allows you to control the scope of EIGRP queries in the network.
Figure 4-2 shows the failure of network 192.168.1.0/24 on R1 that causes a query to be sent
to R2 and then a query from R2 to be sent to R3 and R4. However, the query to R3 is not
needed because R3 will never have alternate information about the 192.168.1.0/24 network.
The query wastes resources and slows convergence. As shown in Figure 4-3, configuring
the EIGRP stub feature on R3 with the eigrp stub command ensures that R2 never sends a
query to R3.
R4
Query
R1 R2 R3
192.168.1.0/24
Query Query
R4
Query
R1 R2 R3
192.168.1.0/24 Do not eigrp stub
Query query R3
R4 EIGRP stub
Query
R2
R1 WAN
192.168.1.0/24 Do not
query R2
or R3 R3
EIGRP stub
Figure 4-4 EIGRP Stub Feature over WAN Links
When configuring the EIGRP stub feature, you can control what routes the stub router
advertises to its neighbor. By default, it advertises connected and summary routes. However,
you have the option of advertising connected, summary, redistributed, or static—or a com-
bination of these. The other option is to send no routes (called receive only). If the wrong
option is chosen, the stub routers do not advertise the correct routes to their neighbors,
resulting in missing routes on the hub and other routers in the topology. In addition, if
you configure the wrong router as the stub router (for example, R1 in Figure 4-4), R1 never
fully shares all routes it knows about to R4, R2, and R3, resulting in missing routes in the
topology. To verify whether a router is a stub router and determine the routes it will
advertise, issue the show ip protocols command, as shown in Example 4-23.
160 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
To determine whether a neighbor is a stub router and the types of routes it is advertising,
issue the command show ip eigrp neighbors detail. Example 4-24 shows the output of show
ip eigrp neighbors detail on R1, which indicates that the neighbor is a stub router advertis-
ing connected and summary routes and suppressing queries.
Example 4-24 Verifying Whether an EIGRP Neighbor Is a Stub Router
Split Horizon
The EIGRP split-horizon rule states that any routes learned inbound on an interface will
not be advertised out the same interface. This rule is designed to prevent routing loops.
However, this rule presents an issue in certain topologies. Figure 4-5 shows a nonbroadcast
Chapter 4: Troubleshooting EIGRP for IPv4 161
EIGRP Update
R4 about 4
10.1.2.0/24
Se1/0
or
mGRE R2
10.1.2.0/24
Hub and Spoke
R1 Frame Relay or PVC or GRE
192.168.1.0/24 DMVPN
10.1.3.0/24
Feasible Successors
The best route (based on the lowest feasible distance [FD] metric) for a specific network in
the EIGRP topology table becomes a candidate to be injected into the router’s routing table.
(The term candidate is used because even though it is the best EIGRP route, a better source
of the same information might be used instead.) If that route is indeed injected into the
routing table, that route becomes known as the successor (best) route. This is the route that
is then advertised to neighboring routers. Example 4-27 shows a sample EIGRP topology
table, which you can view by issuing the show ip eigrp topology command. Focus on the
entry for 172.16.32.192/29. Notice that there are three paths to reach that network. However,
based on the fact that it states 1 successors, only one path is being used as the best path. It
is the one with the lowest FD, 2174976, which is the path through 172.16.33.5, reachable out
interface Serial 1/0.
Chapter 4: Troubleshooting EIGRP for IPv4 163
...output omitted...
P 10.1.13.0/24, 1 successors, FD is 3072
via 10.1.34.3 (3072/2816), GigabitEthernet2/0
P 0.0.0.0/0, 1 successors, FD is 28160
via Rstatic (28160/0)
P 192.1.1.1/32, 1 successors, FD is 131072
via 10.1.34.3 (131072/130816), GigabitEthernet2/0
4
P 172.16.32.192/29, 1 successors, FD is 2174976
via 172.16.33.5 (2174976/30720), Serial1/0
via 172.16.33.6 (2684416/2172416), Serial1/0
via 172.16.33.18 (2684416/2172416), Serial1/2
P 198.51.100.0/30, 1 successors, FD is 28416
via 10.1.34.3 (28416/28160), GigabitEthernet2/0
P 172.16.33.12/30, 1 successors, FD is 2172416
via 172.16.33.5 (2172416/28160), Serial1/0
...output omitted...
In the brackets after the next-hop IP address is the FD followed by the reported distance (RD):
■ Feasible distance: The RD plus the metric to reach the neighbor at the next-hop
address that is advertising the RD
■ Reported distance: The distance from the neighbor at the next-hop address to the
destination network
The successor is the path with the lowest FD. However, EIGRP also pre-calculates paths that
could be used if the successor disappeared. These are known as the feasible successors. To
be a feasible successor, the RD of the path to become a feasible successor must be less than
the FD of the successor. Review Example 4-27. The path through 172.16.33.5 is the successor.
However, are the paths using 172.16.33.6 and 172.16.33.18 feasible successors (backups)?
To determine this, take the RD of these paths (in this case, it is the same [2172416]), and
compare it to the FD of the successor (2174976). Is the RD less than the FD? Yes. Therefore,
they are feasible successors.
For troubleshooting, it is important to note that the output of show ip eigrp topology only
displays the successors and feasible successors. If you need to verify the FD or RD of other
paths to the same destination that are not feasible successors, you can use the show ip eigrp
topology all-links command. Example 4-28 displays the output of show ip eigrp topology
and show ip eigrp topology all-links. Focus on the entry for 10.1.34.0/24. In the output of
show ip eigrp topology, notice that there is only one path listed; in the output of show ip
eigrp topology all-links, notice that there are two paths listed. This is because the next
hop 172.16.33.13 has an RD greater than the FD of the successor and therefore cannot be a
feasible successor.
164 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
The EIGRP topology table contains not only the routes learned from other routers but also
routes that have been redistributed into the EIGRP process and the local connected networks
whose interfaces are participating in the EIGRP process, as highlighted in Example 4-29.
Chapter 4: Troubleshooting EIGRP for IPv4 165
Example 4-29 Verifying Connected and Redistributed Entries in the Topology Table
...output omitted...
P 192.2.2.2/32, 1 successors, FD is 131072
via 10.1.34.3 (131072/130816), GigabitEthernet2/0
P 10.1.13.0/24, 1 successors, FD is 3072
via 10.1.34.3 (3072/2816), GigabitEthernet2/0
P 0.0.0.0/0, 1 successors, FD is 28160
via Rstatic (28160/0)
4
P 192.1.1.1/32, 1 successors, FD is 131072
via 10.1.34.3 (131072/130816), GigabitEthernet2/0
P 172.16.32.192/29, 1 successors, FD is 2174976
via 172.16.33.5 (2174976/30720), Serial1/0
via 172.16.33.6 (2684416/2172416), Serial1/0
via 172.16.33.18 (2684416/2172416), Serial1/2
P 198.51.100.0/30, 1 successors, FD is 28416
via 10.1.34.3 (28416/28160), GigabitEthernet2/0
P 172.16.33.12/30, 1 successors, FD is 2172416
via 172.16.33.5 (2172416/28160), Serial1/0
P 192.6.6.6/32, 2 successors, FD is 2297856
via 172.16.33.6 (2297856/128256), Serial1/0
via 172.16.33.18 (2297856/128256), Serial1/2
P 172.16.33.0/29, 1 successors, FD is 2169856
via Connected, Serial1/0
...output omitted...
R4
Route Summarization
By default with IOS 15.0 and later, autosummary is off. Therefore, you can either turn it
on (which is not recommended) or perform manual route summarization (which is recom-
mended). With EIGRP, manual route summarization is enabled on an interface-by-interface
basis. Therefore, when troubleshooting route summarization, keep in mind the following:
■ Did you associate the summary route with the correct EIGRP autonomous system?
You determine answers to all these questions by using the show ip protocols command, as
shown in Example 4-30. In this example, autosummarization is disabled, and manual summa-
rization is enabled for EIGRP autonomous system 100 on interface Gi2/0 for 10.1.0.0/20.
4
It is important that you create accurate summary routes to ensure that your router is not
advertising networks in the summary route that it does not truly know how to reach. If it
does, it is possible that it might receive packets to destinations that fall within the summary
that it really does not know how to reach. If this is the case, it means that packets will be
dropped because of the route to null 0.
When a summary route is created on a router, so is a summary route to null 0, as shown in
the following snippet:
Load Balancing
By default, EIGRP load balances on four equal-metric paths. You can change this with the
maximum-paths command in router configuration mode for EIGRP. However, EIGRP also
supports load balancing across unequal-metric paths, using the variance feature. By default,
the variance value for an EIGRP routing process is 1, which means the load balancing will
occur only over equal-metric paths. You issue the variance multiplier command in router
configuration mode to specify a range of metrics over which load balancing will occur. For
example, suppose that a route has a metric of 200000, and you configure the variance 2
command for the EIGRP routing process. This causes load balancing to occur over any route
with a metric in the range of 200000 through 400000 (that is, 2 × 200000). As you can see, a
route could have a metric as high as 400000 (that is, the variance multiplier multiplied by the
best metric) and still be used.
However, even with unequal-metric load balancing, you are still governed by the maximum-
paths command. Therefore, if you have five unequal-metric paths that you want to use, and you
configure the correct variance multiplier, but maximum-paths is set to 2, you use only two of
the five paths. To use all five, you would also need to make sure that maximum-paths is set to 5.
Also, remember that the feasibility condition plays a huge role in unequal-path load balanc-
ing to prevent routing loops. If the path is not a feasible successor, it cannot be used for
unequal-path load balancing. There is no exception to this rule. Recall the feasibility condi-
tion: To be a feasible successor, the RD must be less than the FD of the successor.
To verify the configured maximum paths and variance, you use the show ip protocols
command, as shown in Example 4-31.
Example 4-31 Verifying Variance and Maximum Paths
EIGRP AS 100
1.0/24 10.1.3.0/24 4
Gi0/0 Gi1/0 Gi0/0 Gi1/0 Gi1/0 Gi0/0
R1 R2 R3
10.1.12.0/24 10.1.23.0/24
C:\>ping 10.1.3.10
The result of this ping tells you two very important things: The PC can reach the default
gateway, and the default gateway does not know how to get to the 10.1.3.0/24 network.
Therefore, you can focus your attention on R1 and work from there.
On R1, you issue the same ping, but it fails, as shown in Example 4-33.
Example 4-33 Failed Ping from R1 to 10.1.3.10
Next, you check R1’s routing table with the show ip route command and notice that there
are only connected routes in the routing table, as shown in Example 4-34. You conclude that
R1 is not learning any routes from R2.
Example 4-34 show ip route Output on R1
According to Figure 4-7, EIGRP is the routing protocol in use. Therefore, you issue the show
ip protocols command to verify that EIGRP is using the correct autonomous system number.
Example 4-35 displays the show ip protocols output, which confirms that EIGRP 100 is in
operation on R1.
Example 4-35 show ip protocols Output on R1
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Next, you check to see whether R1 has any EIGRP neighbors. According to the topology,
R2 should be a neighbor. To verify EIGRP neighbors, you issue the show ip eigrp neighbors
command on R1, as shown in the following snippet:
The output of show cdp neighbors, as shown in Example 4-37, indicates that R1 is con-
nected to R2 using Gig 1/0 and that R2 is using Gig 0/0. Therefore, you expect a peering
between the two, using these interfaces.
172 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Now is a great time to verify whether Gi0/0 on R2 is participating in the EIGRP process. On
R2, you issue the show ip eigrp interfaces command, as shown in Example 4-38.
Example 4-38 show ip eigrp interfaces Output on R2
Example 4-38 confirms that R2’s interface Gi0/0 is not participating in the EIGRP process.
You review the output of show run | section router eigrp and show ip interface brief on R2,
as shown in Example 4-39, and confirm that the wrong network statement was issued on R2.
The network statement network 10.1.21.2 0.0.0.0 enables the EIGRP process on the inter-
face with that IP address. According to the output of show ip interface brief, the network
statement should be network 10.1.12.2 0.0.0.0, based on the IP address 10.1.12.2 of interface
GigabitEthernet0/0.
Example 4-39 show run | section router eigrp Output on R2 and Verifying the Interface
IP Address
To fix this issue, on R2 you execute the no network 10.1.21.2 0.0.0.0 command and enter
the network 10.1.12.2 0.0.0.0 command in router EIGRP configuration mode instead. After
you have done this, the neighbor relationship forms, as shown with the following syslog
messages:
R1#
R2#
You go back to the PC and ping the same IP address to confirm that the problem is solved,
and you receive the same result, as shown in Example 4-41. R1 still does not know about the
10.1.3.0/24 network.
Example 4-41 Destination Unreachable from the ping Command on a PC
C:\>ping 10.1.3.10
Back on R1, you issue the show ip route command, as shown in Example 4-42. R1 is
receiving EIGRP routes because there is now an EIGRP route in the routing table (as
indicated by D). However, R1 still does not know about the 10.1.3.0/24 network.
174 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 4-42 show ip route Output After the Neighbor Relationship with R2 Is
Established
Does R2 know about the 10.1.3.0/24 network? Example 4-43 shows R2’s routing table,
which is missing 10.1.3.0/24 as well.
Example 4-43 show ip route Output on R2
For R2 to learn about the network, it has to be neighbors with R3. The R2 output of show ip
eigrp neighbors in Example 4-44 indicates that R3 is not a neighbor; only R1 is.
Example 4-44 show ip eigrp neighbors on R2
Previously, Example 4-38 indicated that Gig1/0 on R2 is participating in the EIGRP process.
Therefore, you should look at the interfaces on R3. According to the output in Example 4-45,
both interfaces on R3 are participating in the EIGRP process for autonomous system 10.
Chapter 4: Troubleshooting EIGRP for IPv4 175
Can you see the issue? If not, look again at Example 4-45. If you need to compare it to
Example 4-44, do so.
The autonomous system numbers do not match, and to form an EIGRP neighbor relation-
ship, the autonomous system numbers must match. To solve this issue, you must enable
EIGRP autonomous system 100 on R3 and then provide the correct network statements to 4
enable EIGRP on the required interfaces for autonomous system 100. You should also remove
any EIGRP configurations that are not needed, such as the EIGRP autonomous system 10
configurations. Example 4-46 shows the commands needed to accomplish this.
Example 4-46 R3 Configurations Required to Solve Issue
R3# config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)# no router eigrp 10
R3(config)# router eigrp 100
R3(config-router)# network 10.1.3.3 0.0.0.0
R3(config-router)# network 10.1.23.3 0.0.0.0
%DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.1.23.2 (GigabitEthernet1/0) is up:
new adjacency
R3(config-router)#
Notice in Example 4-46 that the neighbor relationship with R2 is now successful. Now it is time
to verify that all the issues have been solved. On R2, you issue the show ip route command, as
shown in Example 4-47, and notice that the 10.1.3.0/24 network is present. You also issue the
same command on R1 and notice that 10.1.3.0/24 is present, as shown in Example 4-48. You
then ping from the PC again, and the ping is truly successful, as shown in Example 4-49.
Example 4-47 show ip route Output on R2
Example 4-49 A Successful Ping from the 10.1.1.0/24 Network to the 10.1.3.0/24
Network
C:\>ping 10.1.3.10
C:\>ping 10.1.3.10
The result of this ping tells you two very important things: The PC can reach the default
gateway, and the default gateway does not know how to get to the 10.1.3.0/24 network.
Therefore, you can focus your attention on R1 and work from there.
On R1, you issue the same ping, but it fails, as shown in Example 4-51.
Example 4-51 Failed Ping from R1 to 10.1.3.10
Next, you check the routing table on R1 with the show ip route 10.1.3.0 255.255.255.0
command, as shown in the following snippet:
What prevents a connected route from being advertised using EIGRP to a neighbor? As
we learned earlier, the interface not participating in the EIGRP process. You can check the
EIGRP interface table on R3 with the show ip eigrp interfaces command. Example 4-53
indicates that only Gi1/0 is participating in the EIGRP process.
Example 4-53 Determining Whether an Interface Is Participating in the EIGRP Process
However, you should not jump to the conclusion that Gi0/0 is not participating in the EIGRP
process. Remember that EIGRP passive interfaces do not appear in this output. Therefore,
check the output of show ip protocols for passive interfaces. In Example 4-54, you can see
that there are no passive interfaces.
Example 4-54 Determining Whether an Interface Is Passive
Next, you need to make sure that there is a network statement that will enable the EIGRP
process on the interface connected to the 10.1.3.0/24 network. In Example 4-54, the output
of show ip protocols indicates that R3 is routing for the network 10.1.3.0/32. Remember
from earlier in this chapter that this really means network 10.1.3.0 0.0.0.0. As a result, EIGRP
is enabled on the interface with the IP address 10.1.3.0. Example 4-55, which displays the
output of show ip interface brief, shows that there are no interfaces with that IP address.
Interface GigabitEthernet0/0 has the IP address 10.1.3.3. Therefore, the network statement is
incorrect, as shown in the output of show run | section router eigrp in Example 4-56.
Example 4-55 Reviewing the Interface IP Addresses
After fixing the issue with the no network 10.1.3.0 0.0.0.0 command and the network
10.1.3.3 0.0.0.0 command, you check R1’s routing table with the command show ip route
10.1.3.0 255.255.255.0. As shown in Example 4-57, 10.1.3.0/24 is now in the routing table
and can be reached using the next hop 10.1.12.2.
180 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Finally, you ping from the PC again, and the ping is successful, as shown in Example 4-58.
Example 4-58 A Successful Ping from the 10.1.1.0/24 Network to the 10.1.3.0/24
Network
C:\>ping 10.1.3.10
C:\>ping 10.1.3.10
The result of this ping tells you two very important things: The PC can reach the default
gateway, and the default gateway does not know how to get to the 10.1.3.0/24 network.
Therefore, you can focus your attention on R1 and work from there.
On R1, you issue the same ping, but it fails, as shown in Example 4-60.
Example 4-60 Failed Ping from R1 to 10.1.3.10
Next, you check the routing table on R1 with the show ip route 10.1.3.0 255.255.255.0
command, as shown in the following configuration:
Next, you go back to R1 and issue the show ip eigrp topology command to determine
whether R1 is even learning about the 10.1.3.0/24 network. Example 4-62 indicates that it is
not.
Example 4-62 Determining Whether R1 Is Learning About 10.1.3.0/24
It’s time to hypothesize! Why would R2 know about 10.1.3.0/24 and R1 not know about it?
Consider these possibilities:
On R1, you issue the show ip eigrp neighbors command, as shown in Example 4-63, and it
shows that R2 is a neighbor. However, if you look closely at the topology table of R1, you
might notice that R1 is learning about 10.1.23.0/24 from R2, meaning that they are neighbors,
and routes are being learned. Therefore, you hypothesize that there must be a filter in place.
Chapter 4: Troubleshooting EIGRP for IPv4 183
Next, you issue the show ip protocols command, as shown in Example 4-64, to determine
whether there are any route filters on R1. The output indicates that there is an inbound route
filter on R1’s GigabitEthernet 1/0 interface. The route filter is filtering based on a prefix list
called DENY_10.1.3.0/24.
Example 4-64 Determining Whether There Is a Route Filter on R1
Next, you issue the show ip prefix-list command on R1, as shown in Example 4-65, and it
indicates that 10.1.3.0/24 is being denied.
Example 4-65 Reviewing the Prefix List
In this case, you can either modify the prefix list to allow 10.1.3.0/24, or you can remove the
distribute list from the EIGRP process. The choice depends on the requirements of the orga-
nization or scenario. In this case, remove the distribute list from R1 with the command no
distribute-list prefix DENY_10.1.3.0/24 in GigabitEthernet1/0. Because of this change, the
neighbor relationship resets, as the following syslog message indicates:
Finally, you ping from the PC again, and the ping is successful, as shown in Example 4-67.
Example 4-67 A Successful ping from the 10.1.1.0/24 Network to the 10.1.3.0/24
Network
C:\>ping 10.1.3.10
hello packet, 224.0.0.10, network command, autonomous system number, K value, passive
interface, key ID, key string, keychain, stub, split horizon, successor, feasible successor,
reported distance, feasible distance, discontiguous network, autosummarization, classful,
classless, maximum paths, variance
EIGRPv6
■ Troubleshooting EIGRPv6 Routes: This section explores the reasons EIGRPv6 routes
might be missing and how to determine why they are missing.
■ Troubleshooting Named EIGRP: This section introduces the show commands that
you can use to troubleshoot named EIGRP configurations.
■ EIGRPv6 and Named EIGRP Trouble Tickets: This section provides trouble tickets
that demonstrate how to use a structured troubleshooting process to solve a reported
problem.
The original EIGRP routing protocol supports multiple protocol suites. Protocol-dependent
modules (PDMs) provide unique neighbor and topology tables for each protocol. When the
IPv6 address family is enabled, the routing protocol is commonly referred to as EIGRPv6.
This chapter reviews the fundamentals of EIGRPv6 and guides you through configuring and
verification. In addition, it examines how to troubleshoot common EIGRPv6 neighbor and
route issues. It also explores named EIGRP and wraps up by providing a look at two trouble
tickets.
Table 5-1 “Do I Know This Already?” Foundation Topics Section-to-Question Mapping
Foundation Topics Section Questions
EIGRPv6 Fundamentals 1–3
Troubleshooting EIGRPv6 Neighbor Issues 5, 9
Troubleshooting EIGRPv6 Routes 6, 7
Troubleshooting Named EIGRP 8
CAUTION The goal of self-assessment is to gauge your mastery of the topics in this
chapter. If you do not know the answer to a question or are only partially sure of the answer,
you should mark that question as wrong for purposes of self-assessment. Giving yourself
credit for an answer that you correctly guess skews your self-assessment results and might
provide you with a false sense of security.
1. What address does the EIGRPv6 hello packet use for the destination address?
a. MAC address 00:C1:00:5C:00:FF
b. MAC address E0:00:00:06:00:AA
c. IP address 224.0.0.8
d. IP address 224.0.0.10
e. IPv6 address FF02::A
f. IPv6 address FF02::8
2. Enabling EIGRPv6 on an interface with EIGRPv6 classic configuration
requires _____.
a. the command network prefix/prefix-length under the
EIGRP process
b. the command network interface-id under the EIGRP process
c. the command ipv6 eigrp as-number under the interface
d. nothing; EIGRPv6 is enabled on all IPv6 interfaces upon initialization of the
EIGRP process
3. Enabling EIGRPv6 on an interface with EIGRPv6 named mode configuration
requires _____.
a. the command network prefix/prefix-length under the EIGRP
process
b. the command network interface-id under the EIGRP process
c. the command ipv6 eigrp as-number under the interface
d. nothing; EIGRPv6 is enabled on all IPv6 interfaces upon initialization of the
EIGRP process
4. Which EIGRPv6 command is used to verify whether any interfaces have been
configured as passive interfaces?
a. show ipv6 protocols
b. show ipv6 eigrp interfaces detail
c. show ipv6 eigrp neighbors detail
d. show ipv6 eigrp topology
190 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
5. Which EIGRPv6 command enables you to verify whether the local router is a stub
router?
a. show ipv6 protocols
b. show ipv6 eigrp interfaces detail
c. show ipv6 eigrp neighbors detail
d. show ipv6 eigrp topology
6. Which EIGRPv6 command enables you to verify whether a neighboring router is a
stub router?
a. show ipv6 protocols
b. show ipv6 eigrp interfaces detail
c. show ipv6 eigrp neighbors detail
d. show ipv6 eigrp topology
7. Which of these commands can you use to verify which interfaces are participating in
the named EIGRP IPv4 address family? (Choose two.)
a. show ip eigrp interfaces
b. show eigrp address-family ipv4 interfaces
c. show ipv6 eigrp interfaces
d. show eigrp address-family ipv6 interfaces
8. Which of the following must match to form an EIGRPv6 neighborship? (Choose two.)
a. The subnet the interfaces belong to
b. The autonomous system number
c. The passive interfaces
d. The K values
9. What must be permitted within an IPv6 ACL for an EIGRPv6 neighbor adjacency to
be formed?
a. FF02::A
b. FF02::10
c. The link-local address of the neighboring device
d. The global address of the neighboring device
Foundation Topics
EIGRPv6 Fundamentals
EIGRP’s functional behavior is unchanged between IPv4 and IPv6. The same administrative
distance, metrics, timers, and DUAL mechanisms are in place to build the routing table. This
chapter provides a detailed overview of the EIGRP protocol operation along with its com-
mon features. This section is devoted to discussing the components of the routing protocol
that are unique to IPv6.
Chapter 5: EIGRPv6 191
EIGRPv6 Configuration
There are two methods for configuring IPv6 for EIGRP on IOS and IOS XE routers:
■ Classic AS mode
■ Named mode
Step 3. Enable the process on the interface by using the interface parameter command
ipv6 eigrp as-number.
Nearly all EIGRP IPv6 features are configured in the same manner in IPv4 EIGRP classic
mode. The primary difference is that the ipv6 keyword precedes most of the commands
in lieu of the ip keyword. One noticeable exception is the familiar IPv4 network statement
in the EIGRP routing configuration mode. The network statement does not exist within
EIGRPv6. The protocol must be enabled directly on the interface when using the classic IPv6
EIGRP AS configuration method.
Step 1. Configure the EIGRPv6 routing process in global configuration mode by using
the command router eigrp process-name. Unlike in classic mode, you specify
a name instead of an autonomous system number.
Step 2. Define the address family and autonomous system number (ASN) to the rout-
ing process by using the command address-family ipv6 autonomous-system
as-number.
Step 3. Assign the router ID by using the IPv6 address family command eigrp router-id
router-id.
EIGRP named mode uses a hierarchical configuration. Most of the command structure
is identical to that of EIGRP IPv4 named mode; this mode simplifies configuration and
improve CLI usability. All of the EIGRP-specific interface parameters are configured in the
af-interface default or af-interface interface-id submode within the IPv6 address family of
the named EIGRP process.
When the IPv6 address family is configured for the EIGRP named process, all the IPv6-
enabled interfaces immediately start participating in routing. To disable the routing process
on the interface, the interface needs to be shut down in af-interface configuration mode.
EIGRPv6 Verification
IPv6 uses the same EIGRP verification commands described in Chapter 3, “Advanced
EIGRP,” and Chapter 4, “ Troubleshooting EIGRP for IPv4.” The only modification is that
the ipv6 keyword is included in the command syntax.
Table 5-3 lists the IPv6 versions of the show commands that are covered in this chapter.
Chapter 5: EIGRPv6 193
Figure 5-1 illustrates a simple EIGRP topology in which EIGRPv6 AS 100 is enabled on rout-
ers R1 and R2 to provide connectivity between the networks.
AS 100
R1 (Classic Configuration)
interface GigabitEthernet0/1
ipv6 address 2001:DB8:0:12::1/64
ipv6 address fe80::1 link-local
ipv6 eigrp 100
!
interface GigabitEthernet0/2
ipv6 address 2001:DB8:1:1::1/64
ipv6 address fe80::1 link-local
ipv6 eigrp 100
!
interface Loopback0
ipv6 address 2001:DB8:1::1/128
ipv6 eigrp 100
!
ipv6 unicast-routing
!
194 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Example 5-2 provides verification of the EIGRPv6 neighbor adjacency. Notice that the
adjacency uses link-local addressing.
Example 5-2 EIGRPv6 Neighbor Adjacency
Example 5-3 shows routing table entries for R1 and R2. Notice that the IPv6 next-hop
forwarding address also uses the link-local address rather than the global unicast address
of the peer.
Chapter 5: EIGRPv6 195
■ The summary aggregate prefix is not advertised until a prefix matches it.
■ A leak map can be used to advertise more specific prefixes while advertising a
summary address.
Network summarization is configured at the interface level in classic mode using the com-
mand ipv6 summary-address eigrp as-number ipv6-prefix/prefix-length or in named
mode with the command summary-address ipv6-prefix/prefix-length under af-interface.
Example 5-4 demonstrates how to configure R1 to advertise a 2001:db8:1::/48 summary
route to R2 and how to configure R2 to advertise a 2001:DB8:2::/48 summary route to R1.
It shows both classic and named mode summary configurations.
Example 5-4 EIGRPv6 Summary Configuration
Example 5-5 shows the routing tables for R1 and R2. Notice that only the /48 summary
prefix is received from the neighbor router and that the more specific /64 and /128 route
entries are suppressed. A Null0 route is populated on the router for the local /48 summary
route advertisement.
Example 5-5 EIGRPv6 Routing Table Entries
R2 (Classic Configuration)
interface GigabitEthernet0/1
ipv6 eigrp 100
ipv6 summary-address eigrp 100 ::/0
Route Filtering
In IOS and IOS XE, you use prefix lists to match IPv6 routes in route maps and distribution
lists.
Chapter 5: EIGRPv6 197
Example 5-7 demonstrates how to use a distribution list for filtering the default route ::/0
advertisements from an upstream neighbor connected to interface GigabitEthernet0/1. The
associated prefix list BLOCK-DEFAULT with sequence 5 is a deny statement that filters the
exact match for the default route prefix ::/0. Sequence 10 is a permit-any match statement
that allows a prefix of any length to be received.
Example 5-7 IOS Distribute List to Filter the Default Route
R1 (Classic Configuration)
ipv6 router eigrp 100
distribute-list prefix-list BLOCK-DEFAULT in GigabitEthernet0/1
!
ipv6 prefix-list BLOCK-DEFAULT seq 5 deny ::/0
ipv6 prefix-list BLOCK-DEFAULT seq 10 permit ::/0 le 128
Interface Is Down
To verify that an interface is up, you use the show ipv6 interface brief command, as shown
in Example 5-9. In this example, GigabitEthernet0/0 and GigabitEthernet1/0 are up/up, and
GigabitEthernet2/0 is administratively down/down. This indicates that GigabitEthernet2/0
has been configured with the shutdown command.
Example 5-9 Verifying the Status of IPv6 Interfaces
Mismatched K Values
You verify the EIGRPv6 K values with the command show ipv6 protocols, as shown in
Example 5-10. In this example, the K values are 1, 0, 1, 0, and 0, which are the defaults.
Passive Interfaces
To verify the router interfaces participating in the EIGRPv6 autonomous system that are
passive, you use the show ipv6 protocols command, as shown in Example 5-10. In this
example, GigabitEthernet 0/0 is a passive interface.
Chapter 5: EIGRPv6 199
Interfaces:
GigabitEthernet1/0
5
GigabitEthernet0/0 (passive)
Redistribution:
None
Mismatched Authentication
If authentication is being used, the key ID and key string must match, and if the valid times
are configured they must match as well between neighbors. Example 5-11 shows how to
verify whether an interface is enabled for EIGRPv6 authentication with the show ipv6 eigrp
interfaces detail command and how to verify the configuration of the keychain that is being
used with the show key chain command. In this example, the authentication mode is MD5,
and the keychain TEST is being used.
Example 5-11 Verifying EIGRPv6 Authentication
Timers
Timers do not have to match; however, if they are not configured appropriately, neighbor
relationships might flap. You can verify timers by using the show ipv6 eigrp interfaces
detail command, as shown in Example 5-11. In that example, the hello interval is configured
as 5, and the hold interval is 15; these are the defaults.
ACLs
EIGRPv6 uses the IPv6 multicast address FF02::A to form neighbor adjacencies. If an IPv6
access control list (ACL) is denying packets destined to the multicast address FF02::A, neigh-
bor adjacencies do not form. In addition, because neighbor adjacencies are formed with link-
local addresses, if the link-local address range is denied based on the source or destination
IPv6 address in an interface with an IPv6 ACL, neighbor relationships do not form.
Route Filtering
A filter might be preventing a route from being advertised or learned. With EIGRPv6, the
distribute-list prefix-list command is used to configure a route filter. To verify the filter
applied, use the show run | section ipv6 router eigrp command. In Example 5-14, a
distribute list is using a prefix list called ENARSI_EIGRP to filter routes inbound on
GigabitEthernet1/0. To successfully troubleshoot route filtering issues, you also need to
verify the IPv6 prefix list by using the show ipv6 prefix-list command.
202 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Stub Configuration
If the wrong router is configured as a stub router, or if the wrong setting is chosen during
stub router configuration, it might prevent a network from being advertised when it should
be advertised. When troubleshooting EIGRPv6 stub configurations, you can use the show
ipv6 protocols command to verify whether the local router is a stub router and the networks
that it is advertising, as shown in Example 5-15. On a remote router, you can issue the show
ipv6 eigrp neighbors detail command, as shown in Example 5-16. In this case, R1 is a stub
router advertising connected and summary routes.
Example 5-15 Verifying the EIGRP Stub Configuration on a Stub Router
Interfaces:
GigabitEthernet1/0
GigabitEthernet0/0 (passive)
Redistribution:
None
Chapter 5: EIGRPv6 203
Split Horizon
5
Split horizon is a loop-prevention feature that prevents a router from advertising routes out
the same interface on which they were learned. As shown in Example 5-17, you can verify
whether split horizon is enabled or disabled by using the show ipv6 eigrp interfaces detail
command.
Example 5-17 Verifying the EIGRP Split-horizon Configuration
As with EIGRP for IPv4, split horizon is an issue in EIGRPv6 network designs that need
routes to be advertised out interfaces on which they were learned—either a nonbroadcast
multi-access (NBMA) Frame Relay hub-and-spoke topology or a Dynamic Multipoint Vir-
tual Private Network (DMVPN) network, which both use multipoint interfaces on the hub.
Therefore, split horizon needs to be disabled on the hub in these networks.
204 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Because the configuration is the only thing that is different, all the issues already discussed
thus far for EIGRP for IPv4 and EIGRPv6 apply here as well. However, now you need to
know which show commands can help you successfully troubleshoot named EIGRP deploy-
ments. This section covers the show commands that you can use to troubleshoot named
EIGRP configurations.
With named EIGRP, you can use all the same EIGRP show commands that you use for clas-
sic EIGRP for IPv4 and classic EIGRPv6, as discussed in Chapter 4 and earlier in this chapter.
However, there is also a new set of show commands for named EIGRP that you might want
to learn.
The command show eigrp protocols (see Example 5-19) shows both the EIGRP for IPv4
address family and the EIGRPv6 address family, along with the autonomous system number
associated with each. It also displays the K values, the router ID, whether the router is a stub
router, the AD, the maximum paths, and the variance.
Example 5-19 Output of show eigrp protocols
This is similar to the show ip protocols and show ipv6 protocols output. However, it is
missing the interfaces that are participating in the routing process, along with the passive
interfaces. Therefore, show ip protocols and show ipv6 protocols are better options, at
least for now.
To verify the interfaces that are participating in the routing process for each address family,
you can issue the show eigrp address-family ipv4 interfaces command and the show eigrp
address-family ipv6 interfaces command, as shown in Example 5-20. Note that passive
interfaces do not show up in this output. Using the classic show ip protocols and show ipv6
protocols commands, you would be able to verify the passive interfaces.
Example 5-20 Verifying Interfaces Participating in the Named EIGRP Process
As shown in Example 5-21, when you add the detail keyword to the show eigrp address-
family ipv4 interfaces command and the show eigrp address-family ipv6 interfaces com-
mand, you can verify additional interface parameters (for example, hello interval and hold
time, whether split horizon is enabled, whether authentication is set, and statistics about
hellos and packets).
Example 5-21 Verifying Details of Interfaces Participating in the Named EIGRP Process
You can verify neighbors with the show eigrp address-family ipv4 neighbors and show
eigrp address-family ipv6 neighbors commands, as shown in Example 5-22. Just as you saw
with the classic commands, if you want to verify whether a neighbor is a stub router, you can
add the detail keyword to these commands.
Example 5-22 Verifying Named EIGRP Neighbors
To display the topology table, you can use the commands show eigrp address-family ipv4
topology and show eigrp address-family ipv6 topology, as shown in Example 5-23.
208 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Internet
2001:db8:f::f
WAN Gi0/0
2001:db8:0:14::/64
Fa1/0 BRANCH
2001:db8:0:4::/64
Figure 5-2 EIGRPv6 Trouble Tickets Topology
Branch# ping
Protocol [ip]: ipv6
Target IPv6 address: 2001:db8:f::f
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands? [no]: y
Source address or interface: 2001:db8:0:4::4
UDP protocol? [no]:
Verbose? [no]:
Precedence [0]:
DSCP [0]:
Include hop by hop option? [no]:
Include destination option? [no]:
Sweep range of sizes? [no]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:F::F, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:0:4::4
.....
Success rate is 0 percent (0/5)
210 CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide
Next, you issue the show ipv6 route 2001:db8:f::f command on Branch to determine
whether there is a route in the IPv6 routing table to reach the address. In the following snip-
pet, the route is not found:
You conclude from this output that Branch is not learning the default route from R1, which
would be used to reach the Internet. You believe that it might be due to a neighbor relation-
ship issue. Back on Branch, you issue the show ipv6 eigrp neighbors command, as shown
in Example 5-26, and the output indicates that there is a neighbor relationship with a device
out Fa1/0 that has the link-local address FE80::C820:17FF:FE04:54. You are pretty sure that
is R1’s link-local address on Fa3/0, but just to be sure, you issue the show ipv6 interface
brief command on R1, as shown in Example 5-27. The link-local address from Example 5-26
matches the address in Example 5-27.
Example 5-26 Verifying EIGRPv6 Neighbor Adjacencies