EIGRPD.CONF(5) | File Formats Manual | EIGRPD.CONF(5) |
eigrpd.conf
—
Enhanced Interior Gateway Routing Protocol daemon
configuration file
The eigrpd(8) daemon implements the Enhanced Interior Gateway Routing Protocol.
The eigrpd.conf
config file is divided
into the following main sections:
Argument names not beginning with a letter, digit, or underscore must be quoted.
Additional configuration files can be included with the
include
keyword, for example:
include "/etc/eigrpd.sub.conf"
Macros can be defined that will later be expanded in context.
Macro names must start with a letter, digit, or underscore, and may contain
any of those characters. Macro names may not be reserved words (for example,
bandwidth
, interface
, or
hello-interval
). Macros are not expanded inside
quotes.
For example:
fastethernet="100000" address-family ipv4 { autonomous-system 1 { interface em1 { bandwidth $fastethernet } } }
The same can be accomplished by specifying the bandwidth globally or within the address-family or autonomous-system declaration.
Several settings can be configured globally, per address-family, per autonomous-system and per interface. The only settings that can be set globally and not overruled are listed below.
fib-priority-internal
priofib-priority-external
priofib-priority-summary
priofib-update
(yes
|no
)no
, do not update the Forwarding
Information Base, a.k.a. the kernel routing table. The default is
yes
.rdomain
tableidrouter-id
addressMultiple routing instances can be defined. Routing instances are defined hierarchically by address-family and then autonomous-system.
address-family ipv4 { ... autonomous-system 1 { ... interface em0 { ... } } }
Routing-instance specific parameters are listed below.
active-timeout
minutesaddress-family
(ipv4
|ipv6
)autonomous-system
numberdefault-metric
bandwidth delay reliability load mtuk-values
K1 K2 K3
K4 K5
K6maximum-hops
numbermaximum-paths
numberno
] redistribute
(static
|connected
|ospf
|rip
|default
)
[metric
bandwidth delay reliability
load mtu]no
] redistribute
prefix [metric
bandwidth delay reliability load mtu]connected
, routes to directly attached
networks will be announced over EIGRP. If set to
static
, static routes will be announced over
EIGRP. If set to ospf
, OSPF routes will be
announced over EIGRP. If set to rip
, RIP routes
will be announced over EIGRP. If set to default
, a
default route pointing to this router will be announced over EIGRP. It is
possible to specify a network range with prefix;
networks need to be part of that range to be redistributed. By default no
additional routes will be announced over EIGRP.
redistribute
statements are evaluated
in sequential order, from first to last. The first matching rule decides
if a route should be redistributed or not. Matching rules starting with
no
will force the route to be not announced. The
only exception is default
, which will be set no
matter what, and additionally no
cannot be used
together with it.
It is possible to set the route metric
for each redistribute rule.
variance
multiplierEach interface can have several parameters configured individually, otherwise they are inherited. Interfaces can pertain to multiple routing instances. An interface is specified by its name.
interface em0 { ... }
Interface-specific parameters are listed below.
bandwidth
bandwidthdelay
delayhello-interval
secondsholdtime
secondspassive
split-horizon
(yes
|no
)no
, the split horizon rule will be
disabled on this interface. This option should be used with caution since
it can introduce routing loops in point-to-point or broadcast networks.
The default is yes
.summary-address
address/
lenThe eigrpd.conf
file format first appeared
in OpenBSD 5.9.
The eigrpd(8) program was written by Renato Westphal <renato@openbsd.org>.
May 16, 2020 | OpenBSD-current |