]>
Commit | Line | Data |
---|---|---|
0efdf0fe | 1 | .. _eigrp: |
42fc5d26 QY |
2 | |
3 | ***** | |
4 | EIGRP | |
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 | 13 | EIGRP -- Routing Information Protocol is widely deployed interior gateway |
a90cfb7f | 14 | routing 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 |
16 | As a distance-vector protocol, the EIGRP router send updates to its |
17 | neighbors as networks change, thus allowing the convergence to a | |
18 | known topology. | |
19 | ||
20 | *eigrpd* supports EIGRP as described in RFC7868 | |
21 | ||
0efdf0fe | 22 | .. _starting-and-stopping-eigrpd: |
42fc5d26 QY |
23 | |
24 | Starting and Stopping eigrpd | |
25 | ============================ | |
26 | ||
c1a54c05 QY |
27 | The default configuration file name of *eigrpd*'s is :file:`eigrpd.conf`. When |
28 | invocation *eigrpd* searches directory |INSTALL_PREFIX_ETC|. If | |
29 | :file:`eigrpd.conf` is not there next search current directory. If an | |
30 | integrated config is specified configuration is written into :file:`frr.conf`. | |
42fc5d26 | 31 | |
c1a54c05 QY |
32 | The EIGRP protocol requires interface information maintained by *zebra* daemon. |
33 | So running *zebra* is mandatory to run *eigrpd*. Thus minimum sequence for | |
34 | running EIGRP is: | |
42fc5d26 QY |
35 | |
36 | :: | |
37 | ||
42fc5d26 QY |
38 | # zebra -d |
39 | # eigrpd -d | |
dfab2669 | 40 | |
42fc5d26 QY |
41 | |
42 | Please note that *zebra* must be invoked before *eigrpd*. | |
43 | ||
0416ce1c | 44 | To stop *eigrpd*, please use:: |
45 | ||
46 | kill `cat /var/run/frr/eigrpd.pid` | |
c1a54c05 QY |
47 | |
48 | Certain signals have special meanings to *eigrpd*. | |
42fc5d26 | 49 | |
a90cfb7f QY |
50 | +------------------+-----------------------------------------------------------+ |
51 | | Signal | Meaning | | |
52 | +==================+===========================================================+ | |
53 | | SIGHUP & SIGUSR1 | Rotate the log file | | |
54 | +------------------+-----------------------------------------------------------+ | |
55 | | SIGINT & SIGTERM | Sweep all installed EIGRP routes and gracefully terminate | | |
56 | +------------------+-----------------------------------------------------------+ | |
42fc5d26 QY |
57 | |
58 | ||
a90cfb7f | 59 | *eigrpd* invocation options. Common options that can be specified |
0efdf0fe | 60 | (:ref:`common-invocation-options`). |
42fc5d26 | 61 | |
a90cfb7f | 62 | .. program:: eigrpd |
42fc5d26 | 63 | |
0efdf0fe | 64 | .. _eigrp-configuration: |
42fc5d26 QY |
65 | |
66 | EIGRP Configuration | |
67 | =================== | |
68 | ||
41747439 | 69 | .. clicmd:: router eigrp (1-65535) [vrf NAME] |
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 | |
41747439 DS |
73 | carrying out any of the EIGRP commands. Specify vrf NAME if you want |
74 | eigrp to work within the specified vrf. | |
42fc5d26 | 75 | |
29adcd50 | 76 | .. clicmd:: network NETWORK |
42fc5d26 | 77 | |
a90cfb7f QY |
78 | Set the EIGRP enable interface by `network`. The interfaces which |
79 | have addresses matching with `network` are enabled. | |
42fc5d26 | 80 | |
a90cfb7f QY |
81 | This group of commands either enables or disables EIGRP interfaces between |
82 | certain numbers of a specified network address. For example, if the | |
83 | network for 10.0.0.0/24 is EIGRP enabled, this would result in all the | |
84 | addresses from 10.0.0.0 to 10.0.0.255 being enabled for EIGRP. The `no | |
85 | network` command will disable EIGRP for the specified network. | |
42fc5d26 | 86 | |
a90cfb7f QY |
87 | Below is very simple EIGRP configuration. Interface `eth0` and |
88 | interface which address match to `10.0.0.0/8` are EIGRP enabled. | |
42fc5d26 | 89 | |
9eb95b3b | 90 | .. code-block:: frr |
dfab2669 | 91 | |
c1a54c05 QY |
92 | ! |
93 | router eigrp 1 | |
94 | network 10.0.0.0/8 | |
95 | ! | |
42fc5d26 | 96 | |
42fc5d26 | 97 | |
29adcd50 | 98 | .. clicmd:: passive-interface (IFNAME|default) |
42fc5d26 | 99 | |
c1a54c05 | 100 | |
a90cfb7f | 101 | This command sets the specified interface to passive mode. On passive mode |
c1a54c05 QY |
102 | interface, all receiving packets are ignored and eigrpd does not send either |
103 | multicast or unicast EIGRP packets except to EIGRP neighbors specified with | |
104 | `neighbor` command. The interface may be specified as `default` to make | |
105 | eigrpd default to passive on all interfaces. | |
42fc5d26 | 106 | |
a90cfb7f | 107 | The default is to be passive on all interfaces. |
42fc5d26 | 108 | |
0efdf0fe | 109 | .. _how-to-announce-eigrp-route: |
42fc5d26 QY |
110 | |
111 | How to Announce EIGRP route | |
112 | =========================== | |
113 | ||
1e31580f | 114 | Redistribute routes into EIGRP: |
42fc5d26 | 115 | |
1e31580f | 116 | .. 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 | 117 | |
1e31580f QY |
118 | The ``redistribute`` family of commands imports routing information from |
119 | other sources into EIGRP's tables. Redistribution may be disabled with the | |
120 | ``no`` form of the commands. | |
42fc5d26 | 121 | |
1e31580f QY |
122 | Note that connected routes on interfaces EIGRP is enabled on are announced |
123 | by default. | |
42fc5d26 | 124 | |
1e31580f QY |
125 | Optionally, various EIGRP metrics may be specified. These metrics will be |
126 | applied to the imported routes. | |
42fc5d26 | 127 | |
42fc5d26 | 128 | |
0efdf0fe | 129 | .. _show-eigrp-information: |
42fc5d26 QY |
130 | |
131 | Show EIGRP Information | |
132 | ====================== | |
133 | ||
41747439 | 134 | .. clicmd:: show ip eigrp [vrf NAME] topology |
42fc5d26 | 135 | |
013f9762 | 136 | Display current EIGRP status. |
42fc5d26 | 137 | |
c1a54c05 | 138 | :: |
42fc5d26 | 139 | |
c1a54c05 QY |
140 | eigrpd> **show ip eigrp topology** |
141 | # show ip eigrp topo | |
42fc5d26 | 142 | |
c1a54c05 | 143 | EIGRP Topology Table for AS(4)/ID(0.0.0.0) |
42fc5d26 | 144 | |
c1a54c05 QY |
145 | Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply |
146 | r - reply Status, s - sia Status | |
147 | ||
148 | P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0 | |
149 | via Connected, enp0s3 | |
dfab2669 | 150 | |
41747439 DS |
151 | .. clicmd:: show ip eigrp [vrf NAME] interface |
152 | ||
153 | Display the list of interfaces associated with a particular eigrp | |
154 | instance. | |
155 | ||
dc47f2e7 | 156 | .. clicmd:: show ip eigrp [vrf NAME] neighbor |
41747439 DS |
157 | |
158 | Display the list of neighbors that have been established within | |
159 | a particular eigrp instance. | |
42fc5d26 QY |
160 | |
161 | EIGRP Debug Commands | |
162 | ==================== | |
163 | ||
164 | Debug 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 | |
187 | Sample 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 |