BSCI: EIGRP Configuration
Posted by Aragoen Celtdra on 18th July 2008
Basic Configuration
| Router(config)#router eigrp autonomous-system-number | Enables EIGRP and identifies the Autonomous System number (AS) |
| Router(config-router)#network network-number [wildcard-mask] | Identifies which network is advertised. |
- The AS number on the router eigrp command must match against other routers.
- The network-number on the network command indicates which networks will be part of the same EIGRP autonomous system.
- This can either be a network number, a subnet, or a specific address of an interface
- Determines which links on the router to advertise to and which links to listen advertisements on.
- The wildcard-mask is optional. The wildcard bits 0 means to match the bits, 1 means don’t care.
- If wildcard mask is not used, EIGRP will include the whole classful network of the configured network-number.
- To illustrate the point:
| routerA(config)#router eigrp 109 routerA(config-router)#network 10.1.0.0 routerA(config-router)#network 10.4.0.0 routerA(config-router)#network 172.16.7.0 routerA(config-router)#network 172.16.2.0 |
= |
router eigrp 109 network 10.0.0.0 network 172.16.0.0 |
- In the above table, because no wildcard mask was used in the original configuration, RouterA changes the network command to show classful networks.
- Following is an example using a wildcard mask:
routerA(config)#router eigrp 109
routerA(config-router)#network 10.1.0.0 0.0.255.255
routerA(config-router)#network 10.4.0.0 0.0.255.255
routerA(config-router)#network 172.16.2.0 0.0.0.255
routerA(config-router)#network 172.16.7.0 0.0.0.255
- The example above matches all four interfaces.
The ip-default network Command
ip default-network network-number
- The network-number is considered the last-resort gateway that will be announced to other routers.
- Before the router (on which this command is configured) announces the candidate default route, that network must be reachable by this router.
- The network number specified in the command must also be passed to other EIGRP routers so that those routers can use this network as their default network and set as their gateway of last resort to this network.
- meaning the network must be EIGRP-derived network in the routing table, or
- must be generated with a static route and then redistributed into EIGRP.
- Multiple default networks can be configured.
- downstream routers then use the EIGRP metric to determine the best default route.
Route Summarization
- EIGRP has autosummarization on by default and therefore summarizes on the major network boundary by default. This can be disabled. EIGRP summary routes allows you to summarize on any bit boundaries within the network as long as a more specific route exists in the routing table.
- Note: Classful routing protocols (RIPv1 and IGRP) automatically summarize routes on the classful network boundary and do not support summarization on any other bit boundaries. Classless routing protocols support summarization on any bit boundary.
- Distance vector protocols’ drawback has always been the inability to create summary routes at arbitrary boundaries of the network. EIGRP, although based on a distance vector protocol IGRP, added the functionality to do so.
- When configuring summarization on a router’s interface, a summary route is added to the routing table and next hop interface is set to null0 (a directly connected, logical interface)
- This is to prevent loops by preventing the router from forwarding a packet destined to an unknown subnet from being forwarded to other routers. If the destination subnet is unknown but the packet matches the summary route, the packet is forwarded to null0 and subsequently gets dropped (it goes to the bit bucket).
- An effective summarization design is to have contiguous subnets configured on all interfaces of a router.
- The number of subnets that can be represented by a summary route is directly related to the difference in the number of bits between the subnet mask and the summary mask.
- The formula to calculate the number of subnets that can be represented by a single summary route is [2n] where n is the difference in the number of bits between the summary and the subnet mask.
- for example, if the summary mask contains 3 fewer bits than the subnet mask, eight subnets (23 = 8 ) can be summarized into one advertisement.
- When configuring summary routes, the IP address of the summary route and the summary mask must be specified.
Configure Manual Route Summarization
- As mentioned above, although EIGRP autosummarizes by default, there are cases you may want to turn it off.
- One such case is if you have a discontiguous network.
- After you turn off the autosummarization, you can then configure a manual summarization and create a summary route on any bit boundary.
| Router(config-router)#no auto-summary | Turns off auto summarization |
| Router(config-if)#ip summary-address eigrp as-number address mask [admin-distance] | Enables manual summarization for a particular EIGRP AS |
- The parameters for the manual summarization configuration are:
- as-number – the EIGRP autonomous system number
- address – the summary address. It does not have to be aligned on Class A, B, or C boundaries
- mask – the subnet mask for the summary address
- admin-distance – an optional parameter to configure the Administrative distance (0 to 255).
Consider the following example:
- The figure above shows a discontiguous network (172.16.0.0 -> 10.0.00 -> 192.168.4.0.
- Under the default settings, Router1 and Router2 summarizes routes to the classful address 172.16.0.0. As a result, Router3 has 2 equal routes to network 172.16.0.0. If there are packets intended to any specific router, there is a good possibility that the packets will get lost because Router3 sees the routes to either networks as equal and would load balance between the two.
- In order to prevent this, automatic route summarization should be turned off on both Router1 and Router2 as shown below:
Router1(config)#router eigrp 100
Router1(config-router)#network 10.0.0.0
Router1(config-router)#network 172.16.0.0
Router1(config-router)#no auto-summary
Router2(config)#router eigrp 100
Router2(config-router)#network 10.0.0.0
Router2(config-router)#network 172.16.0.0
Router2(config-router)#no auto-summary
- As a result of the above configurations, the networks will not be autosummarized at the major network boundary and all the subnet routes will be carried into Router3′s routing table.
- An EIGRP router autosummarizes routes only for networks to which it is attached to. Because Router3 does not own the 172.16.0.0 network, it will not autosummarize 172.16.1.0 and 172.16.2.0 it learned from Routers 1 and 2. Router 3 will therefore send routing information about 172.16.1.0 and 172.16.2.0 to the world.
- However, a manual summary route can be configured out of Router3′s s0 interface in order to reduce route advertisements about network 172.16.0.0 to the world:
Router3(config)#router eigrp 100
Router3(config-router)#network 10.0.0.0
Router3(config-router)#network 192.168.4.0Router3(config)#interface s0
Router3(config-if)#ip address 192.168.4.2 255.255.255.0
Router3(config-if)#ip summary-address eigrp 100 172.16.0.0 255.255.0.0
- For manual summarization, the summary is advertised only if a component (a more specific entity that is represent in the summary) of the summary route is present in the routing table.
- Summary routes have an administrative distance of 5. The administrative distance will only show on the local router performing the summarization by using the show ip route network command, where network is the specified summary route.
- Standard EIGRP routes have administrative distance o 90.
- External EIGRP routes have administrative distance of 170.
Resources
- Configuring EIGRP – Cisco IOS IP Routing Protocols Configuration Guide, Release 12.4
- Configuring a Gateway of Last Resort Using IP Commands
- EIGRP – Summarization
This entry is not an authoritative guide. These are merely notes and rehash of the primary text materials and resources that I use. For a thorough guide of the BSCI course, consider purchasing Building Scalable Cisco Internetworks (BSCI) (Authorized Self-Study Guide) (3rd Edition) by Diane Teare and Catherine Paquet, as well as following the links on the resources section of this entry.
Posted in BSCI Exam Prep, CCNP, EIGRP | 2 Comments » |





