7 EIGRP -- Routing Information Protocol is widely deployed interior gateway
8 routing protocol. EIGRP was developed in the 1990's. EIGRP is a
9 :term:`distance-vector` protocol and is based on the :term:`dual` algorithms.
10 As a distance-vector protocol, the EIGRP router send updates to its
11 neighbors as networks change, thus allowing the convergence to a
14 *eigrpd* supports EIGRP as described in RFC7868
16 .. _starting-and-stopping-eigrpd:
18 Starting and Stopping eigrpd
19 ============================
21 The default configuration file name of *eigrpd*'s is :file:`eigrpd.conf`. When
22 invocation *eigrpd* searches directory |INSTALL_PREFIX_ETC|. If
23 :file:`eigrpd.conf` is not there next search current directory. If an
24 integrated config is specified configuration is written into :file:`frr.conf`.
26 The EIGRP protocol requires interface information maintained by *zebra* daemon.
27 So running *zebra* is mandatory to run *eigrpd*. Thus minimum sequence for
36 Please note that *zebra* must be invoked before *eigrpd*.
38 To stop *eigrpd*, please use ::
39 kill `cat /var/run/eigrpd.pid`
41 Certain signals have special meanings to *eigrpd*.
43 +------------------+-----------------------------------------------------------+
45 +==================+===========================================================+
46 | SIGHUP & SIGUSR1 | Rotate the log file |
47 +------------------+-----------------------------------------------------------+
48 | SIGINT & SIGTERM | Sweep all installed EIGRP routes and gracefully terminate |
49 +------------------+-----------------------------------------------------------+
52 *eigrpd* invocation options. Common options that can be specified
53 (:ref:`common-invocation-options`).
60 When the program terminates, retain routes added by *eigrpd*.
62 .. _eigrp-configuration:
67 .. index:: router eigrp (1-65535)
68 .. clicmd:: router eigrp (1-65535)
70 The `router eigrp` command is necessary to enable EIGRP. To disable EIGRP,
71 use the `no router eigrp (1-65535)` command. EIGRP must be enabled before
72 carrying out any of the EIGRP commands.
74 .. index:: no router eigrp (1-65535)
75 .. clicmd:: no router eigrp (1-65535)
79 .. index:: network NETWORK
80 .. clicmd:: network NETWORK
82 .. index:: no network NETWORK
83 .. clicmd:: no network NETWORK
85 Set the EIGRP enable interface by `network`. The interfaces which
86 have addresses matching with `network` are enabled.
88 This group of commands either enables or disables EIGRP interfaces between
89 certain numbers of a specified network address. For example, if the
90 network for 10.0.0.0/24 is EIGRP enabled, this would result in all the
91 addresses from 10.0.0.0 to 10.0.0.255 being enabled for EIGRP. The `no
92 network` command will disable EIGRP for the specified network.
94 Below is very simple EIGRP configuration. Interface `eth0` and
95 interface which address match to `10.0.0.0/8` are EIGRP enabled.
105 .. index:: passive-interface (IFNAME|default)
106 .. clicmd:: passive-interface (IFNAME|default)
108 .. index:: no passive-interface IFNAME
109 .. clicmd:: no passive-interface IFNAME
111 This command sets the specified interface to passive mode. On passive mode
112 interface, all receiving packets are ignored and eigrpd does not send either
113 multicast or unicast EIGRP packets except to EIGRP neighbors specified with
114 `neighbor` command. The interface may be specified as `default` to make
115 eigrpd default to passive on all interfaces.
117 The default is to be passive on all interfaces.
119 .. _how-to-announce-eigrp-route:
121 How to Announce EIGRP route
122 ===========================
124 .. index:: redistribute kernel
125 .. clicmd:: redistribute kernel
127 .. index:: redistribute kernel metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
128 .. clicmd:: redistribute kernel metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
130 .. index:: no redistribute kernel
131 .. clicmd:: no redistribute kernel
133 `redistribute kernel` redistributes routing information from kernel route
134 entries into the EIGRP tables. `no redistribute kernel` disables the routes.
136 .. index:: redistribute static
137 .. clicmd:: redistribute static
139 .. index:: redistribute static metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
140 .. clicmd:: redistribute static metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
142 .. index:: no redistribute static
143 .. clicmd:: no redistribute static
145 `redistribute static` redistributes routing information from static route
146 entries into the EIGRP tables. `no redistribute static` disables the routes.
148 .. index:: redistribute connected
149 .. clicmd:: redistribute connected
151 .. index:: redistribute connected metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
152 .. clicmd:: redistribute connected metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
154 .. index:: no redistribute connected
155 .. clicmd:: no redistribute connected
157 Redistribute connected routes into the EIGRP tables. `no redistribute
158 connected` disables the connected routes in the EIGRP tables. This command
159 redistribute connected of the interface which EIGRP disabled. The connected
160 route on EIGRP enabled interface is announced by default.
162 .. index:: redistribute ospf
163 .. clicmd:: redistribute ospf
165 .. index:: redistribute ospf metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
166 .. clicmd:: redistribute ospf metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
168 .. index:: no redistribute ospf
169 .. clicmd:: no redistribute ospf
171 `redistribute ospf` redistributes routing information from ospf route
172 entries into the EIGRP tables. `no redistribute ospf` disables the routes.
174 .. index:: redistribute bgp
175 .. clicmd:: redistribute bgp
177 .. index:: redistribute bgp metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
178 .. clicmd:: redistribute bgp metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
180 .. index:: no redistribute bgp
181 .. clicmd:: no redistribute bgp
183 `redistribute bgp` redistributes routing information from bgp route entries
184 into the EIGRP tables. `no redistribute bgp` disables the routes.
186 .. _show-eigrp-information:
188 Show EIGRP Information
189 ======================
191 .. index:: show ip eigrp topology
192 .. clicmd:: show ip eigrp topology
194 Display current EIGRP status.
198 eigrpd> **show ip eigrp topology**
201 EIGRP Topology Table for AS(4)/ID(0.0.0.0)
203 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply
204 r - reply Status, s - sia Status
206 P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0
207 via Connected, enp0s3
213 Debug for EIGRP protocol.
215 .. index:: debug eigrp packets
216 .. clicmd:: debug eigrp packets
220 ``debug eigrp`` will show EIGRP packets that are sent and recevied.
222 .. index:: debug eigrp transmit
223 .. clicmd:: debug eigrp transmit
225 Debug eigrp transmit events
227 ``debug eigrp transmit`` will display detailed information about the EIGRP
230 .. index:: show debugging eigrp
231 .. clicmd:: show debugging eigrp
233 Display *eigrpd*'s debugging option.
235 ``show debugging eigrp`` will show all information currently set for eigrpd