]> git.proxmox.com Git - mirror_frr.git/blame - doc/user/eigrpd.rst
Merge pull request #8646 from chiragshah6/mdev
[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
41747439 68.. clicmd:: router eigrp (1-65535) [vrf NAME]
c1a54c05 69
a90cfb7f
QY
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
41747439
DS
72 carrying out any of the EIGRP commands. Specify vrf NAME if you want
73 eigrp to work within the specified vrf.
42fc5d26 74
29adcd50 75.. clicmd:: network NETWORK
42fc5d26 76
a90cfb7f
QY
77 Set the EIGRP enable interface by `network`. The interfaces which
78 have addresses matching with `network` are enabled.
42fc5d26 79
a90cfb7f
QY
80 This group of commands either enables or disables EIGRP interfaces between
81 certain numbers of a specified network address. For example, if the
82 network for 10.0.0.0/24 is EIGRP enabled, this would result in all the
83 addresses from 10.0.0.0 to 10.0.0.255 being enabled for EIGRP. The `no
84 network` command will disable EIGRP for the specified network.
42fc5d26 85
a90cfb7f
QY
86 Below is very simple EIGRP configuration. Interface `eth0` and
87 interface which address match to `10.0.0.0/8` are EIGRP enabled.
42fc5d26 88
9eb95b3b 89 .. code-block:: frr
dfab2669 90
c1a54c05
QY
91 !
92 router eigrp 1
93 network 10.0.0.0/8
94 !
42fc5d26 95
42fc5d26 96
29adcd50 97.. clicmd:: passive-interface (IFNAME|default)
42fc5d26 98
c1a54c05 99
a90cfb7f 100 This command sets the specified interface to passive mode. On passive mode
c1a54c05
QY
101 interface, all receiving packets are ignored and eigrpd does not send either
102 multicast or unicast EIGRP packets except to EIGRP neighbors specified with
103 `neighbor` command. The interface may be specified as `default` to make
104 eigrpd default to passive on all interfaces.
42fc5d26 105
a90cfb7f 106 The default is to be passive on all interfaces.
42fc5d26 107
0efdf0fe 108.. _how-to-announce-eigrp-route:
42fc5d26
QY
109
110How to Announce EIGRP route
111===========================
112
1e31580f 113Redistribute routes into EIGRP:
42fc5d26 114
1e31580f 115.. clicmd:: redistribute <babel|bgp|connected|isis|kernel|openfabric|ospf|rip|sharp|static|table> [metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)]
42fc5d26 116
1e31580f
QY
117 The ``redistribute`` family of commands imports routing information from
118 other sources into EIGRP's tables. Redistribution may be disabled with the
119 ``no`` form of the commands.
42fc5d26 120
1e31580f
QY
121 Note that connected routes on interfaces EIGRP is enabled on are announced
122 by default.
42fc5d26 123
1e31580f
QY
124 Optionally, various EIGRP metrics may be specified. These metrics will be
125 applied to the imported routes.
42fc5d26 126
42fc5d26 127
0efdf0fe 128.. _show-eigrp-information:
42fc5d26
QY
129
130Show EIGRP Information
131======================
132
41747439 133.. clicmd:: show ip eigrp [vrf NAME] topology
42fc5d26 134
013f9762 135 Display current EIGRP status.
42fc5d26 136
c1a54c05 137 ::
42fc5d26 138
c1a54c05
QY
139 eigrpd> **show ip eigrp topology**
140 # show ip eigrp topo
42fc5d26 141
c1a54c05 142 EIGRP Topology Table for AS(4)/ID(0.0.0.0)
42fc5d26 143
c1a54c05
QY
144 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply
145 r - reply Status, s - sia Status
146
147 P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0
148 via Connected, enp0s3
dfab2669 149
41747439
DS
150.. clicmd:: show ip eigrp [vrf NAME] interface
151
152 Display the list of interfaces associated with a particular eigrp
153 instance.
154
155..index:: show ip eigrp [vrf NAME] neighbor
156..clicmd:: show ip eigrp [vrf NAME] neighbor
157
158 Display the list of neighbors that have been established within
159 a particular eigrp instance.
42fc5d26
QY
160
161EIGRP Debug Commands
162====================
163
164Debug for EIGRP protocol.
165
29adcd50 166.. clicmd:: debug eigrp packets
42fc5d26 167
c1a54c05 168 Debug eigrp packets
42fc5d26 169
d1e7591e 170 ``debug eigrp`` will show EIGRP packets that are sent and received.
42fc5d26 171
29adcd50 172.. clicmd:: debug eigrp transmit
42fc5d26 173
c1a54c05 174 Debug eigrp transmit events
42fc5d26 175
c1a54c05
QY
176 ``debug eigrp transmit`` will display detailed information about the EIGRP
177 transmit events.
42fc5d26 178
29adcd50 179.. clicmd:: show debugging eigrp
42fc5d26 180
c1a54c05
QY
181 Display *eigrpd*'s debugging option.
182
183 ``show debugging eigrp`` will show all information currently set for eigrpd
184 debug.
42fc5d26 185
b832909b
QY
186
187Sample configuration
188====================
189
190.. code-block:: frr
191
192 hostname eigrpd
193 password zebra
194 enable password please-set-at-here
195 !
196 router eigrp 4453
197 network 192.168.1.0/24
198 !
199 log stdout
200