Troubleshooting notes · EIGRP
EIGRP stub receive-only: nobody can reach the branch
After making a branch router an EIGRP stub, its own LAN and the site behind it disappeared from the network. What each stub keyword advertises, and how a leak map advertises one learned route without making the branch a transit router. Real output from Cisco IOS XE 17.18.
The symptom
To stop the branch router R3 being used as a transit path between two hubs, it was made an EIGRP stub. Since then nobody can reach the branch, or the small site R4 behind it. The hub sees R3 as a peer that advertises nothing:
R1# show ip eigrp neighbors detail 10.0.13.2
Receive-Only Peer Advertising (No) Routes
Suppressing queries
Why it happens
router eigrp 100
eigrp stub receive-only
receive-only means R3 learns routes but advertises none, not even its own LAN. The stub keywords decide which of R3's own routes it advertises:
| Keyword | Advertises |
|---|---|
| connected | Connected networks covered by EIGRP |
| summary | Summaries configured on the stub |
| static | Redistributed static routes |
| redistributed | Other redistributed routes |
| receive-only | Nothing |
| (none) | Same as connected summary |
connected brings the branch LAN back, but not R4's LAN. That one is an EIGRP route R3 learned, and a stub never advertises learned routes. That rule is exactly what makes it a non-transit router.
The fix
Advertise connected networks, plus just the one learned route, with a leak map:
R3(config)# router eigrp 100
R3(config-router)# eigrp stub connected leak-map LEAK-KIOSK
The leak map matches only R4's LAN:
ip prefix-list KIOSK-LAN seq 5 permit 10.4.4.0/24
route-map LEAK-KIOSK permit 10
match ip address prefix-list KIOSK-LAN
Changing the stub type resets the neighbourship, so expect a short flap.
Check it
R1# show ip eigrp neighbors detail 10.0.13.2
Stub Peer Advertising (CONNECTED LEAKMAP ) Routes
Suppressing queries
R1# show ip route eigrp | begin Gateway
D 10.0.23.0/30 [90/307200] via 10.0.13.2, 00:00:12, Ethernet0/1
[90/307200] via 10.0.12.2, 00:00:12, Ethernet0/0
D 10.0.34.0/30 [90/307200] via 10.0.13.2, 00:00:12, Ethernet0/1
D 10.2.2.0/24 [90/409600] via 10.0.12.2, 00:05:51, Ethernet0/0
D 10.3.3.0/24 [90/409600] via 10.0.13.2, 00:00:12, Ethernet0/1
D 10.4.4.0/24 [90/435200] via 10.0.13.2, 00:00:11, Ethernet0/1
The hub now has R3's LAN and the kiosk LAN (10.4.4.0/24). R3 still doesn't offer a transit path: with the link between the two hubs shut, R1 has no route to the other hub's LAN through R3. A leak map that matches too much (a permit with no match) would leak every learned route and turn R3 back into a transit router.
Practise this fault
This fault is in ENARSI Lab 12 of ENARSI Troubleshooting Labs: a ready-made GNS3 project where you find and fix it yourself, alongside the other faults in the ticket, with the tested solution.
Or start with 15 free labs (5 each from CCNA, ENARSI and ENCOR), by email:
We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.