xref: /openbsd-src/usr.sbin/eigrpctl/eigrpctl.8 (revision 328c3f4b3a396065bb78dcb935b4c3fd9b96b0ca)
1*328c3f4bSjmc.\"	$OpenBSD: eigrpctl.8,v 1.7 2023/03/02 17:09:53 jmc Exp $
2e2656810Srenato.\"
3e2656810Srenato.\" Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
4e2656810Srenato.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
5e2656810Srenato.\"
6e2656810Srenato.\" Permission to use, copy, modify, and distribute this software for any
7e2656810Srenato.\" purpose with or without fee is hereby granted, provided that the above
8e2656810Srenato.\" copyright notice and this permission notice appear in all copies.
9e2656810Srenato.\"
10e2656810Srenato.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11e2656810Srenato.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12e2656810Srenato.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13e2656810Srenato.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14e2656810Srenato.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15e2656810Srenato.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16e2656810Srenato.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17e2656810Srenato.\"
18*328c3f4bSjmc.Dd $Mdocdate: March 2 2023 $
19e2656810Srenato.Dt EIGRPCTL 8
20e2656810Srenato.Os
21e2656810Srenato.Sh NAME
22e2656810Srenato.Nm eigrpctl
23*328c3f4bSjmc.Nd control the EIGRP routing daemon
24e2656810Srenato.Sh SYNOPSIS
25e2656810Srenato.Nm
2628291a98Srenato.Op Fl s Ar socket
27e2656810Srenato.Ar command
28e2656810Srenato.Op Ar argument ...
29e2656810Srenato.Sh DESCRIPTION
30e2656810SrenatoThe
31e2656810Srenato.Nm
32e2656810Srenatoprogram controls the
33e2656810Srenato.Xr eigrpd 8
34e2656810Srenatodaemon.
35e2656810SrenatoCommands may be abbreviated to the minimum unambiguous prefix; for example,
36e2656810Srenato.Cm s i
37e2656810Srenatofor
38e2656810Srenato.Cm show interfaces .
39e2656810Srenato.Pp
4028291a98SrenatoThe following options are available:
4128291a98Srenato.Bl -tag -width Ds
4228291a98Srenato.It Fl s Ar socket
4328291a98SrenatoUse
4428291a98Srenato.Ar socket
4528291a98Srenatoinstead of the default
4628291a98Srenato.Pa /var/run/eigrpd.sock
4728291a98Srenatoto communicate with
4828291a98Srenato.Xr eigrpd 8 .
4928291a98Srenato.El
5028291a98Srenato.Pp
51e2656810SrenatoThe following commands are available:
52e2656810Srenato.Bl -tag -width Ds
53956c66a0Srenato.It Xo
54956c66a0Srenato.Cm clear neighbors
55956c66a0Srenato.Op Cm family Ar family
56956c66a0Srenato.Op Cm as Ar as
57956c66a0Srenato.Op Ar address
58956c66a0Srenato.Xc
59956c66a0SrenatoDelete entries from the neighbor table.
60956c66a0Srenato.Ar family ,
61956c66a0Srenato.Ar as ,
62956c66a0Srenatoand
63956c66a0Srenato.Ar address
64956c66a0Srenatocan be used to limit the scope of the command to the given address family, autonomous system and/or address.
65956c66a0SrenatoIf no argument is given, all neighbors from all EIGRP instances will be deleted.
66e2656810Srenato.It Cm fib couple
67e2656810SrenatoInsert the learned routes into the Forwarding Information Base
68e2656810Srenatoa.k.a. the kernel routing table.
69e2656810Srenato.It Cm fib decouple
70e2656810SrenatoRemove the learned routes from the Forwarding Information Base
71e2656810Srenatoa.k.a. the kernel routing table.
72e2656810SrenatoDecoupling the FIB from an EIGRP router may create routing loops and could cause
73e2656810Srenatomajor routing issues in the complete EIGRP cloud.
74e2656810SrenatoOnly routers with just one link to the EIGRP cloud can safely decouple the FIB.
75e2656810Srenato.It Cm log brief
76e2656810SrenatoDisable verbose debug logging.
77e2656810Srenato.It Cm log verbose
78e2656810SrenatoEnable verbose debug logging.
79e2656810Srenato.It Cm reload
80e2656810SrenatoReload the configuration file.
81e2656810Srenato.It Xo
82e2656810Srenato.Cm show fib
83e2656810Srenato.Op Cm family Ar family
84e2656810Srenato.Op Ar filter
85e2656810Srenato.Xc
86e2656810SrenatoShow the Forwarding Information Base.
87e2656810Srenato.Ar family ,
88e2656810Srenatoif given, limit the output to the given address family.
89e2656810Srenato.Ar filter
90e2656810Srenatocan be any of the following:
91e2656810Srenato.Pp
92e2656810Srenato.Bl -tag -width "interfaceXXinterfaceXX" -compact
93e2656810Srenato.It Cm connected
94e2656810SrenatoShow only connected routes.
95e2656810Srenato.It Cm interface Op Ar interface
96e2656810SrenatoShow only interfaces or the specified
97e2656810Srenato.Ar interface .
98e2656810Srenato.It Cm eigrp
99e2656810SrenatoShow only EIGRP routes.
100e2656810Srenato.It Cm static
101e2656810SrenatoShow only static routes.
102e2656810Srenato.El
103e2656810Srenato.Pp
104e2656810Srenato.Cm connected ,
105e2656810Srenato.Cm eigrp
106e2656810Srenatoand
107e2656810Srenato.Cm static
108e2656810Srenatomay be specified together.
109e2656810Srenato.It Xo
110e2656810Srenato.Cm show interfaces
111e2656810Srenato.Op Cm family Ar family
112e2656810Srenato.Op Cm as Ar as
113e2656810Srenato.Op Ar interface
114e2656810Srenato.Xc
115e2656810SrenatoShow details for all EIGRP enabled interfaces or the specified
116e2656810Srenato.Ar interface .
117e2656810Srenato.Ar family
118e2656810Srenatoand
119e2656810Srenato.Ar as ,
120e2656810Srenatoif given, limit the output to the given address family and/or autonomous system.
121e2656810Srenato.It Xo
122e2656810Srenato.Cm show neighbor
123e2656810Srenato.Op Cm family Ar family
124e2656810Srenato.Op Cm as Ar as
125e2656810Srenato.Xc
126e2656810SrenatoShow neighbors.
127e2656810Srenato.Ar family
128e2656810Srenatoand
129e2656810Srenato.Ar as ,
130e2656810Srenatoif given, limit the output to the given address family and/or autonomous system.
131e2656810Srenato.It Xo
132e2656810Srenato.Cm show topology
133e2656810Srenato.Op Cm family Ar family
134e2656810Srenato.Op Cm as Ar as
135e2656810Srenato.Op Ar prefix | filter
136e2656810Srenato.Xc
137e2656810SrenatoShow the topology table.
138e2656810Srenato.Ar family
139e2656810Srenatoand
140e2656810Srenato.Ar as ,
141e2656810Srenatoif given, limit the output to the given address family and/or autonomous system.
142e2656810Srenato.Ar prefix
143e2656810Srenatocan be specified to show the entries matching a destination prefix.
144e2656810Srenato.Ar filter
145e2656810Srenatocan be any of the following:
146e2656810Srenato.Pp
147e2656810Srenato.Bl -tag -width "interfaceXXinterfaceXX" -compact
148e2656810Srenato.It Cm active
149e2656810SrenatoShow only active entries.
150e2656810Srenato.It Cm all-links
151e2656810SrenatoShow all entries.
152e2656810Srenato.El
153dcfaa8d4Srenato.It Xo
154dcfaa8d4Srenato.Cm show traffic
155dcfaa8d4Srenato.Op Cm family Ar family
156dcfaa8d4Srenato.Op Cm as Ar as
157dcfaa8d4Srenato.Xc
158dcfaa8d4SrenatoShow traffic statistics.
159dcfaa8d4Srenato.Ar family
160dcfaa8d4Srenatoand
161dcfaa8d4Srenato.Ar as ,
162dcfaa8d4Srenatoif given, limit the output to the given address family and/or autonomous system.
1633ccc47bbSjmc.El
164e2656810Srenato.Sh FILES
165e2656810Srenato.Bl -tag -width "/var/run/eigrpd.sockXX" -compact
166e2656810Srenato.It Pa /var/run/eigrpd.sock
167e2656810Srenato.Ux Ns -domain
168e2656810Srenatosocket used for communication with
169e2656810Srenato.Xr eigrpd 8 .
170e2656810Srenato.El
171e2656810Srenato.Sh SEE ALSO
172e2656810Srenato.Xr eigrpd.conf 5 ,
173e2656810Srenato.Xr eigrpd 8
174e2656810Srenato.Sh HISTORY
175e2656810SrenatoThe
176e2656810Srenato.Nm
177e2656810Srenatoprogram first appeared in
1784619edf9Srenato.Ox 5.9 .
1794619edf9Srenato.Sh AUTHORS
1804619edf9SrenatoThe
1814619edf9Srenato.Nm
1824619edf9Srenatoprogram was written by
1834619edf9Srenato.An Renato Westphal Aq Mt renato@openbsd.org .
184