RobRiker EIGRP
RobRiker EIGRP
RobRiker EIGRP
Cisco proprietary
-both distance vector and link state behavior
-advanced distance vector
Features
-classless
supports vlsm and summarization
manual and automatic summarization
-Uses its own transport protocol
ip protocol 88
RTP reliable transport ptotocol
uses multicast to 224.0.0.10 and unicast
uses multicast to discover neighbors and form adjacencies
uses reliable multicast with sequence numbers and acknowledgements
unicast to synchronize unicast routing topology
-forms active neighbor adjacencies
guarantess packet delivery and supports partial updates
-Guarantees loop-free topology
we don't have a full copy of the database of the network
DUAL is performed to determine best routes
which paths are considered backup routes
-fast convergence
fastest of all IGPs in certain designs
EIGRP is faster because it has a known backup
-Granular metric
hybrid metric derived from multiple factors
-Unequal cost load balancing
only IGP that supports true load balancing
RIP, OSPF can equal cost load balance
-Secure neighbor adjacencies
Authentication is used to gaurantee nieghbor relationships
Supports MD5 in Classic Mode
Supports MD5 and HMAC-SHA 256 in Named Mode
Key chains are used to verify authentication and provide key rotation
-Traffic engineering and Optimization
Stub routing and summarization
ACL filtering and route manipulation
Forming adjacencies
Network command
Controls which interfaces are running the EIGRP process, does not
control which networks are being advertised.
Used to form adjacencies that use multicast address of 224.0.0.10 to
form the adjacency
network 155.1.45.5 0.0.0.0 means only the interfaces with 155.1.45.5
will run the EIGRP process and be able to form adjacencies
network 155.1.45.0 0.0.0.255 means any interface with 155.1.45.x will
be able to run the EIGRP process
the wildcard mask determines how much of the network 155.1.45.x
matters,
0 means it must match, 155.1.45 = 0.0.0 = the first 3
octets must be 155.1.45
255 means it doesn't matter, .x = 255 = the last octet can
be anything in that range 0-255, specifically 2-254
Neighbor command
uses the neighbor x.x.x.x outgoing interface command
This command alone under the routing process will not form an adjacency
Can be used to form adjacencies with other routers if multicast isn't
available for transit.
Acknowledgement
acknowledges receipt of update, query and reply messages via unicast
uses same opcode as hello
query
used to query neighbors to find paths to a destination
multicast to all neighboring routers initially, but unicast if
multicast fails
each query should be acknowledged and answered with a reply
Query mechanism
When a route fails, different things can happen depending on if the
router already knows about an alternate path or not
if a FS exists
install the best one into the routing table immediately and
send updates to neighbors about the new best path
if a FS does not exist
the router has gone into "active" mode and it will query
all EIGRP neighbors for the route
if the querying router is not the successor
reply with the route information or stating that it doesn't
know about the router
if the querying router is the current successor - queried router
lost its successor
if a feasible successor exists, install the FS route and
reply with the new route info
if a feasible successor does not exist - query all
neighbors
Stuck in active
eigrp routers must wait for a reply to each query message
in turn routers queried may need to go active, querying their neighbors
and also wait for those replies
this can create a domino effect, if a router doesn't hear a reply
within the active timer period, 3 minutes, the route goes stuck into
a stuck in active state
when a route goes stuck in active, the router brings down the neighbor
relationship with the router that did not reply to the query
reply
unicast back to the querying router in response to a query for a route
acknowledged with an ACK
Verifying EIGRP
verify neighbor adjacencies
show ip eigrp neighbors [detail]
queue count should be 0
veryify topology
show ip eigrp topology
all links, prefix/length
The neighbor table records the IP address of the neighbor and the interface
on which the neighbor’s Hellos
are received.
R2#sh ip ei neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO
Q Seq
R2#ping 150.1.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 128/152/200 ms
R2#trace 150.1.4.4
Type escape sequence to abort.
Tracing the route to 150.1.4.4
VRF info: (vrf in name/id, vrf out name/id)
1 155.1.23.3 76 msec 44 msec 60 msec
2 155.1.13.1 120 msec 92 msec 132 msec
3 155.1.146.4 152 msec 152 msec 188 msec
R2#tclsh
R2(tcl)#foreach ADDRESS {
+>(tcl)#150.1.1.1 <----- type in the address of the destination,
copy/paste won't work
+>(tcl)#155.1.0.1
+>(tcl)#155.1.13.1
+>(tcl)#155.1.146.1
+>(tcl)#} { ping $ADDRESS }
let the pings run, network failures are quickly detected by failed
pings
use the tclquit command to exit
R2(tcl)#tclquit
Version field - is 4-bit field used to indicate the protocol version of the
originating EIGRP router process.
The version has not changed since its release.
OPCode - is a 4-bit field that specifies the EIGRP message type,
1 = Update,
3 = Query,
4 = Reply,
5 = Hello,
6 = IPX SA,
10 = SIA Query,
11 = SIA Reply.
Checksum – is a 24-bit field that is used to run a sanity check on the EIGRP
packet itself.
This field is based on the entire EIGRP packet and not including the IP
header.
Flags – is a 32-bit field that is used to indicate either an INIT (when set
(0×00000001))
for a new EIGRP neighbor or for the Conditional Receive (CR) (second
bit (0×00000002)),
used in the proprietary Reliable Multicasting algorithm, for EIGRP
Reliable Transport Protocol. (RTP)
Flags - Defines special handling of the packet. There are currently two
defined flag bits.
Init Flag (0x01) - This bit is set in the initial UPDATE packet sent
to a newly discovered neighbor.
It requests the neighbor to download a full set
of routes.
CR Flag (0x02) - This bit indicates that receivers should only accept
the packet if they are in Conditionally Received mode.
A router enters conditionally received mode when it
receives and processes a HELLO packet with a Sequence TLV present.
RS (0x04) - The Restart flag is set in the HELLO and the init UPDATE
packets during the signaling period.
Thee router looks at the RS flag to detect if a
neighbor is restarting and maintain the adjacency.
A restarting router looks at this flag to determine
if the neighbor is helping out with the restart.
EOT (0x08) - The End-of-Table flag marks the end of the startup process
with a new neighbor.
A restarting router looks at this flag to determine
if it has finished receiving the startup UPDATE
packets from all neighbors, before cleaning up the
stale routes from the restarting neighbor.
TLV Fields
TLVs (type-length-value) are not only found within EIGRP but can be found in
other protocols like IS-IS for one.
The type and length fields are fixed in size (typically 1-4 bytes), and
the value field is of variable size.
Type - A binary code, often simply alphanumeric, which indicates the kind of
field that this part of
the message represents.
Length - The size of the value field (typically in bytes)
Value - Variable-sized series of bytes which contains data for this part of
the message.
TLVs carry EIGRP management information. The Parameters of TLV that are used
to convey metric weights and
the hold time. The Sequence, Software Version, and Next Multicast
Sequence TLVs are used by the Cisco
proprietary Reliable Multicast algorithm. As it was mentioned earlier
TLV not only works with IP but also
IPX and Apple Talk. Each Internal and External Routes TLV contains one
route entry. Every Update, Query,
and Reply packet contains at least one Routes TLV. The Internal and
External Routes TLVs include metric
information for the route.
EIGRP Packets
R10#debug eigrp packets ?
SIAquery EIGRP SIA-Query packets
SIAreply EIGRP SIA-Reply packets
ack EIGRP ack packets
all Display all EIGRP packets
hello EIGRP hello packets
query EIGRP query packets
reply EIGRP reply packets
request EIGRP request packets
retry EIGRP retransmissions
stub EIGRP stub packets
terse Display all EIGRP packets except Hellos
update EIGRP update packets
In EIGRP Named Mode, the name of the EIGRP process is any locally significant
string.
The address-family configuration specifies which particular AF EIGRP is
configured in,
such as IPv4,
the sub-address-family identifier (SAFI),
such as unicast,
the routing table,
such as global or VRF,
and the autonomous system.
Furthermore, any commands that were previously issued at the interface level,
such as no ip split-horizon eigrp,
are now configured under the af-interface mode, with the specific
interface denoted
Attributes that are global to the EIGRP process are either configured under
the SAFI itself or under the topology base,
assuming that Multi-Topology Routing (MTR) is not being used
If you are running EIGRP in classic mode and would like to move Mulit-AF
mode, there are two ways to do this, depending on the IOS version your running
15.3 and below, you will have to disable EIGRP Classic mode and enable
EIGRP named mode, Classic and Named mode can not run the same ASN
for 15.4 and above, you can issue the eigrp upgrade-cli NAME under
router configuration mode
After conversion, the running configuration on the device will show only
named mode configurations; you will be unable to see any classic
mode configurations.
This command is available only under EIGRP classic router configuration mode.
You must use the eigrp upgrade-cli command for every classic router
configuration in order to ensure that this configuration is
upgraded to named mode.
Therefore, if multiple classic configurations exist, you must use this
command per autonomous system number.
Both Classic and Named mode are completely compatible with each other, R1 can
run Classic mode and R2 can run Named mode and exchange routes
Named Mode specific changes - any command with default is all interfaces
enter AF ipv4/v6
af-interface Enter Address Family interface configuration
default Set a command to its defaults
eigrp EIGRP Address Family specific commands
exit-address-family Exit Address Family configuration mode
help Description of the interactive help system
maximum-prefix Maximum number of prefixes acceptable in
aggregate
metric Modify metrics and parameters for address
advertisement
neighbor Specify an IPv4 neighbor router
network Enable routing on an IP network
no Negate a command or set its defaults
nsf Non-stop forwarding
remote-neighbors Specify IPv4 service remote neighbors
EIGRP Over The Top
shutdown Shutdown address family
timers Adjust peering based timers
topology Topology configuration mode
af-interface
add-paths Advertise add paths
authentication authentication subcommands
bandwidth-percent Set percentage of bandwidth percentage limit
bfd Enable Bidirectional Forwarding Detection
dampening-change Percent interface metric must change to cause
update
dampening-interval Time in seconds to check interface metrics
default Set a command to its defaults
exit-af-interface Exit from Address Family Interface
configuration mode
hello-interval Configures hello interval
hold-time Configures hold time
next-hop-self Configures EIGRP next-hop-self
no Negate a command or set its defaults
passive-interface Suppress address updates on an interface
shutdown Disable Address-Family on interface
split-horizon Perform split horizon
EIGRP Topology
show ip eigrp all-links
show ip eigrp prefix/length
All routes learned from all neighbors make up the EIGRP topology table
Once topology is learned DUAL runs to choose loop-free best path to
each
destination
best path has the lowest composite metric
Composite metric calculated from
administrative weighting
bandwidth
delay
load
reliablility
Path with lowest composite metric is considered best and installed in
IP routing table
Only best route is advertised to other EIGRP neighbors
Will only advertise route it will use
One or more backup routes can also be pre calculated per destination
Multitopology capabilities
mutiple topology configurations are available in EIGRP
Base is the default routing environment that exists prior to enabling
MTR
multitopology routing needs to be enabled before you can route
between mutliple topologies
You can have base, the global process and up to 31 additional unicast
topologies and a separate multicast topology
topologies are separated from each other by use of the TID, topology ID
and can share the same physical medium
topologies are handled in IOS based on their DSCP values and are
forwarded based on those values
-Loop Prevention
guarantees loop free topology through
split horizon
dont advertise routes out the link they came in on
Can can issues on hub and spoke or partial mesh topologies
DUAL feasibility condition
if your metric is lower than mine you are loop free
-Reconvergence
Active EIGRP neighbor adjacnecy reduces convergence time
adjacent neighbors hello packets contain hold time
if no hello is received with hold time, neighbor declared
unreachable
Neighbor is lost
paths via that neighbor are removed from topology and routing
table
if backup routes exist, they become the new best paths and are
inserted
into the routing table
in this case EIGRP can have sub second convergence
No quesry and reply if backup route exists
if no backup route exists, the DUAL is ran again
When best path is lost and no backup routes exist, route goes into
active state and active timer starts
stable routes not in active state are considered passive or
routing
Query message is reliably sent to remaining neighbors asking if there
is an alternate route
query is propagated to all neighbors with EIGRP query domain or
flooding domain
if there is a change in the topology, how many routers do I have
send query messages
summarization and EIGRP stub feature limits the query
domain
Stub is not a transit network, hub and spoke, spokes are
stubs
Reply packet
neighbors that respond to queries with a reply packet indicate an
alternate
route is available
if alternate route exists, DUAL recalculates new best path
if no alternate route, prefix is removed from topology
table
if active timer expires and no reply received, route is
declared
stuck in active and removed from the topology table
IP Fast ReRoute
reduce the routing transition time to less than 50 ms by
precomputing repair paths or backup routes and installing these paths or
routes in the Routing Information Base (RIB).
Fast Reroute (FRR) is the mechanism that enables traffic that
traverses a failed link to be rerouted around the failure.
Only paths that are reachable through point-to-point interfaces
are protected.
IPv6 is not supported.
A loop-free alternate (LFA) is a precomputed next-hop route that
delivers a packet to its destination without looping back.
Traffic is redirected to an LFA after a network failure and the
LFA makes the forwarding decision without any knowledge of the failure.
log-neighbor-changes
The log-neighbor-changes command enables the logging of neighbor
adjacency changes to monitor the stability
of the routing system and to help detect problems.
log-neighbor-warnings
The time interval (in seconds) between repeated neighbor warning
messages.
The range of seconds is from 1 through 65535.
you can disable and enable the logging of neighbor warning
messages and configure the interval
between repeated neighbor warning messages.
match extcommunity
The match extcommunity command is used to configure match clauses
that use extended community attributes in route maps.
All of the standard rules of match and set clauses apply to the
configuration of extended community attributes.
EIGRP Timers
hello interval
how often i send hellos on a link
ip hello interval eigrp ASN # of seconds
holdtime
how long you should wait to declare me down
is used to control the remote neighbor
opposite of OSPF hello and dead interval
for NBMA its 180 by default, all others 15
ip hold time eigrp ASN # of seconds
Timers don't have to match for adjacency to form
stuck in active
how long the router will keep routes in the active state
timers active time | minutes | disabled router command
AF Timers
timers nsf signal
default value is 20 seconds
Only entered on a NSF capable routers
The EIGRP process starts a signal timer when it is notified of a
switchover event.
Hello packets with the RS bit set are sent during this period.
The converge timer is used to wait for the last end-of-table
(EOT) update if all startup updates have not been
received within the signal timer period.
If an EIGRP process discovers no neighbor, or if it has received
all startup updates from its neighbor within
the signal timer period, the converge timer will not be
started.
timers graceful-restart purge-time - replaced the timers nsf route-hold
The default is 240 seconds
The route-hold timer sets the maximum period of time that the
NSF-aware router will hold known routes for
an NSF-capable neighbor during a switchover operation or a
well-known failure condition.
The route-hold timer is configurable so that you can tune network
performance and avoid undesired effects,
such as “black holing” routes if the switchover operation takes
too much time.
When this timer expires, the NSF-aware router scans the topology
table and discards any stale routes,
allowing EIGRP peers to find alternate routes instead of
waiting during a long switchover operation.
timers nsf converge
The default converge timer is 120 seconds
The timers nsf converge command is entered only on an NSF-capable
router to wait for the last EOT update
if all startup updates have not been received within the
signal timer period.
If an EIGRP process discovers no neighbor, or if it has received
all startup updates from its neighbor within
the signal timer period, the converge timer will not be
started.
EIGRP Bandwidth
by default EIGRP can only utilize 50% of the link bandwidth, as specified by
the bandwidth configured on the interface
this is configurable with the ip bandwidth percent eigrp interface
command
EIGRP will use up to 50 percent of the bandwidth of a link, as defined by the
bandwidth interface configuration command.
This command may be used if some other fraction of the bandwidth is desired.
Note that values greater than 100 percent may be configured.
Config
3. router eigrp virtual-name
4. Enter one of the following:
• address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-
system [autonomous-system-number]
• address-family ipv6 [unicast] [vrf vrf-name] autonomous-system
[autonomous-system-number]
5. network ip-address [wildcard-mask]
6. af-interface {default | interface-type interface-number}
7. authentication mode {hmac-sha-256 encryption-type password | md5}
https://www.ciscolive.com/online/connect/flowPlayer.do?
url=http://d2zmdbbm9feqrf.cloudfront.net/2013/usa/BRKRST-2444.mp4
EIGRP supports 3 protocol suites: IP, IPv6, and IPX. Each of them has its own
PDM. These are the primary functions of PDM:
PDM - defines the type and format for the destination data. In EIGRP,
each address family is implemented as a PDM - Protocol Dependent modules
Maintaining the neighbor and topology tables of EIGRP routers
that belong to that protocol suite
Building and translating protocol specific packets for DUAL
Interfacing DUAL to the protocol specific routing table
Computing the metric and passing this information to DUAL; DUAL
handles only the picking of the feasible successors (FSs)
Implement filtering and access lists.
Perform redistribution functions to/from other routing protocols.
It contains all destinations advertised by neighboring routers.
Associated with each entry are the destination address and a list of
neighbors that have advertised this destination.
For each neighbor, the advertised metric is recorded.
This is the metric that the neighbor stores in its routing table.
[k1*bandwidth+(k2*bandwidth)/(256-load)+k3*delay]*-[k5/(reliability+k4)]
bandwidth
delay
reliability
load
k values
mtu has nothing to do with calculation
k values
clearly we have 5 variables in the equation labeled k1-5 in addition to
other variables like
bandwidth, delay, reliability and load
what exactly are these k values and what are they used for
k values are nothing more that numbers from 0-255
k values simply define how important the other variables are,
bandwidth, delay, reliability and load
by scaling them, multiplying them by an integer
k values are not equal to the variables they help scale
by default k1 and k3 equal 1 and k2, 4 and 5 are equal to 0
we can manipulate k values with the metric weights EIGRP command
if k5 is 0, the last section of the equation is not taken into account
it is 0 by default, by default the last section of the equation
is not considered in a calculation
the variable bandwidth really means 256*(10^7/minimum bandwidth in
kbps)
the variable delay really means 256* cumulative delay along the path in
tens of microseconds
reducing the formula
metric by default
[1*bandwidth+(0-bandwidth)/256-load)+1*delay]
this can be reduced more
(bandwidth+delay) =
bandwidth = 256*(10^7/minimum bandwidth in kbps)
delay = 256* cumulative delay in tens of microseconds
Dly - 2*65536=128256
BW - 10000000 *65536 / 1000000
30000000
19660890000000
Offsetting the metric, metric now and subtract it by the needed metric
and the result is your offset
The calculation is as follows for EIGRP Named mode which uses a 64-bit
metric:
Metric = [(K1*Minimum Throughput + (K2*Minimum Throughput/(256-Load) +
(K3*Total Latency) + (K6*Extended Attributes)]* [K5/(K4 + Reliability)]
If K5 equals zero, the second half of the equation is ignored in both cases.
Metric holddown
The holddown state keeps new routing information from being used
for a certain period of time.
This function can prevent routing loops caused by slow
convergence.
metric maximum-hops
This command provides a safety mechanism that breaks any
potential count-to-infinity problems.
It causes the IP routing software to advertise as unreachable
routes with a hop count greater than the value assigned to
the hops-number argument.
metric rib-scale
Scaling value for the RIB installation.
The range is from 1 to 255.
The default value is 128.
metric weights
Use this command to alter the default behavior of EIGRP routing
and metric computation and to allow the
tuning of the EIGRP metric calculation for a particular
type of service (ToS).
Router Configuration
metric weights tos k1 k2 k3 k4 k5
tos Type of service. This value must always be zero.
no metric weights
Per the RFC, Loading is the most greatly effected at 90% or greater
Changing load and reliability metrics will effect the routing metric based on
how much traffic is being sent/received
load interval is a 5 minute average by default, modifying this to a
lower time value will cause EIGRP to calculate the load at a faster
average
EIGRP Wide Metrics - EIGRP wide metrics are sent with a TLV version of 2
EIGRP composite cost metric is not scaled correctly for high-bandwidth
interfaces resulting in incorrect or inconsistent routing behavior
The lowest delay that can be configured for an interface is 10 microseconds.
High-speed interfaces
10 Gigabit Ethernet interfaces
high-speed interfaces channeled together gig etherchannel appear to
EIGRP as a single GE interface
This may cause undesirable equal-cost load balancing
To resolve this issue
EIGRP Wide Metrics feature supports 64-bit metric calculations and
(RIB) scaling
This provides the ability to support interfaces
either directly or via channeling techniques like port channels up to
approximately 4.2 terabits
The 64-bit metric calculations work only in EIGRP named mode configurations.
EIGRP classic mode uses 32-bit metric calculations.
EIGRP wide metrics introduce the following two new metric values represented
as k6 in the EIGRP metrics configuration:
•Jitter—(Measured in microseconds) accumulated across all links in the
route path.
Routes lower jitter values are preferred for EIGRP path
selection.
•Energy—(Measured in watts per kilobit) accumulated across all links in
the route path.
Routes lower energy values are preferred for EIGRP path
selection.
EIGRP prefers a path with no jitter or energy metric values or lower
jitter or metric values over a path with higher values.
Scalability
EIGRP can achieve sub second reconvergence through use of backup routes
backup routes are feasible successors if they pass the feasibility
condition
If my metric is X to the destination, if your metric to X is lower your
a feasible successor
if my metric is X to the destination, if your metric to X is higher
your not a FS
if no backup routes a Query message is sent
asks other neighbors for an alternate path
reply message needs to come in before the route is withdrawn from the
routing table
if no reply is received, it becomes stuck in active, the adjacencies
need to be reset to reconverge
Query domain can be bounded by
summarization | stub routing | route filtering | segment into multiple
processes, query messages only propagate through a single AS
can occur anywhere since it's only exchanging routes with it's
neighbors
not exchanging the full topology with all router in the AS
it not only reduces the size of the routing table
it also reduces the size of the query domain
ip summary address eigrp x.x.x.x x.x.x.x and the administrative
distance at the link level
supports any bit boundary including 0.0.0.0/0
automatically suppresses subnet advertisements
can advertise subnets though leak map argument
administrative distance defaults to 5
allows for floating summaries
automatically generates discard route
can be removed with the AD of 255
the discard route or null0 is for aggregate routes
where 2 /24 routes are
summarized as a single /23, if one of those routes go
down the router will not
continue to forward packets to the down subnet.
EIGRP hierarchary is arbitrary
You can summarize anywhere in the network
Summarization pitfalls
Churning subnets due to metrics changing means the summary will
be churning
Change of best subnet metric means summary must be re
advertised
Query Scoping
If a query goes out, and there is 1 route that goes down, a
single query for a single route update is sent everywhere
A query and replay is needed on every router for that route
that is in the AS
If a query goes out, and there is multiple routes that go down, a
query for every single route update is sent everywhere
A query and replay is needed on every router for each route
that is in the AS
Summarization
The /summary-address (EIGRP) command is used to configure interface-
level address summarization.
EIGRP summary routes are given an administrative distance value of 5.
The administrative distance metric is used to advertise a summary
address without installing it in the routing table.
Like RIP, EIGRP supports summarization at the interface level anywhere
throughout the topology, but it does not have the
limitation of being unable to summarize beyond the classful
boundary.
When a summary is configured in EIGRP, all subnets that make up the
summary are suppressed from being advertised out the link.
From a design perspective, this feature can be used to both reduce the
size of the routing table and limit the scope of EIGRP query messages.
Summarization with default routes
Summarization can also be used to originate a default route in EIGRP.
The disadvantage of this configuration, however, is that all subnets
previously advertised out an interface will be suppressed,
because all IPv4 networks are a subnet of the aggregate 0.0.0.0/0
Summarization with Leak Maps
The EIGRP leak-map feature of the summary-address allows the
advertisement of specific subnets encompassed by the interface-level summary,
similar to the unsuppress-map feature of BGP aggregation.
Routes matched in the leak-map route-map will be advertised in addition
to the summary.
If the route-map matches all routes, all subnets of the aggregate will
be advertised in addition to the aggregate.
This is useful in cases where you want to originate a default route
with the interface summary-address,
but you don’t want to stop the advertisement of specific subnets.
leak maps allow you to advertise a single subnet in a summary, so the summary
and the more specific route get advertised
prefix list WORD subnet and prefix length
route map that matches the subnet referenced in the prefix list
apply the leak map at the end of the summary route with the leak map on
the interface you want to engineer the traffic
goes down the leak map will allow for a more specific route while still
maintaining the summary
Floating Summarization
When summaries are created in EIGRP, OSPF, and BGP, the router
automatically installs a route to Null0 to match the summary.
This is used to prevent the router from forwarding traffic for
destinations inside the summary that it does not have a longer match for.
However, in certain designs this can be an undesirable behavior.
To resolve this, EIGRP sets its interface-level summaries to have an
administrative distance of 5 by default.
This means that any other route with a distance of 1–4 will take
precedence over the summary.
Config
on the stub
eigrp stub - by default will only advertise connected and
summary routes
connected
advertises connected routes
redist
advertise routes redistributed to this router
summary
advertise summary|summarized routes
static
advertise static routes
receive only
will only receive routes that are advertised,
won't advertise any routes
leak map
advertise routes that exist behind the stub
Load balancing
equal cost
traffic is load balanced out equal cost paths
default is 4 paths and can be changed with the maximum paths command
Some IOS code supports up to 32 equal cost paths
unequal cost
taffic can be portionally balanced out unequal cost paths
EIGRP allows load distribution among unequal paths
controlled by variance command
Feasible distance * variance > feasible successor, load balancing
occurs
only feasible successors are candidate for load balancing
Automatically calculated traffic share counter causes links to be used
in ratio proportional to their composite metrics
actual load balancing still controlled by switching path
process and fast switching can do per packet load balancing
where CEF goes based on flow, TCP and UDP for next hop and the
adjacency
if you want per packet load balancing, ip packet load balancing
under the interface
The FC Advertised Distance must be less than my FD in order to be
considered a FS and be candidate for UECLB
traffic sharing
when eigrp performs unequal cost load balancing, traffic is
proportionally distributed across the links based on metric
the default behavior based on the default command is traffic share
balanced
traffic share min across interfaces modifies the default behavior
the unequal cost paths up to the maximum allowed paths that is
configured will all be in the routing table, but
traffic will only be sent out the best path
reason-convergence time
Convergence is the time for the FIB to remove the lost successor and
install the FS into the FIB as the successor
BW and Delay modification until the the FS falls inside the feasibility
condition to be a backup route
Traffic Engineering
Manipulating AD
two general way to change AD
change AD for all EIGRP routes
distance eigrp | internal AD | external AD
change AD for EIGRP routes learned from a specific source
manipulate AD for all routes learned from a specific
source
manipulate AD for some routes learned from a specific
source
-distance AD source wc mask ACL-
acl can be standard name or numbered
extended acl may not be useful
this will not work for external routes
we can not change the AD for a specific
EIGRP external route, all or nothing
Split Horizon
EIGRP is Distance Vector
Split horizon rule is still use
dont advertise an update back out the interface it was
learned on
DMVPN Phase 3
You can go to the hub and use the nhrp redirect and nhrp shortcut
commands to let NHRP resolve the address
If you advertise a default route from the hub to the spokes
The shortcut/redirect options let the spoke with the
default route ask the hub for the next hop
Once the NHRP resolves the next hop, you will no longer
route to the hub you'll route to the spoke
NHRP will install, while valid, a NHRP route in the in the
routing table, once the route expires the route to the spoke will be removed
Default routing
supports default routing two ways
candidate default network
ip default network x.x.x.x
native advertisement of 0.0.0.0/0 prefix
default network must be
dynamically learned through EIGRP
not directly connected
classful network
limited application due to these restrictions
default-information command in EIGRP does not behave the same as other
protocols
no default information in, you will not receive any default routes in
no default information out, you will receive default information but
you will not not propagate information out
Exterior routes are always accepted and default information is passed
between EIGRP processes when redistribution occurs.
native default advertisement
native 0.0.0.0/0 network can be advertised
static default route to an interface and network 0.0.0.0 under
EIGRP process
redistribution from static or another protocol
summarization
Inbound route filtering
distribute list
standard access list
extended access list
source is route source, destination is prefix
source is in the "from" section of a route
std and extd ACL for filtering data plane
can match on the route but not on the
prefix lengths
prefix list
offset list
distance
255=infinite
can be per prefix and per neighbor
route map
cannot apply it to a neighbor or the process
metric filter
route tag filter
Router ID
used for external\internal loop prevention, depending on the version of IOS
code
don't accept self originated external routes
if external EIGRP has a lower administrative distance than the
protocol you are redistributing from, it could cause a loop
duplicate router ids can result in traffic black holes
these routers will not accept external routes
can be manually specified with eigrp router id x.x.x.x under the process
The router ID is used to identify the originating router for external routes.
If an external route is received with the local router ID, the route is
discarded.
The router ID can be configured with any IP address with two exceptions;
0.0.0.0 and 255.255.255.255 are not legal values and cannot be entered.
Redistribution
when redistributing into EIGRP, we must set the metric
default metric command
redistribute command itself
you could use a route map and set the metric that way
redistribution can be made conditional or much more specific by using route
maps
when redistibuting from OSPF, we can use the match command to match specific
OSPF LSA types
redistributed routes into EIGRP are external routes and get an AD of 170
Redistributed protocols can have metric applied 2 ways
default metrics command and the K values set, any protocol
redistributed inherits these metrics
metric command, on a per redistribution basis, OSPF can be one set of
values, RIP can be another
EIGRP Add-Path
Prerequisites for Add Path Support in EIGRP - 15.3
All interfaces in EIGRP topology are by default configured with the next-hop-
self command.
This command enables EIGRP to set the local outbound interface as the next-
hop value while advertising a route to a peer
even when advertising routes out of the interface on which the routes
were learned
This default EIGRP behavior may interfere with the add-paths command that
helps configure the Add Path Support in EIGRP feature
before you configure this feature on a hub device in a Dynamic
Multipoint VPN (DMVPN) domain,
you must disable the next-hop-self command that is configured on the
hub interface that connects to spokes in the DMVPN domain.
SUMMARY STEPS
1.enable
2.configure terminal
3.snmp-server host {hostname|ip-address} [traps | informs | version {1 | 2c |
3 [auth | noauth | priv] community-string [udp-port port] [notification-type]
4.snmp-server community string
5.snmp-server enable traps [notification-type]
6.end
7.show running-config
If this feature is enabled on the PE routers and the backdoor routers in the
customer sites, and SoO values are
defined on both the PE and backdoor routers, both the PE and backdoor routers
will support convergence
between the VPN sites. The other routers in the customer sites need only
propagate the SoO values carried
by the routes, because the routes are forwarded to neighbors. These routers
do not otherwise affect or support
convergence beyond normal Diffusing Update Algorithm (DUAL) computations.
When BGP and EIGRP peers that support the SoO extended community receive
these routes, they will also
receive the associated SoO values and pass them to other BGP and EIGRP peers
that support the SoO extended
community. This filtering is designed to prevent transient routes from being
relearned from the originating
site, which prevents transient routing loops from occurring.
Redistribution of BGP VPN Routes That Carry the Site of Origin into EIGRP
When an EIGRP routing process on a PE router redistributes BGP VPN routes
into an EIGRP topology table,
EIGRP extracts the SoO value (if one is present) from the appended BGP
extended community attributes and
appends the SoO value to the route before adding it to the EIGRP topology
table. EIGRP tests the SoO value
for each route before sending updates to CE routers. Routes that are
associated with SoO values that match
the SoO value configured on the interface are filtered out before they are
passed to the CE routers. When an
EIGRP routing process receives routes that are associated with different SoO
values, the SoO value is passed
to the CE router and carried through the CE site.
BGP Cost Community Support for EIGRP MPLS VPN PE-CE Network Topologies
The BGP cost community is a nontransitive extended community attribute that
is passed to internal BGP
(iBGP) and confederation peers but not external BGP (eBGP) peers. The cost
community feature allows you
to customize the local route preference and influence the BGP best path
selection process.
Before BGP cost community support for EIGRP MPLS VPN PE-CE network topologies
was introduced,
BGP preferred locally sourced routes over routes learned from BGP peers.
Backdoor links in an EIGRP MPLS
VPN topology were preferred by BGP when the backdoor link was learned first.
(A backdoor link or a route
is a connection that is configured outside of the VPN between a remote and
main site; for example, a WAN
leased line that connects a remote site to the corporate network).
The “prebest path” point of insertion (POI) was introduced in the BGP Cost
Community feature to support
mixed EIGRP VPN network topologies that contain VPN and backdoor links. This
POI is applied automatically
to EIGRP routes that are redistributed into BGP. The “prebest path” POI
carries the EIGRP route type and
metric. This POI influences the best path calculation process by influencing
BGP to consider this POI before
any other comparison step. No configuration is required. This feature is
enabled automatically for EIGRP
VPN sites when a Cisco IOS release that supports this feature is installed on
the PE routers or the CE and
backdoor router at the customer sites.
For more information about the BGP Cost Community feature, see to the BGP
Cost Community module in
the Cisco IOS IP Routing: BGP Configuration Guide.
Benefits of the EIGRP MPLS VPN PE-CE Site of Origin Support Feature
The configuration of the EIGRP MPLS VPN PE-CE Site of Origin Support feature
introduces per-site VPN
filtering, which improves support for complex topologies, such as MPLS VPNs
with backdoor links, CE
routers that are dual-homed to different PE routers, and PE routers that
support CE routers from different sites
within the same virtual routing and forwarding (VRF) instance.
For NSF operation, the routing protocols depend on CEF to continue forwarding
packets while the routing
protocols rebuild the routing information.
•Expires the EIGRP hello hold timer to reduce the time interval set for hello
packet generation and
transmission. This allows the NSF-aware router to reply to the NSF-capable
router more quickly and
reduces the amount of time required for the NSF-capable router to rediscover
neighbors and rebuild the
topology table.
•Starts the route-hold timer. This timer is used to set the period of time
that the NSF-aware router will
hold known routes for the NSF-capable neighbor. This timer is configured with
the timers
graceful-restart purge-timecommand. The default time period is 240 seconds.
After the restart count limit has been crossed, you will need to enter the clear ip
route *, clear ip eigrp
neighbor, or clear eigrp address-family neighbor command to restore normal peering
and redistribution.
Reset Timer
The reset timer is used to configure the router to reset the restart
count to 0 after the default or configured
reset-time period has expired. This timer is designed to provide
administrator with control over long-and
medium-term accumulated penalties. The default reset-time period is 15
minutes.
Dampening Mechanism
The dampening mechanism is used to apply an exponential decay penalty
to the restart-time period each time
the maximum-prefix limit is exceeded. The half-life for the decay
penalty is 150 percent of the default or
user-defined restart-time value in minutes. This mechanism is designed
to identify and suppress unstable
peers. It is disabled by default.
This task can be configured only in IPv4 VRF address family topology
configuration mode.
SUMMARY STEPS
1. enable
2. configure terminal
3. router eigrp virtual-instance-name
4. address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-
system autonomous-system-number
5. network ip-address [wildcard-mask]
6. topology {base | topology-name tid number}
7. redistribute maximum-prefix maximum [threshold] [[dampened] [reset-
time minutes] [restart minutes] [restart-count number] | warning-only]
8. exit-af-topology
A route tag is a 32-bit value attached to routes. Route tags are used to
filter routes and apply administrative
policies, such as redistribution and route summarization, to tagged routes.
You can tag routes within a route map by using the set tag command.
You can match tagged routes and apply administrative policies to tagged
routes within a route map by using the match tag or match tag list command.
The match tag list command is used to match a list of route tags.
Prior to the EIGRP Route Tag Enhancements feature, EIGRP routes could only be
tagged using plain decimals (range: 1 to 4294967295).
This feature enables users to specify and display route tag values as dotted
decimals (range: 0.0.0.0 to 255.255.255.255),
similar to the format used by IPv4 addresses.
This enhancement is intended to simplify the use of route tags as users can
now filter routes by using the route tag wildcard mask.
This feature also allows you to configure a default route tag for all
internal EIGRP routes without using route maps.
Use the eigrp default-route-tag command in address family configuration mode
to configure a default
route tag for internal EIGRP routes.
If your network has many CEs, then you can use EIGRP Route Reflectors
(E-RRs) to form a half-mesh
topology and ensure connectivity among all CEs in the network. An E-RR
is an EIGRP peer that receives
EIGRP route updates from CEs in the network and reflects these updates
to other EIGRP CE neighbors without
changing the next hop or metrics for the routes. An E-RR can also
function as a CE in the network. You must
configure E-RRs with the remote-neighbors source command to enable E-
RRs to listen to unicast messages
from peer CE devices and reflect the messages to other EIGRP CE
neighbors. You must configure the CEs
with the neighbor command to allow them to identify the E-RRs in their
network and exchange routes with
the E-RRs. Upon learning routes from E-RRs, the CEs install these
routes into their routing information base
(RIB). You can use dual or multiple E-RRs for redundancy. The CEs form
adjacencies with all E-RRs
configured in the network, thus enabling multihop remote neighborship
amongst themselves.
Configuring EIGRP Over the Top on a CE Device
You must enable the EIGRP Over the Top feature on all customer edge
(CE) devices in the network so that
the CEs know how to reach the Enhanced Interior Gateway Routing
Protocol (EIGRP) Route Reflector
configured in the network. Perform the following task to configure the
EIGRP Over the Top feature on a CE
device and enable Locator ID Separation Protocol (LISP) encapsulation
for traffic across the underlying WAN.
SUMMARY STEPS
1. enable
2. configure terminal
3. router eigrp virtual-name
4. address-family ipv4 autonomous-system as-number
5. neighbor{ip-address | ipv6-address} interface-type interface-number
[remote maximum-hops [lisp-encap
[lisp-id]]]
6. network ip-address[wildcard-mask]
7. end
This feature allows EIGRP for IPv6 to be configured without the use of
a global IPv6 address.
There is no network statement in EIGRP for IPv6.
In per-interface configuration at system startup, if EIGRP has been
configured on an interface,
then the EIGRP protocol may start running before any EIGRP router mode
commands have been executed.
• An EIGRP for IPv6 protocol instance requires a router ID before it can
start running.
• EIGRP for IPv6 has a shutdown feature.
The routing process should be in "no shut" mode in order to start
running.
• EIGRP for IPv6 provides route filtering using the distribute-list prefix-
list command.
Use of the route-map command is not supported for route filtering with
a distribute list.
• Protocol-dependent modules--
When there are no feasible successors to a route that has failed, but there
are neighbors advertising the route, a recomputation must occur.
This is the process in which DUAL determines a new successor.
The amount of time required to recompute the route affects the convergence
time.
Recomputation is processor-intensive; it is advantageous to avoid unneeded
recomputation.
When a topology change occurs, DUAL will test for feasible successors.
If there are feasible successors, DUAL will use them in order to avoid
unnecessary recomputation.
SUMMARY STEPS
1. enable
2. configure terminal
3. ipv6 unicast-routing
4. interface type number
5. no shut
6. ipv6 enable
7. ipv6 eigrp as-number
8. ipv6 router eigrp as-number
9. router-id ip-address
10. exit
11. show ipv6 eigrp [as-number] interfaces [type number] [detail]
Configuring the Percentage of Link Bandwidth Used by EIGRP
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no shut
5. ipv6 bandwidth-percent eigrp as-number percent
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no shut
5. no ipv6 next-hop-self eigrp as-number
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no shut
5. ipv6 hello-interval eigrp as-number seconds
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no shut
5. ipv6 hold-time eigrp as-number seconds
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. no shut
5. no ipv6 split-horizon eigrp as-number
When routes are redistribued into EIGRP from a BGP network, BGP Cost
Community Extended Community
attributes are added to the routes. These attributes include the SoO
attribute. The SoO attribute is used to
identify the site of origin of a route and prevent advertisement of the route
back to the source site. To enable
the EIGRP SoO functionality, you must configure the ip vrf sitemap command on
the PE interface that is
connected to the CE device. This command enables SoO filtering on the
interface. When EIGRP on the PE
device receives CE routes on the interface that has a SoO value defined,
EIGRP checks each route to determine
whether there is an SoO value associated with the route that matches the
interface SoO value. If the SoO
values match, the route will be filtered. This filtering is done to stop
routing loops.
When EIGRP on the PE receives a route that does not contain an SoO value or
contains an SoO value that
does not match the interface SoO value, the route will be accepted into the
topology table so that it can be
redistributed into BGP. When the PE redistributes an EIGRP route that does
not contain an SoO value into
BGP, the SoO value that is defined on the interface used to reach the next
hop (CE) is included in the Extended
Communities attribute associated with the route. If the EIGRP topology table
entry already has an SoO value
associated with the route, this SoO value, instead of the interface SoO
value, will be included with the route
when it is redistributed into the BGP table. Any BGP peer that receives these
prefixes will also receive the
SoO value associated with each prefix, identifying the site, where each
prefix originated.
The EIGRP SoO functionality ensures that BGP does not follow its normal path-
selection behavior, where
locally derived routes (such as native EIGRP routes redistributed into BGP)
are preferred over BGP-derived
routes.
Backdoor Devices
Backdoor devices are EIGRP devices that connect one EIGRP site to
another, but not through the Multiprotocol
Label Switching-VPN (MPLS-VPN) network. Typically, a backdoor link is
used as a backup path between
peering EIGRP sites if the MPLS-VPN link is down or unavailable. The
metric on the backdoor link is set
high enough so that the path through the backdoor will not be selected
unless there is a VPN link failure. You
can define Site of Origin (SoO) values on the backdoor device on
interfaces connecting the device to the
peering sites, thus identifying the local-site identity of the link.