From point A to point B
Point A: you configure EIGRP in classic mode, for IPv4, with commands spread between the process and each physical interface, and your only authentication is MD5. Point B: by the end of this chapter you'll bring up EIGRP for IPv6, migrate to named mode without dropping neighbors and authenticate your adjacencies with HMAC-SHA-256, all under one well-organized process.
- EIGRP for IPv6: no network command, link-local addresses and its own process
- eigrp upgrade-cli: the live migration to the THOR process
- address-family, af-interface and topology base: where each command goes
- BFD and HMAC-SHA-256 in named mode, and the close of the class
A question from the chat: VRF
After wrapping up the default route exercises from chapter 9 with a successful ping to 100.100.100.1, a question comes in from the chat about VRF (virtual routing and forwarding) on provider routers. Jesús explains that the concept shows up when EIGRP runs as the PE-CE protocol in MPLS, a topic outside the scope of this marathon. He commits to a separate tutorial.
EIGRP for IPv6 in classic mode
This isn't an IPv6 class: Jesús assumes you already know the link-local address, the global unicast address your provider assigns, the 128 bits in hexadecimal and EUI-64. With that in place, EIGRP for IPv6 takes just a few steps.
- Enable IPv6 routing with
ipv6 unicast-routing. - Assign an IPv6 address on the interface. When you configure
ipv6 address, IOS also creates the link-local address, soipv6 enableisn't needed. - Enable EIGRP on the interface with
ipv6 eigrpand the AS number. There are nonetworkcommands. - Create the
ipv6 router eigrpprocess, separate from the IPv4 one, with itseigrp router-idin IPv4 format.
EIGRP for IPv6 between RT02 and RT03: the adjacency forms between link-local addresses. Diagram: The House of Routing.
Murphy's law, live
The first attempt, between RT01 and RT02 with AS 10, doesn't come up. There's IPv6 ping between the interfaces, but no EIGRP neighbor. Jesús checks show ipv6 eigrp neighbors, show ipv6 interface brief and show run, reconfigures the process and still gets no adjacency. He switches links: RT02–RT03 on Gi0/3, with AS 100. This time he runs no shutdown inside the process.
RT02(config)# ipv6 unicast-routing
RT02(config)# ipv6 router eigrp 100
RT02(config-rtr)# eigrp router-id 20.20.20.20
RT02(config-rtr)# no shutdown
RT02(config-rtr)# interface GigabitEthernet0/3
RT02(config-if)# ipv6 address 192:168:10::2/64
RT02(config-if)# ipv6 eigrp 100
! ipv6 address also creates the link-local address
RT03(config)# ipv6 unicast-routing
RT03(config)# ipv6 router eigrp 100
RT03(config-rtr)# eigrp router-id 30.30.30.30
RT03(config-rtr)# no shutdown
RT03(config-rtr)# interface GigabitEthernet0/3
RT03(config-if)# ipv6 address 192:168:10::3/64
RT03(config-if)# ipv6 eigrp 100
That detail matters. Cisco spells it out in its EIGRP for IPv6 example: the process has to be in no shutdown for the protocol to run, and it needs a router ID. If you ever have IPv6 ping but no neighbors, check those two things first.
With ? inside the process, Jesús shows how little you need: no network, distance, distribute-list or neighbor. Everything else happens on the interface.
Verification: the certification question
RT03# show ipv6 eigrp neighbors
! the neighbor address is a link-local FE80:: address
RT03(config)# interface loopback 25
RT03(config-if)# ipv6 address 25:25:25:25::1/64
RT03(config-if)# ipv6 eigrp 100
RT03# show ipv6 eigrp topology
Once it's up, the commands are the same as in IPv4 with "ipv6" in front. show ipv6 eigrp neighbors brings up the classic exam question: the neighbor is identified by its link-local address, not by the global unicast one. The hold time is the same as in IPv4. To advertise a network, just add ipv6 eigrp 100 on a loopback and it shows up in show ipv6 eigrp topology.
From classic to named: upgrade-cli
All three routers run EIGRP dual stack in classic mode. That's how you'll find many production networks. So you don't have to rebuild them from scratch, Cisco offers eigrp upgrade-cli: inside router eigrp 10, you give it a name and it converts the configuration to named mode.
RT03(config)# router eigrp 10
RT03(config-router)# eigrp upgrade-cli THOR
! confirm: router eigrp 10 is converted to router eigrp THOR
RT03(config-router)# do show run | section router eigrp
router eigrp THOR
!
address-family ipv4 unicast autonomous-system 10
!
af-interface GigabitEthernet0/1
passive-interface
exit-af-interface
!
topology base
exit-af-topology
network ...
exit-address-family
! the classic ipv6 router eigrp 100 needs its own eigrp upgrade-cli
Jesús names it THOR, for The House of Routing. The router asks for confirmation, turns router eigrp 10 into router eigrp THOR and keeps everything that was there, including the passive-interface toward the provider, which now lives under af-interface GigabitEthernet0/1.
According to Cisco's command reference, the conversion happens without neighbor flaps or a process restart. Three more details from the documentation:
- The command appears in IOS 15.4(1)S and IOS XE 3.11S; earlier releases don't have it.
- You run it once per classic process. When Jesús migrates the IPv6 process and gives it the same name, IOS creates a separate named process for IPv6, just like in Cisco's example.
- The change lands in the running-config. Save it with
writeif you want to keep it; the conversion can't be undone except by reloading without saving.
RT03 is now in named mode and RT01 is still classic. show ip route and a ping to 1.1.1.1 prove it: both modes are fully compatible in the same AS.
The named mode hierarchy
In the monolithic IOS of version 12, IPv4 and IPv6 lived in separate processes: router eigrp and ipv6 router eigrp. Named mode puts everything under one name, with address families, like MP-BGP. Jesús compares it to a Linux directory tree: you step into the family you want to configure.
The three levels of named mode and which command goes in each one. Diagram: The House of Routing.
- Named process:
router eigrp THOR. The name is local. - address-family:
address-family ipv4 unicast autonomous-system 10. This is wherenetworkandeigrp router-idgo. - af-interface: what you used to configure on the physical interface in classic mode.
passive-interface,hello-interval,hold-time,summary-address,bfdand authentication. Withaf-interface defaultyou apply a value to every interface. - topology base: anything that affects the topology table, such as
varianceandredistribute.
Jesús points out the indentation in show run: the extra space tells you which level each command belongs to.
Named mode from scratch
What if your IOS doesn't have upgrade-cli? Jesús simulates it on RT02: he deletes router eigrp 10 and types the named configuration by hand. The name, NUEVO, doesn't have to match RT03's. The AS does: if it isn't 10 on both sides, there's no adjacency.
RT02(config)# no router eigrp 10
RT02(config)# router eigrp NUEVO
RT02(config-router)# address-family ipv4 unicast autonomous-system 10
RT02(config-router-af)# eigrp router-id 20.20.20.20
RT02(config-router-af)# network 0.0.0.0
! the name is local; the AS (10) must match the neighbors
RT02(config-router-af)# af-interface GigabitEthernet0/0
RT02(config-router-af-interface)# passive-interface
! the adjacency with RT03 drops
RT02(config-router-af-interface)# no passive-interface
RT02(config-router-af-interface)# hello-interval 30
RT02(config-router-af-interface)# hold-time 90
RT02(config-router-af-interface)# summary-address 2.0.0.0 255.0.0.0
RT03# show ip route
! D 2.0.0.0/8 via Gi0/0 (summary) · D 2.2.2.0/24 via the other link
When you enter the address family, IOS asks: IPv4 or IPv6? Unicast, multicast or VRF? In 98% of cases, Jesús says, you'll work with unicast. With network and the router ID in place, the adjacency with the named router comes up right away.
Then he tries out the af-interface. passive-interface drops the adjacency with RT03 and no passive-interface brings it back. He changes the Hello to 30 seconds and the hold time to 90. And he summarizes 2.0.0.0/8 toward RT03. On RT03, the summarized /8 shows up over that link and the more specific /24 over the other one, with no traffic issues.
Classic and named mode coexist in AS 10: the process name is local, the AS must match. Diagram: The House of Routing.
BFD and HMAC-SHA-256
BFD works just like in chapter 9: the timers stay on the physical interface. What changes is where you turn it on: inside the af-interface, with a plain bfd. Jesús also shows a shortcut into the address family: address-family ipv4 as 10.
RT02(config)# interface GigabitEthernet0/0
RT02(config-if)# bfd interval 100 min_rx 100 multiplier 4
RT02(config-if)# router eigrp NUEVO
RT02(config-router)# address-family ipv4 as 10
! short form of: address-family ipv4 unicast autonomous-system 10
RT02(config-router-af)# af-interface GigabitEthernet0/0
RT02(config-router-af-interface)# bfd
RT03(config)# interface GigabitEthernet0/0
RT03(config-if)# bfd interval 100 min_rx 100 multiplier 4
RT03(config-if)# router eigrp THOR
RT03(config-router)# address-family ipv4 autonomous-system 10
RT03(config-router-af)# af-interface GigabitEthernet0/0
RT03(config-router-af-interface)# bfd
RT03# show bfd neighbors
show bfd neighbors confirms the session is up. In IPv6 the configuration is identical. In fact, Cisco documents BFD for EIGRP IPv6 only in named mode.
HMAC-SHA-256 authentication
The authentication slide sums it up: MD5 works in both classic and named mode; SHA-256 only works in named mode. Under the af-interface, authentication mode offers hmac-sha-256 and takes the password in the same command.
RT03(config)# router eigrp THOR
RT03(config-router)# address-family ipv4 autonomous-system 10
RT03(config-router-af)# af-interface GigabitEthernet0/0
RT03(config-router-af-interface)# authentication mode hmac-sha-256 <password>
! only RT03 authenticates: the adjacency with RT02 drops
RT02(config)# router eigrp NUEVO
RT02(config-router)# address-family ipv4 autonomous-system 10
RT02(config-router-af)# af-interface GigabitEthernet0/0
RT02(config-router-af-interface)# authentication mode hmac-sha-256 <password>
! same password on both ends: the adjacency comes back up
! MD5 with a key chain in named mode:
! authentication key-chain <key-chain-name>
! authentication mode md5
With only RT03 configured, the adjacency with RT02 drops: packets are no longer authenticated the same way. Once the command is repeated with the same password on RT02, the adjacency comes back. According to Cisco, the password can be 1 to 32 characters long and can't start with a number.
What about the key chain from chapter 5? In named mode you attach it with authentication key-chain under the af-interface and, according to Cisco's command reference, you pair it with authentication mode md5. Jesús compares this method with pre-shared key authentication in OSPF or BGP: simple and effective.
<password>. If you share a show run in a ticket, a forum or a prompt, remove the passwords first.Wrap-up and next step
That's the end of the masterclass: about 7 hours on Day 2, after 4 or 5 hours on Day 1. You've covered DUAL, the successor and the feasible successor, SIA live, authentication, summarization, the composite metric, BFD, default routes, IPv6 and named mode.
Your next step is in your lab. Build three routers in GNS3 or CML, configure them in classic mode and convert them with eigrp upgrade-cli. Add an IPv6 address family, turn on BFD and authenticate with HMAC-SHA-256. Then break something on purpose and explain what happened with show commands and debug. When you can do it without looking at this chapter, EIGRP is yours.
If this content helped you, share it. That's how you help it reach more than a million people.
Class videos
These are the four Day 2 videos this chapter is based on, the last ones of the masterclass. They were recorded live with Cisco routers in GNS3, debug and Wireshark. The audio is in Spanish, with subtitles in Spanish, English, French and Portuguese.
- Day 2 · Part 1EIGRP for IPv6 in classic modeWatch video
- Day 2 · Part 1EIGRPv6 and migrating to named mode with eigrp upgrade-cliWatch video
- Day 2 · Part 2Named mode: af-interface, topology base, summarization and BFDWatch video
- Day 2 · Part 2BFD and HMAC-SHA-256 authentication in named mode · ClosingWatch video
Recorded live; Spanish audio with Spanish, English, French and Portuguese subtitles. When you play it, the video loads from YouTube. Day 2 playlist on YouTube
Test what you learned
1. In EIGRP for IPv6, which address does the adjacency form with?
Answer. The link-local address. show ipv6 eigrp neighbors lists the neighbor by its FE80:: address, not by the global unicast one.
2. You have IPv6 ping between two routers, but ipv6 router eigrp forms no neighbors. What do you check first?
Answer. That the process is in no shutdown, that it has an eigrp router-id and that each interface has ipv6 eigrp with the same AS. Cisco requires the router ID and an active process for the protocol to run.
3. RT02 uses router eigrp NUEVO and RT03 uses router eigrp THOR. Can they be neighbors?
Answer. Yes, as long as the address family's autonomous-system matches, 10 in this case. The process name is local.
4. In named mode, where do you configure variance and where hello-interval?
Answer. variance goes under topology base; hello-interval goes under af-interface, inside the address family.
5. Can you use HMAC-SHA-256 authentication in classic EIGRP?
Answer. No. HMAC-SHA-256 is only available in named mode, with authentication mode hmac-sha-256 under the af-interface. In classic mode you have MD5.
Key takeaways
- EIGRP for IPv6 is enabled per interface with ipv6 eigrp, with no network commands, in its own process with an IPv4-format router ID.
- The IPv6 adjacency forms between link-local addresses, and the process must be in no shutdown.
- eigrp upgrade-cli converts a classic configuration to named mode without flaps; you run it per process and must save the running-config.
- Named mode: a process with a local name, an address family with the AS, af-interface for interface settings and topology base for variance and redistribute.
- Classic and named mode are compatible in the same AS.
- BFD is enabled with bfd under the af-interface; the timers stay on the physical interface.
- HMAC-SHA-256 only exists in named mode and must match on both ends.
Official resources
- Cisco · EIGRP IPv6 Configuration Examplecisco.com
- Cisco · Configure EIGRP Named Modecisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · A through H (eigrp upgrade-cli, af-interface, authentication mode, bfd)cisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · I through R (ipv6 router eigrp, ipv6 eigrp)cisco.com
- Cisco IOS IP Routing: EIGRP Command Reference · S through Z (summary-address, topology)cisco.com
- Cisco · BFD Support for EIGRP IPv6cisco.com
- RFC 7868 · Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)rfc-editor.org
Source and credits. Chapter written from the EIGRP Masterclass that Jesús Espinoza recorded live in 2022. Text drafted with AI assistance and reviewed; original diagrams by The House of Routing. Technical data and configuration were checked against official Cisco documentation and IETF RFC 7868.