]> git.proxmox.com Git - mirror_frr.git/blame - doc/user/eigrpd.rst
Merge pull request #3157 from pguibert6WIND/doc_expanded
[mirror_frr.git] / doc / user / eigrpd.rst
CommitLineData
0efdf0fe 1.. _eigrp:
42fc5d26
QY
2
3*****
4EIGRP
5*****
6
62333307
QY
7.. glossary::
8
9 DUAL
10 The *Diffusing Update ALgorithm*, a :term:`Bellman-Ford` based routing
11 algorithm used by EIGRP.
12
42fc5d26 13EIGRP -- Routing Information Protocol is widely deployed interior gateway
a90cfb7f 14routing protocol. EIGRP was developed in the 1990's. EIGRP is a
62333307 15:term:`distance-vector` protocol and is based on the :term:`DUAL` algorithms.
42fc5d26
QY
16As a distance-vector protocol, the EIGRP router send updates to its
17neighbors as networks change, thus allowing the convergence to a
18known topology.
19
20*eigrpd* supports EIGRP as described in RFC7868
21
0efdf0fe 22.. _starting-and-stopping-eigrpd:
42fc5d26
QY
23
24Starting and Stopping eigrpd
25============================
26
c1a54c05
QY
27The default configuration file name of *eigrpd*'s is :file:`eigrpd.conf`. When
28invocation *eigrpd* searches directory |INSTALL_PREFIX_ETC|. If
29:file:`eigrpd.conf` is not there next search current directory. If an
30integrated config is specified configuration is written into :file:`frr.conf`.
42fc5d26 31
c1a54c05
QY
32The EIGRP protocol requires interface information maintained by *zebra* daemon.
33So running *zebra* is mandatory to run *eigrpd*. Thus minimum sequence for
34running EIGRP is:
42fc5d26
QY
35
36::
37
42fc5d26
QY
38 # zebra -d
39 # eigrpd -d
dfab2669 40
42fc5d26
QY
41
42Please note that *zebra* must be invoked before *eigrpd*.
43
c1a54c05
QY
44To stop *eigrpd*, please use ::
45 kill `cat /var/run/eigrpd.pid`
46
47Certain signals have special meanings to *eigrpd*.
42fc5d26 48
a90cfb7f
QY
49+------------------+-----------------------------------------------------------+
50| Signal | Meaning |
51+==================+===========================================================+
52| SIGHUP & SIGUSR1 | Rotate the log file |
53+------------------+-----------------------------------------------------------+
54| SIGINT & SIGTERM | Sweep all installed EIGRP routes and gracefully terminate |
55+------------------+-----------------------------------------------------------+
42fc5d26
QY
56
57
a90cfb7f 58*eigrpd* invocation options. Common options that can be specified
0efdf0fe 59(:ref:`common-invocation-options`).
42fc5d26 60
a90cfb7f 61.. program:: eigrpd
42fc5d26 62
0efdf0fe 63.. _eigrp-configuration:
42fc5d26
QY
64
65EIGRP Configuration
66===================
67
a90cfb7f 68.. index:: router eigrp (1-65535)
29adcd50 69.. clicmd:: router eigrp (1-65535)
c1a54c05 70
a90cfb7f
QY
71 The `router eigrp` command is necessary to enable EIGRP. To disable EIGRP,
72 use the `no router eigrp (1-65535)` command. EIGRP must be enabled before
73 carrying out any of the EIGRP commands.
42fc5d26 74
a90cfb7f 75.. index:: no router eigrp (1-65535)
29adcd50 76.. clicmd:: no router eigrp (1-65535)
c1a54c05 77
a90cfb7f 78 Disable EIGRP.
42fc5d26 79
a90cfb7f 80.. index:: network NETWORK
29adcd50 81.. clicmd:: network NETWORK
42fc5d26 82
c1a54c05 83.. index:: no network NETWORK
29adcd50 84.. clicmd:: no network NETWORK
c1a54c05 85
a90cfb7f
QY
86 Set the EIGRP enable interface by `network`. The interfaces which
87 have addresses matching with `network` are enabled.
42fc5d26 88
a90cfb7f
QY
89 This group of commands either enables or disables EIGRP interfaces between
90 certain numbers of a specified network address. For example, if the
91 network for 10.0.0.0/24 is EIGRP enabled, this would result in all the
92 addresses from 10.0.0.0 to 10.0.0.255 being enabled for EIGRP. The `no
93 network` command will disable EIGRP for the specified network.
42fc5d26 94
a90cfb7f
QY
95 Below is very simple EIGRP configuration. Interface `eth0` and
96 interface which address match to `10.0.0.0/8` are EIGRP enabled.
42fc5d26 97
9eb95b3b 98 .. code-block:: frr
dfab2669 99
c1a54c05
QY
100 !
101 router eigrp 1
102 network 10.0.0.0/8
103 !
42fc5d26 104
42fc5d26 105
a90cfb7f 106.. index:: passive-interface (IFNAME|default)
29adcd50 107.. clicmd:: passive-interface (IFNAME|default)
42fc5d26 108
c1a54c05 109.. index:: no passive-interface IFNAME
29adcd50 110.. clicmd:: no passive-interface IFNAME
c1a54c05 111
a90cfb7f 112 This command sets the specified interface to passive mode. On passive mode
c1a54c05
QY
113 interface, all receiving packets are ignored and eigrpd does not send either
114 multicast or unicast EIGRP packets except to EIGRP neighbors specified with
115 `neighbor` command. The interface may be specified as `default` to make
116 eigrpd default to passive on all interfaces.
42fc5d26 117
a90cfb7f 118 The default is to be passive on all interfaces.
42fc5d26 119
0efdf0fe 120.. _how-to-announce-eigrp-route:
42fc5d26
QY
121
122How to Announce EIGRP route
123===========================
124
a90cfb7f 125.. index:: redistribute kernel
29adcd50 126.. clicmd:: redistribute kernel
42fc5d26 127
c1a54c05 128.. index:: redistribute kernel metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
29adcd50 129.. clicmd:: redistribute kernel metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
42fc5d26 130
c1a54c05 131.. index:: no redistribute kernel
29adcd50 132.. clicmd:: no redistribute kernel
42fc5d26 133
c1a54c05
QY
134 `redistribute kernel` redistributes routing information from kernel route
135 entries into the EIGRP tables. `no redistribute kernel` disables the routes.
42fc5d26 136
c1a54c05 137.. index:: redistribute static
29adcd50 138.. clicmd:: redistribute static
42fc5d26 139
c1a54c05 140.. index:: redistribute static metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
29adcd50 141.. clicmd:: redistribute static metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
42fc5d26 142
c1a54c05 143.. index:: no redistribute static
29adcd50 144.. clicmd:: no redistribute static
42fc5d26 145
c1a54c05
QY
146 `redistribute static` redistributes routing information from static route
147 entries into the EIGRP tables. `no redistribute static` disables the routes.
42fc5d26 148
c1a54c05 149.. index:: redistribute connected
29adcd50 150.. clicmd:: redistribute connected
42fc5d26 151
c1a54c05 152.. index:: redistribute connected metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
29adcd50 153.. clicmd:: redistribute connected metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
42fc5d26 154
c1a54c05 155.. index:: no redistribute connected
29adcd50 156.. clicmd:: no redistribute connected
42fc5d26 157
c1a54c05
QY
158 Redistribute connected routes into the EIGRP tables. `no redistribute
159 connected` disables the connected routes in the EIGRP tables. This command
160 redistribute connected of the interface which EIGRP disabled. The connected
161 route on EIGRP enabled interface is announced by default.
42fc5d26 162
c1a54c05 163.. index:: redistribute ospf
29adcd50 164.. clicmd:: redistribute ospf
42fc5d26 165
c1a54c05 166.. index:: redistribute ospf metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
29adcd50 167.. clicmd:: redistribute ospf metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
42fc5d26 168
c1a54c05 169.. index:: no redistribute ospf
29adcd50 170.. clicmd:: no redistribute ospf
42fc5d26 171
c1a54c05
QY
172 `redistribute ospf` redistributes routing information from ospf route
173 entries into the EIGRP tables. `no redistribute ospf` disables the routes.
42fc5d26 174
c1a54c05 175.. index:: redistribute bgp
29adcd50 176.. clicmd:: redistribute bgp
42fc5d26 177
c1a54c05 178.. index:: redistribute bgp metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
29adcd50 179.. clicmd:: redistribute bgp metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)
42fc5d26 180
c1a54c05 181.. index:: no redistribute bgp
29adcd50 182.. clicmd:: no redistribute bgp
c1a54c05
QY
183
184 `redistribute bgp` redistributes routing information from bgp route entries
185 into the EIGRP tables. `no redistribute bgp` disables the routes.
42fc5d26 186
0efdf0fe 187.. _show-eigrp-information:
42fc5d26
QY
188
189Show EIGRP Information
190======================
191
a90cfb7f 192.. index:: show ip eigrp topology
29adcd50 193.. clicmd:: show ip eigrp topology
42fc5d26 194
013f9762 195 Display current EIGRP status.
42fc5d26 196
c1a54c05 197 ::
42fc5d26 198
c1a54c05
QY
199 eigrpd> **show ip eigrp topology**
200 # show ip eigrp topo
42fc5d26 201
c1a54c05 202 EIGRP Topology Table for AS(4)/ID(0.0.0.0)
42fc5d26 203
c1a54c05
QY
204 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply
205 r - reply Status, s - sia Status
206
207 P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0
208 via Connected, enp0s3
dfab2669 209
42fc5d26
QY
210
211EIGRP Debug Commands
212====================
213
214Debug for EIGRP protocol.
215
a90cfb7f 216.. index:: debug eigrp packets
29adcd50 217.. clicmd:: debug eigrp packets
42fc5d26 218
c1a54c05 219 Debug eigrp packets
42fc5d26 220
d1e7591e 221 ``debug eigrp`` will show EIGRP packets that are sent and received.
42fc5d26 222
c1a54c05 223.. index:: debug eigrp transmit
29adcd50 224.. clicmd:: debug eigrp transmit
42fc5d26 225
c1a54c05 226 Debug eigrp transmit events
42fc5d26 227
c1a54c05
QY
228 ``debug eigrp transmit`` will display detailed information about the EIGRP
229 transmit events.
42fc5d26 230
c1a54c05 231.. index:: show debugging eigrp
29adcd50 232.. clicmd:: show debugging eigrp
42fc5d26 233
c1a54c05
QY
234 Display *eigrpd*'s debugging option.
235
236 ``show debugging eigrp`` will show all information currently set for eigrpd
237 debug.
42fc5d26 238