OpenBSD manual page server

Manual Page Search Parameters

EIGRPD.CONF(5) File Formats Manual EIGRPD.CONF(5)

eigrpd.confEIGRP routing 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:

User-defined variables may be defined and used later, simplifying the configuration file.
Global settings for eigrpd(8).
Multiple routing instances can be defined. Routing instances are defined hierarchically by address-family and then autonomous-system.
Interface-specific parameters.

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.

prio
Set the routing priority of EIGRP internal routes to prio. The default is 28.
prio
Set the routing priority of EIGRP external routes to prio. This option may be used as a simple loop-prevention mechanism when another routing protocol is being redistributed into EIGRP. The default is 28.
prio
Set the routing priority of EIGRP summary routes to prio. The default is 28.
(yes|no)
If set to no, do not update the Forwarding Information Base, a.k.a. the kernel routing table. The default is yes.
tableid
Specifies the routing table eigrpd(8) should modify. Table 0 is the default table.
address
Set the router ID; if not specified, the numerically lowest IP address of the router will be used.

Multiple 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.

minutes
Set the maximum time to wait before declaring a route to be in the stuck in active state. If 0 is given, the active timeout is disabled. The default value is 3; valid range is 0-65535.
(ipv4|ipv6)
Specify an address-family section, grouping one or more autonomous-systems.
number
Specify the autonomous-system, grouping one or more interfaces. Valid range is 1-65535.
bandwidth delay reliability load mtu
Specify a default metric for all routes redistributed into EIGRP. Valid ranges are: 1-10000000 for the bandwidth, 1-16777215 for the delay, 1-255 for the reliability, 1-255 for the load and 1-65535 for the mtu.
K1 K2 K3 K4 K5 K6
Set the coefficients used by the composite metric calculation. Two routers become neighbors only if their K-values are the same. For K1 and K3, The default value is 1. For K2, K4, K5 and K6 the default value is 0; valid range is 1-254.
number
Advertise as unreachable the routes with a hop count higher than specified. The default value is 100; valid range is 1-255.
number
Specify the maximum number of ECMP paths to be installed in the FIB for each route. The default value is 4; valid range is 1-32.
[no] redistribute (static|connected|ospf|rip|default) [metric bandwidth delay reliability load mtu]
 
[no] redistribute prefix [metric bandwidth delay reliability load mtu]
If set to 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.

multiplier
Set the variance used to permit the installation of feasible successors in the FIB if their metric is lower than the metric of the successor multiplied by the specified multiplier. The default value is 1; valid range is 1-128.

Each 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
Set the interface bandwidth in kilobits per second. The bandwidth is used as part of the EIGRP composite metric. The default value is 100000; valid range is 1-10000000.
delay
Set the interface delay in tens of microseconds. The delay is used as part of the EIGRP composite metric. The default value is 10; valid range is 1-16777215.
seconds
Set the hello interval. The default value is 5; valid range is 1-65535 seconds.
seconds
Set the hello holdtime. The default value is 15; valid range is 1-65535 seconds.
Prevent transmission and reception of EIGRP packets on this interface.
(yes|no)
If set to 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.
address/len
Configure a summary aggregate address for this interface. Multiple summary addresses can be configured.

/etc/eigrpd.conf
eigrpd(8) configuration file.
/etc/examples/eigrpd.conf
Example configuration file.

eigrpctl(8), eigrpd(8), rc.conf.local(8)

The eigrpd.conf file format first appeared in OpenBSD 5.9.

The eigrpd(8) program was written by Renato Westphal <renato@openbsd.org>.

March 2, 2023 OpenBSD-current