www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / ROUTE / Module 2 / EIGRP – Metrics, DUAL, and the Topology Table

EIGRP – Metrics, DUAL, and the Topology Table

When implementing EIGRP, it is important to understand the various aspects used within and by the protocol before routes are actually placed into the IP routing table. In this section, we are going to learn about the EIGRP composite metric and how it is calculated. We will also learn about the different ways to influence metric calculation, we all as to adjust the calculated metric.

Following that, we are going to learn about the Diffusing Update Algorithm, and conclude the section with the EIGRP Topology Table and how the information covered in this section fits together when it comes to populating the IP routing table on a router running EIGRP.

EIGRP Composite Metric Calculation

EIGRP uses a composite metric, which includes different variables. These variables are referred to as the K values. The K values are constants that are used to distribute weight to different path aspects, which may be included in the composite EIGRP metric. The default values for the K values are K1 = K3 = 1 and K2 = K4 = K5 = 0. In other words, K1 and K3 are set to a default value of 1, while K2, K4, and K5 are set to a default value of 0.

Assuming the default K value settings, the complete EIGRP metric can be calculated using the following mathematical formula:

[K1 * bandwidth + (K2 * bandwidth) / (256 – load) + K3 * delay] * [K5 / (reliability + K4)]

However, given that only K1 and K3 have any positive values by default, the default EIGRP metric calculation is performed using the following mathematical formula:

[(107 / least bandwidth on path) + (sum of all delays)] × 256

This essentially means that, by default, EIGRP uses the minimum bandwidth on the path to a destination network and the total delay to compute routing metrics. However, Cisco IOS software allows administrators to set other K values to non-zero values to incorporate other variables into the composite metric. This may be performed using the metric weights [tos] k1 k2 k3 k4 k5 router configuration command.

When using the metric weights command, [tos] stands for Type of Service. Although the Cisco IOS software shows that any value between 0 and 8 may be used, as of the time of the writing of this guide, this field can only currently be set to zero. The K values can be set to any value between 0 and 255. The default EIGRP K values can be viewed by issuing the show ip protocols command. This is illustrated in the following output:

R2#show ip protocols
Routing Protocol is “eigrp 150”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 150
EIGRP NSF-aware route hold timer is 240s
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
Routing Information Sources:
Gateway         Distance      Last Update
192.168.1.3           90      00:00:15
Distance: internal 90 external 170

When adjusting the EIGRP K values, it is important to remember that the same values must be configured on all routers within the EIGRP domain. If the K values are mismatched, EIGRP neighbor relationships will not be established.

NOTE: Adjusting the default K value settings is not recommended. It should only be done with the assistance of seasoned senior-level engineers who have a solid understanding of the implications of such actions within the network or based upon the recommendation of the Cisco Technical Assistance Center (TAC).

Using Interface Bandwidth to Influence EIGRP Metric Calculation

EIGRP metric calculation can be directly influenced by adjusting the default bandwidth values assigned to individual interfaces using the bandwidth command. The bandwidth values specified by this command are in Kilobits. The bandwidth used in EIGRP metric calculation is also in Kilobits. Figure 2-7 illustrates a network comprised of two routers connected via two Serial (T1) links which have a bandwidth value of 1544Kbps:

Fig. 2-7. EIGRP Metric Bandwidth Manipulation

Referencing the diagram in Figure 2-6, because of the equal bandwidth (and delay) values of the links between R1 and R2, the same EIGRP metric will be derived for both paths from R2 to the 172.16.100.0/24 subnet. EIGRP will load-share traffic between the two Serial links as is shown in the following output on R2:

R2#show ip route 172.16.100.0 255.255.255.0
Routing entry for 172.16.100.0/24
Known via “eigrp 150”, distance 90, metric 2172416, type internal
Redistributing via eigrp 150
Last update from 150.2.2.1 on Serial0/1, 00:48:09 ago
Routing Descriptor Blocks:
150.2.2.1, from 150.2.2.1, 00:48:09 ago, via Serial0/1
      Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
* 150.1.1.1, from 150.1.1.1, 00:48:09 ago, via Serial0/0
      Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

Adjusting the default bandwidth value on either interface will directly influence EIGRP metric calculation for the path to the destination network. Such actions can be used for path control within larger networks, i.e. controlling the path that traffic takes based on administrator defined values and configurations. For example, if it was preferred that EIGRP use Serial0/0 as the primary path to the destination network and Serial0/1 as the backup path to the destination, one of two actions could be taken.

The first is that the bandwidth value on Serial0/0 could be incremented, resulting in a better (lower metric) for this path. The second is that the bandwidth value on Serial0/1 could be decremented, resulting in a worse (higher) metric for this path. Either option is acceptable and will achieve the desired result. The following illustrates how to decrement the default bandwidth value on Serial0/1, effectively ensuring that Serial0/0 is used as the primary path between R2 and the 172.16.100.0/24 network:

R2(config)#interface serial 0/1
R2(config-if)#bandwidth 1024
R2(config-if)#exit

NOTE: As stated in Chapter 1, this configuration does not mean that Serial0/1 is now capable of only 1024Kbps of throughput through this interface.

The result of this configuration is that Serial0/0 is the primary path used by R2 to get to the 172.16.100.0/24 destination network. This is illustrated in the following output:

R2#show ip route 172.16.100.0 255.255.255.0
Routing entry for 172.16.100.0/24
Known via “eigrp 150”, distance 90, metric 2172416, type internal
Redistributing via eigrp 150
Last update from 150.1.1.1 on Serial0/0, 00:01:55 ago
Routing Descriptor Blocks:
* 150.1.1.1, from 150.1.1.1, 00:01:55 ago, via Serial0/0
      Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

Although the path via the Serial0/1 interface is not installed into the routing table, when using EIGRP as the routing protocol, it is important to remember that this path is not completely ignored, however. Instead, this path is stored in the EIGRP Topology Table which contains the primary and alternate (backup) paths to remote destination networks. The EIGRP Topology Table will be described in detail later in this chapter.

While adjusting the default bandwidth value on the interface can be used for path control, it is important to understand that the bandwidth value can also affect other configurations on the router. A primary example would be certain Quality of Service (QoS) implementations that use the interface bandwidth value to determine the bit rate afforded to each traffic class. For example, referencing the network in Figure 2-6, assume that voice engineers have implemented a QoS policy that allocates 30% of the available link bandwidth to voice bearer traffic. The policy is applied to both the Serial0/0 and Serial0/1 interfaces, which are both T1 speed. Prior to any changes on R2, the policy shows the following bandwidth allocation for Serial0/0:

R2#show policy-map interface serial 0/0 output class Voice-Bearer-Traffic
Serial0/0Service-policy output: QoS-ImplementationClass-map: Voice-Bearer-Traffic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 30 (%)
        Bandwidth 463 (kbps) Burst 11575 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0

The same Quality of Service bandwidth allocation is also reflected for the Serial0/1 interface:

R2#show policy-map interface serial 0/1 output class Voice-Bearer-Traffic
Serial0/1Service-policy output: QoS-ImplementationClass-map: Voice-Bearer-Traffic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 30 (%)
        Bandwidth 463 (kbps) Burst 11575 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0

As illustrated in the two outputs above, the bandwidth allocations for both links is identical and 30% (463Kbps) is afforded to voice traffic based on the calculations of the voice engineers. By adjusting the default interface bandwidth to influence EIGRP path selection, you will also affect the configuration implemented by the voice engineers.

For example, referencing the same bandwidth configuration as shown in the previous example, changing the interface bandwidth value on Serial0/1 to 1024Kbps results in the following change to the Quality of Service configuration that is implemented on the Serial0/1 interface:

R2#show policy-map interface serial 0/1 output class Voice-Bearer-Traffic
Serial0/1Service-policy output: QoS-ImplementationClass-map: Voice-Bearer-Traffic (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip dscp ef (46)
Queueing
Strict Priority
Output Queue: Conversation 264
Bandwidth 30 (%)
        Bandwidth 307 (kbps) Burst 7675 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0

Now, the 30% allocation is approximately 307Kbps, instead of 463Kbps. Therefore, although the bandwidth change achieves the desired objective from a routing perspective, it affects other configuration on the router. In addition to this, adjusting the bandwidth value could also affect other things, such as interface statistics, SNMP reporting, or even TCP-based applications.

NOTE: By default, when EIGRP is enabled, it can use up to 50% of the interface bandwidth to send EIGRP packets. EIGRP determines the bandwidth amount based on the bandwidth interface configuration command.  Therefore, when adjusting interface bandwidth values, it is important to keep this fact in mind. This default setting can be adjusted by using the ip bandwidth-percent eigrp [ASN] [percentage] interface configuration command.

In summation, when using the bandwidth command to influence EIGRP metric calculation, it is important to remember that EIGRP uses the minimum bandwidth on the path to a destination network, along with the cumulative delay, to compute routing metrics.   It is important to have a solid understanding of the network topology to best determine where to use the bandwidth command to influence EIGRP metric calculation.

Using Interface Delay to Influence EIGRP Metric Calculation

The interface delay value is presented in microseconds. The delay value used in EIGRP metric calculation is in tens of microseconds. Therefore, the delay value on the interface must be divided by 10 to be used to compute the EIGRP metric.  Table 2-3 shows the default interface bandwidth and delay values used in Cisco IOS software:

INTERFACE BANDWIDTH (KILOBITS) DELAY (MICROSECONDS)
Ethernet 10000 1000
FastEthernet 100000 100
GigabitEthernet 1000000 10
Ten GigabitEthernet 10000000 10
Serial (T1) 1544 20000
Serial (E1) 2048 20000
Serial (T3) 44736 200
Serial (E3) 34010 200

Tab. 2-3. Default Interface Bandwidth and Delay Values

When working with the interface bandwidth and delay values, it is very important to remember that adjusting the interface bandwidth value does not automatically adjust the interface delay value, and vice-versa. The two values are independent of each other.  As an example, the output that follows shows the default bandwidth and delay values for a FastEthernet interface:

R2#show interfaces fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 0013.1986.0a20 (bia 0013.1986.0a20)
Internet address is 192.168.1.2/24
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
…

To reinforce this concept, the bandwidth value on the FastEthernet interface is adjusted to 1544Kbps using thebandwidth interface configuration command as follows:

R2(config)#interface fastethernet 0/0
R2(config-if)#bandwidth 1544
R2(config-if)#exit

While the bandwidth value now displayed in the output of the show interfaces command reflects the implemented configuration, the default interface delay value remains the same:

R2#show interfaces fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 0013.1986.0a20 (bia 0013.1986.0a20)
Internet address is 192.168.1.2/24
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
…

The cumulative delay used by EIGRP is the sum of all interface delays between the source and destination network. Changing any of the delay values in the path influences EIGRP metric calculation. The interface delay value is adjusted using the delay interface configuration command. This value is then divided by 10 when used in EIGRP metric calculation. Figure 2-8 illustrates a network comprised of two routers connected via two Serial (T1) links which have a bandwidth value of 1544Kbps and a default delay of 20000 microseconds. In addition, the 172.16.100.0/24 network is directly connected to a FastEthernet interface which has a default bandwidth of 100000Kbps and a default delay value of 100 microseconds:

 

Fig. 2-8. EIGRP Metric Delay Manipulation

The EIGRP metric from R2 to the 172.16.100.0/24 network is calculated as follows:

Metric = [(107 / least bandwidth on path) + (sum of all delays)] × 256
Metric = [(10000000 / 1544) + (2000+10)] × 256

NOTE: Remember to divide the interface delay values by 10 for EIGRP metric calculation

Metric = [(10000000 / 1544) + (2000+10)] × 256

NOTE: The calculated value should always be rounded down to the nearest integer

Metric = [6476 + 2010] × 256
Metric = 8486 × 256
Metric = 2172416

This calculation can be verified in the output of the show ip route command as follows:

R2#show ip route 172.16.100.0 255.255.255.0
Routing entry for 172.16.100.0/24
Known via “eigrp 150”, distance 90, metric 2172416, type internal
Redistributing via eigrp 150
Last update from 150.2.2.1 on Serial0/1, 00:03:28 ago
Routing Descriptor Blocks:
150.2.2.1, from 150.2.2.1, 00:03:28 ago, via Serial0/1
Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
* 150.1.1.1, from 150.1.1.1, 00:03:28 ago, via Serial0/0
Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

As with the bandwidth command, you can either increment or decrement the interface delay value using thedelay command to influence EIGRP metric calculation. For example, to configure R2 to use the Serial0/0 link to get to the 172.16.100.0/24, with Serial0/1 being used as a backup link only, the delay value on Serial0/0 could be decremented as follows:

R2(config)#int s 0/0
R2(config-if)#delay 100
R2(config-if)#exit

This configuration adjusts the EIGRP metric for the path via Serial0/0 as illustrated below:

R2#show ip route 172.16.100.0 255.255.255.0
Routing entry for 172.16.100.0/24
Known via “eigrp 150”, distance 90, metric 1686016, type internal
Redistributing via eigrp 150
Last update from 150.1.1.1 on Serial0/0, 00:01:09 ago
Routing Descriptor Blocks:
* 150.1.1.1, from 150.1.1.1, 00:01:09 ago, via Serial0/0
Route metric is 1686016, traffic share count is 1
Total delay is 1100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

The path via Seria0/1 is retained in the Topology Table as an alternate path to the network.

Adjusting the Calculated EIGRP Metric Using Offset Lists

Cisco IOS software allows network administrators to use a feature called an offset list to adjust the calculated EIGRP metric. Unlike the bandwidth and delay, the offset list does not directly influence the calculation of the EIGRP metric. Instead, it is used to adjust the computed metric by the value specified in the offset list configuration.

An EIGRP offset list is configured via the offset-list [0-99 | 1300-1399] [in|out] [offset] [interface name|CR]router configuration command. If an offset list is configured using 0, e.g. offset-list 0 in the offset list configuration will be applied to all networks. However, if any other value is specified in the offset list configuration, the configuration is applied to the prefixes that match the ACL number.  The offset is a numerical value between 0-2147483647; however, this may be different depending on the Cisco IOS software version. You can use the question mark to validate the range supported in your image.

Figure 2-9 illustrates a network comprised of two routers connected via two Serial links. The 172.16.100.0/24 and 172.16.200.0/24 networks are directly connected to R1:

Fig. 2-9. Using EIGRP Offset Lists

For EIGRP routes placed into the routing table, offset lists adjust the EIGRP route metric in the output of the show ip route command by the value specified in the offset list. The EIGRP metric for both of the routes before the implementation of an offset list is illustrated in the out of the show ip route command as follows:

R2#show ip route eigrp
172.16.0.0/24 is subnetted, 2 subnets
D       172.16.200.0 [90/2172416] via 150.1.1.1, 00:00:06, Serial0/0
D       172.16.100.0 [90/2172416] via 150.1.1.1, 00:00:06, Serial0/0

In the EIGRP Topology Table, the offset list adjusts the Feasible Distance which is the minimum metric the destination, and is the same as the route metric in the routing table, as well as the Reported Distance, which is the metric towards a destination network as advertised by an upstream neighbor. These values are printed in the output of the show ip eigrp topology [prefix] [mask] command. Both terms are described in detail in the following section on the Diffusing Update Algorithm. These values are illustrated for the 172.16.100.0/24 prefix:

R2#show ip eigrp topology 172.16.100.0 255.255.255.0
IP-EIGRP (AS 150): Topology entry for 172.16.100.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2172416
Routing Descriptor Blocks:
150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0
Composite metric is (2172416/28160), Route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1

NOTE: Because the values will be the same for 172.16.200.0, the output is omitted for brevity.

To increment the route metric in the inbound direction for both prefixes by 1000, for example, we can use theoffset-list 0 in 1000 or the offset-list 0 in 1000 serial0/0 router configuration commands. Either one is acceptable.

NOTE: In situations where the router has multiple EIGRP neighbor relationships via multiple interfaces, and is receiving routing information from these different neighbors, it is always best practice to add the interface to the end of this command. This restricts the offset list configuration to routes received or sent via that interface and only to the neighbors known off those interfaces. In the event that the interface is not specified, the offset list configuration applies to all prefixes received and sent on all interfaces.

Following best practices, the offset list is configured as follows on R1:

R2(config)#router eigrp 150
R2(config-router)#offset-list 0 in 1000 serial 0/0
R2(config-router)#exit

Based on this configuration, the route metric for both received prefixes on R2 is incremented by 1000 from 2172416 to 2173416 as illustrated in the following output:

R2#show ip route eigrp
172.16.0.0/24 is subnetted, 2 subnets
D       172.16.200.0 [90/2173416] via 150.1.1.1, 00:00:27, Serial0/0
D       172.16.100.0 [90/2173416] via 150.1.1.1, 00:00:27, Serial0/0

In the EIGRP Topology Table, the Feasible Distance and Reported Distance (FD/RD) values are also incremented by 1000 from 2172416/28160 to 2173416/29160 as shown below:

R2#show ip eigrp topology 172.16.200.0 255.255.255.0
IP-EIGRP (AS 150): Topology entry for 172.16.200.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2173416
Routing Descriptor Blocks:
150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0
Composite metric is (2173416/29160), Route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20139 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1

NOTE: The same is also metric manipulation is also applicable to the 172.16.100.0/24 subnet

For more granular control, an ACL can be used in conjunction with the offset list. Referencing the network in Figure 2-9, the routing table on R2 shows the following:

R2#show ip route eigrp
172.16.0.0/24 is subnetted, 2 subnets
D       172.16.200.0 [90/2172416] via 150.1.1.1, 00:00:12, Serial0/0
D       172.16.100.0 [90/2172416] via 150.1.1.1, 00:00:12, Serial0/0

The Feasible Distance and Reported Distance values for both prefixes are the same in the EIGRP Topology Table. For brevity, the values for the 172.16.100.0/24 prefix only are illustrated:

R2#show ip eigrp topology 172.16.100.0 255.255.255.0
IP-EIGRP (AS 150): Topology entry for 172.16.100.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2172416
Routing Descriptor Blocks:
150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0
Composite metric is (2172416/28160), Route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1

To demonstrate the use of offset lists in the outbound direction, as well as in conjunction with ACLs, an offset list will be configured on R1 to increment the route metric for outbound updates for the 172.16.100.0/24 prefix only by 5000. This is implemented on R1 as shown below:

R1(config)#access-list 1 remark ‘Offset Metric For 172.16.100.0/24 Only’
R1(config)#access-list 1 permit host 172.16.100.0
R1(config)#router eigrp 150
R1(config-router)#offset-list 1 out 5000 serial 0/0
R1(config-router)#exit

Based on this configuration, the routing table entries for the two prefixes on R2 show as follows:

R2#show ip route eigrp
172.16.0.0/24 is subnetted, 2 subnets
D       172.16.200.0 [90/2172416] via 150.1.1.1, 00:00:22, Serial0/0
D       172.16.100.0 [90/2177416] via 150.1.1.1, 00:00:22, Serial0/0

Notice that the metric for the 172.16.100.0/24 prefix is higher than that of the 172.16.200.0/24 prefix by 5000. This change is also reflected in the Topology table for the prefix:

R2#show ip eigrp topology 172.16.100.0 255.255.255.0
IP-EIGRP (AS 150): Topology entry for 172.16.100.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2177416
Routing Descriptor Blocks:
150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0
Composite metric is (2177416/33160), Route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 20295 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1

NOTE: When applying or removing offset lists, EIGRP will reset the neighbor relationships off the specified interface (if specified) or for all neighbors (if no interface is specified). This is illustrated in the following output in which an offset list is applied to a router with three EIGRP neighbors off three different interfaces:

R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 150
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
(sec)         (ms)       Cnt Num
2   150.2.2.1               Se0/1             14 00:02:23   74   444  0  58
1   192.168.1.3             Fa0/0             10 00:05:54    1   200  0  13
0   150.1.1.1               Se0/0             11 00:22:32   31   200  0  59
R2#
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router eigrp 150
R2(config-router)#offset-list 0 in 55555
R2(config-router)#exit 
R2(config)#
*Mar  1 09:06:33.520: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 150: Neighbor 150.1.1.1 (Serial0/0) is resync: route configuration changed
*Mar  1 09:06:33.520: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 150: Neighbor 150.2.2.1 (Serial0/1) is resync: route configuration changed

The Diffusing Update Algorithm (DUAL)

The Diffusing Update Algorithm is at the crux of the EIGRP routing protocol. DUAL looks at all routes received from neighbor routers, compares them, and then selects the lowest metric (best), loop-free path to the destination network. The best route, which is the route with the lowest metric or Feasible Distance (FD), is then referred to as the Successor route. The Feasible Distance includes both the metric of a network as advertised by the connected neighbor plus the cost of reaching that particular neighbor.

The metric that is advertised by the neighbor router is referred to as the Reported Distance (RD) or as the Advertised Distance (AD). This is that neighbors metric to the destination network. Therefore, the Feasible Distance refers includes the Reported Distance plus the cost of reaching that particular neighbor. The next hop router for the Successor route is referred to as the Successor. The Successor route is placed into the IP routing table and the EIGRP Topology Table. This route points to the Successor, which is the next hop router for the Successor route.

Any other routes to the same destination network that have a lower Reported Distance than the Feasible Distance of the Successor path are guaranteed to be loop-free and are referred to as feasible successor routes. These routes are not placed into the IP routing table; however, they are still placed into the EIGRP Topology Table, along with the Successor routes.

In order for a route to become a Feasible Successor route, it must meet the Feasibility Condition. The Feasibility Condition (FC) occurs only when the Reported Distance to the destination network is less than the Feasible Distance. In the event that the Reported Distance is more than the Feasible Distance, the route is not selected as Feasible Successor. This is used by EIGRP to prevent the possibility of loops. The network topology illustrated in Figure 2-10 will be used to clarify the terminology referred to in this section.

 

Fig. 2-10. Understanding the Diffusing Update Algorithm

Referencing Figure 2-10, Table 2-4 shows the Feasible Distance and Reported Distance values as seen on R1 for the 192.168.100.0/24 network.

Network Path

R1 Neighbor

Neighbor Metric (RD)

R1 Feasible Distance

R1 – R2 – R5

R2

30

35

R1 – R3 – R5

R3

10

30

R1 – R4 – R5

R4

15

25

Tab. 2-4. R1 Paths and Distances

Based on the information in Table 2-4 above, R1 will select the path through R4 as the Successor route based on the Feasible Distance for the route which is 25. This route will be placed into the IP routing table as well as the EIGRP Topology Table. R1 then looks at alternate paths to the 192.168.100.0/24 network. The metric for neighbor R3 to the 192.168.100.0/24 network, also referred to as the Reported Distance or Advertised Distance, is 10. This is less than the Feasible Distance and so this route meets the Feasibility Condition and is placed into the EIGRP Topology table. The metric for neighbor R2 to the 192.168.100.0/24 network is 30. This value is higher than the Feasible Distance of 25. This route does not meet the Feasibility Condition and is not considered a Feasible Successor. The route, however, is still placed into the EIGRP Topology Table. This is illustrated in the section that follows on the EIGRP Topology Table.

When a neighbor changes a metric, or when a topology change occurs, and the Successor route is removed or changes, DUAL checks for Feasible Successors for the route and if one is found, DUAL uses it to avoid re-computing the route unnecessarily. This is referred to as local computation. Performing a local computation saves CPU power because the Feasible Successor has been chosen and already exists before the successor or primary route fails.

When no Feasible Successor for the destination network exists, the local router will send a Query to neighboring routers asking if they have information to the destination network. If the information is available and another neighbor does have a route to the destination network, the router performs a diffusing computation to determine a new Successor.

The EIGRP Topology Table

The EIGRP Topology Table is populated by EIGRP PDMs acted upon by the DUAL Finite State Machine. All known destination networks and subnets that are advertised by neighboring EIGRP routers are stored in the EIGRP Topology Table. This includes Successor routes, Feasible Successor routes and even routes that have not met the Feasibility Condition.

The Topology Table allows all EIGRP routers to have a consistent view of the entire network. It also allows for rapid convergence in EIGRP networks. Each individual entry in the Topology Table contains the destination network and the neighbor (or neighbors) that have advertised the destination network. Both the Feasible Distance and Reported Distance are stored in the Topology Table. The EIGRP Topology Table contains the information needed to build a set of distances and vectors to each reachable network, including:

  • The lowest bandwidth on the path to the destination network
  • The total or cumulative delay to the destination network
  • The reliability of the path to the destination network
  • The loading of the path to the destination network
  • The minimum Maximum Transmission Unit (MTU) to the destination network
  • The Feasible Distance to the destination network
  • The Reported Distance by the neighbor router to the destination network
  • The route source (only external routes) of the destination network

NOTE: While the MTU is included in the Topology Table, EIGRP does not use this value in actual metric computation. Instead, the MTU is simply tracked to determine the minimum value to the destination network. The interface MTU specifies the largest size of datagram that can be transferred across a certain link without the need for fragmentation or breaking the datagram or packet into smaller pieces.
The contents of the EIGRP Topology Table are viewed using the show ip eigrp topology command. The options that are available with this command are printed below:

R2#show ip eigrp topology ?
<1-65535>        AS Number
A.B.C.D          IP prefix <network>/<length>, e.g., 192.168.0.0/16
A.B.C.D          Network to display information about
active           Show only active entries
all-links        Show all links in topology table
detail-links     Show all links in topology table
pending          Show only entries pending transmission
summary          Show a summary of the topology table
zero-successors  Show only zero successor entries
|                Output modifiers
<cr>

The show ip eigrp topology command with no options prints only the Successor and Feasible Successor information for routes in the Topology Table and for all of the EIGRP instances enabled on the router. This output printed by this command is illustrated below:

R2#show ip eigrp topology
IP-EIGRP Topology Table for AS(150)/ID(2.2.2.2)
Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 150.2.2.0/24, 1 successors, FD is 20512000
via Connected, Serial0/1
via 150.1.1.1 (2195456/2169856), Serial0/0
P 150.1.1.0/24, 1 successors, FD is 1683456
via Connected, Serial0/0
P 172.16.100.0/24, 1 successors, FD is 1686016
via 150.1.1.1 (1686016/28160), Serial0/0

The show ip eigrp topology [network]/[prefix] and show ip eigrp topology [network] [mask] commands print Successor, Feasible Successor and routes that have not met the feasibility condition for the route specified in either command. The following illustrates the use of the show ip eigrp topology [network]/[prefix]command:

R2#show ip eigrp topology 172.16.100.0/24
IP-EIGRP (AS 150): Topology entry for 172.16.100.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 1686016
Routing Descriptor Blocks:
150.1.1.1 (Serial0/0), from 150.1.1.1, Send flag is 0x0
Composite metric is (1686016/28160), Route is Internal
Vector metric:
Minimum bandwidth is 1544 Kbit
Total delay is 1100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
150.2.2.1 (Serial0/1), from 150.2.2.1, Send flag is 0x0
Composite metric is (2167998207/2147511807), Route is Internal
Vector metric:
Minimum bandwidth is 128 Kbit
Total delay is 83906179 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1

In the output above, we can determine that the path via Serial0/1 does not meet the Feasibility Condition because the Reported Distance exceeds the Feasible Distance. This is why the path is not printed in the output of the show ip eigrp topology command. Instead of viewing each prefix on an individual basis to determine Successor, Feasible Successor and routes that did not meet the Feasibility Condition, you can use the show ip eigrp topology command to view all possible routes for all of the prefixes in the EIGRP Topology table. The output of this command is illustrated below:

R2#show ip eigrp topology all-links
IP-EIGRP Topology Table for AS(150)/ID(2.2.2.2)
Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia StatusP 150.2.2.0/24, 1 successors, FD is 20512000, serno 42
via Connected, Serial0/1
        via 150.1.1.1 (2195456/2169856), Serial0/0
P 150.1.1.0/24, 1 successors, FD is 1683456, serno 32
via Connected, Serial0/0
        via 150.2.2.1 (21024000/2169856), Serial0/1
P 172.16.100.0/24, 1 successors, FD is 1686016, serno 47
via 150.1.1.1 (1686016/28160), Serial0/0
        via 150.2.2.1 (2167998207/2147511807), Serial0/1

Within the EIGRP Topology Table, entries may either be marked as Passive (P) or as Active (A). When a route is in the Passive state, it means that EIGRP has completed actively computing the metric for the route and traffic can be forwarded to the destination network using the Successor. This is the preferred state for all routes in the Topology Table.

EIGRP routes are in an Active state when the Successor has been lost and the router sends out a Query packet to determine a Feasible Successor. Usually, a Feasible Successor is present and EIGRP promotes that to the Successor. This way, the router converges without involving other routers in the network. This process is referred to as a local computation.

However, if the Successor has been lost or removed, and there is no Feasible Successor, the router will begin diffused computation. In diffused computation, EIGRP will send a Query out to all neighbors and out of all interfaces, except for the interface to the successor.  When an EIGRP neighbor receives a Query for a route and if that neighbors EIGRP Topology Table does not contain an entry for the route, then the neighbor immediately replies to the Query with an unreachable message, stating that there is no path for this route through this neighbor.
If the EIGRP Topology Table on the neighbor lists the router sending the Query as the Successor for that route, and a Feasible Successor exists, then the Feasible Successor is installed and the router replies to the neighbor Query advising that it has a route to the lost destination network.

However, if the EIGRP Topology Table lists the router sending the Query as the Successor for this route and there is no Feasible Successor, then the router queries all of its EIGRP neighbors except those sent out the same interface as its former Successor. The router will not reply to the Query until it has received a Reply to all Queries that it originated for this route.

Finally, if the Query was received from a neighbor that is not the Successor for this destination, then the router replies with its own Successor information. If the neighboring routers do not have the lost route information, Queries are sent from those neighboring routers to their neighboring routers until the Query boundary is reached. The Query boundary is either the end of the network, the distribute list boundary, or the summarization boundary.

Once the Query has been sent, the EIGRP router must wait for all replies to be received before it calculates the Successor. If any neighbor has not replied within three minutes, the route is said to be Stuck-in-Active (SIA). When a route is SIA, the neighbor relationship of the router(s) that did not respond to the Query will be reset. In such cases, you will see a message similar to the following logged by the router:

%DUAL-5-NBRCHANGE: IP-EIGRP 150:
Neighbor 150.1.1.1(Serial0/0) is down: stuck in active
%DUAL-3-SIA:
Route 172.16.100.0/24 stuck-in-active state in IP-EIGRP 150.
Cleaning up

There are several reasons why the EIGRP neighbor router(s) may not respond to the Query. Some of these reasons include the following:

  • The neighbor router is CPU is overloaded and it cannot respond in time
  • The neighbor router itself has no information about the lost route
  • Quality issues on the circuit are causing packets to be lost
  • Low bandwidth links are congested and packets are being delayed

To prevent SIA issues due to delayed responses from other EIGRP neighbors, the local router can be configured to wait for longer than the default of 3 minutes to receive responses back to its Query packets using the timers active-time command in router configuration mode.

NOTE: It is important to note that if you change this default parameter on one EIGRP router in your network, you must change it on all the other routers within your EIGRP routing domain.

Troubleshooting SIA, and other EIGRP issues, is incorporated in the TSHOOT exam. You can refer to the TSHOOT study guide available online for more information on SIA routes.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.