diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-08 20:44:25 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-08 20:44:25 +0200 |
commit | dbb12b8da9761c6fed8f177b5c919622491d6da0 (patch) | |
tree | ec0c7266bcdbb869d87504b48a6793c94fe1ea29 /doc | |
parent | doc: Fix spelling mistake. (diff) | |
parent | Merge pull request #477 from opensourcerouting/gitignore (diff) | |
download | frr-dbb12b8da9761c6fed8f177b5c919622491d6da0.tar.xz frr-dbb12b8da9761c6fed8f177b5c919622491d6da0.zip |
Merge remote-tracking branch 'origin/master' into datacenter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 6 | ||||
-rw-r--r-- | doc/eigrpd.8.in | 122 | ||||
-rw-r--r-- | doc/eigrpd.texi | 216 |
3 files changed, 344 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index d82a30730..318179e25 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -61,6 +61,7 @@ frr_TEXINFOS = appendix.texi basic.texi bgpd.texi isisd.texi filter.texi \ vnc.texi \ install.texi ipv6.texi kernel.texi main.texi \ nhrpd.texi \ + eigrpd.texi \ ospf6d.texi ospfd.texi \ overview.texi protocol.texi ripd.texi ripngd.texi routemap.texi \ snmp.texi vtysh.texi routeserver.texi defines.texi $(figures_png) \ @@ -129,6 +130,10 @@ if ZEBRA man_MANS += zebra.8 endif +if EIGRPD +man_MANS += eigrpd.8 +endif + EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt \ \ bgpd.8.in \ @@ -145,6 +150,7 @@ EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt \ watchfrr.8.in \ zebra.8.in \ frr.1.in \ + eigrpd.8.in \ \ mpls/ChangeLog.opaque.txt mpls/cli_summary.txt \ mpls/opaque_lsa.txt mpls/ospfd.conf \ diff --git a/doc/eigrpd.8.in b/doc/eigrpd.8.in new file mode 100644 index 000000000..ecac972bc --- /dev/null +++ b/doc/eigrpd.8.in @@ -0,0 +1,122 @@ +.TH EIGRPD 8 "6 May 2017" "@PACKAGE_FULLNAME@ EIGRP daemon" "Version @PACKAGE_VERSION@" +.SH NAME +eigrpd \- a EIGRP routing engine for use with @PACKAGE_FULLNAME@. +.SH SYNOPSIS +.B eigrpd +[ +.B \-dhrv +] [ +.B \-f +.I config-file +] [ +.B \-i +.I pid-file +] [ +.B \-P +.I port-number +] [ +.B \-A +.I vty-address +] [ +.B \-u +.I user +] [ +.B \-g +.I group +] [ +.B \-M +.I module:options +] +.SH DESCRIPTION +.B eigrpd +is a routing component that works with the +.B @PACKAGE_FULLNAME@ +routing engine. +.SH OPTIONS +Options available for the +.B eigrpd +command: +.SH OPTIONS +.TP +\fB\-d\fR, \fB\-\-daemon\fR +Runs in daemon mode, forking and exiting from tty. +.TP +\fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR +Specifies the config file to use for startup. If not specified this +option will default to \fB\fI@CFG_SYSCONF@/eigrpd.conf\fR. +.TP +\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR +Specify the group to run as. Default is \fI@enable_group@\fR. +.TP +\fB\-h\fR, \fB\-\-help\fR +A brief message. +.TP +\fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR +When eigrpd starts its process identifier is written to +\fB\fIpid-file\fR. The init system uses the recorded PID to stop or +restart eigrpd. The default is \fB\fI@CFG_STATE@/eigrpd.pid\fR. +.TP +\fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR +Specify the port that the eigrpd VTY will listen on. This defaults to +2602, as specified in \fB\fI/etc/services\fR. +.TP +\fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR +Specify the address that the eigrpd VTY will listen on. Default is all +interfaces. +.TP +\fB\-u\fR, \fB\-\-user \fR\fIuser\fR +Specify the user to run as. Default is \fI@enable_user@\fR. +.TP +\fB\-r\fR, \fB\-\-retain\fR +When the program terminates, retain routes added by \fBeigrpd\fR. +.TP +\fB\-M\fR, \fB\-\-module \fR\fImodule:options\fR +Load a module at startup. May be specified more than once. +The \fBsnmp\fR module may be available for +\fBeigrpd\fR, if the package was built with SNMP support. +.TP +\fB\-v\fR, \fB\-\-version\fR +Print the version and exit. +.SH FILES +.TP +.BI @CFG_SBIN@/eigrpd +The default location of the +.B eigrpd +binary. +.TP +.BI @CFG_SYSCONF@/eigrpd.conf +The default location of the +.B eigrpd +config file. +.TP +.BI $(PWD)/eigrpd.log +If the +.B eigrpd +process is config'd to output logs to a file, then you will find this +file in the directory where you started \fBeigrpd\fR. +.SH WARNING +This man page is intended to be a quick reference for command line +options. The definitive document is the Info file \fB@PACKAGE_NAME@\fR. +.SH DIAGNOSTICS +The eigrpd process may log to standard output, to a VTY, to a log +file, or through syslog to the system logs. \fBeigrpd\fR supports many +debugging options, see the Info file, or the source for details. +.SH "SEE ALSO" +.BR bgpd (8), +.BR ripd (8), +.BR ripngd (8), +.BR ospfd (8), +.BR ospf6d (8), +.BR isisd (8), +.BR zebra (8), +.BR vtysh (1) +.SH BUGS +.B eigrpd +eats bugs for breakfast. If you have food for the maintainers try +.BI @PACKAGE_BUGREPORT@ +.SH AUTHORS +See +.BI http://www.zebra.org +and +.BI @PACKAGE_URL@ +or the Info file for an accurate list of authors. diff --git a/doc/eigrpd.texi b/doc/eigrpd.texi new file mode 100644 index 000000000..a3a82bbef --- /dev/null +++ b/doc/eigrpd.texi @@ -0,0 +1,216 @@ +@c -*-texinfo-*- +@c This is part of the Frr Manual. +@c @value{COPYRIGHT_STR} +@c See file frr.texi for copying conditions. +@node EIGRP +@chapter EIGRP + +EIGRP -- Routing Information Protocol is widely deployed interior gateway +routing protocol. EIGRP was developed in the 1990's. EIGRP is a +@dfn{distance-vector} protocol and is based on the @dfn{dual} algorithms. +As a distance-vector protocol, the EIGRP router send updates to its +neighbors as networks change, thus allowing the convergence to a +known topology. + +@command{eigrpd} supports EIGRP as described in RFC7868 + +@menu +* Starting and Stopping eigrpd:: +* EIGRP Configuration:: +* How to Announce EIGRP routes:: +* Show EIGRP Information:: +* EIGRP Debug Commands:: +@end menu + +@node Starting and Stopping eigrpd +@section Starting and Stopping eigrpd + +The default configuration file name of @command{eigrpd}'s is +@file{eigrpd.conf}. When invocation @command{eigrpd} searches directory +@value{INSTALL_PREFIX_ETC}. If @file{eigrpd.conf} is not there next +search current directory. If an integrated config is specified +configuration is written into frr.conf + +The EIGRP protocol requires interface information +maintained by @command{zebra} daemon. So running @command{zebra} +is mandatory to run @command{eigrpd}. Thus minimum sequence for running +EIGRP is like below: + +@example +@group +# zebra -d +# eigrpd -d +@end group +@end example + +Please note that @command{zebra} must be invoked before @command{eigrpd}. + +To stop @command{eigrpd}. Please use @command{kill `cat +/var/run/eigrpd.pid`}. Certain signals have special meanings to @command{eigrpd}. + +@table @samp +@item SIGHUP +@item SIGUSR1 +Rotate @command{eigrpd} Rotate the logfile. +@item SIGINT +@itemx SIGTERM +@command{eigrpd} sweeps all installed EIGRP routes then terminates properly. +@end table + +@command{eigrpd} invocation options. Common options that can be specified +(@pxref{Common Invocation Options}). + +@table @samp +@item -r +@itemx --retain +When the program terminates, retain routes added by @command{eigrpd}. +@end table + +@node EIGRP Configuration +@section EIGRP Configuration + +@deffn Command {router eigrp (1-65535)} {} +The @code{router eigrp} command is necessary to enable EIGRP. To disable +EIGRP, use the @code{no router eigrp (1-65535)} command. EIGRP must be enabled before carrying out any of the EIGRP commands. +@end deffn + +@deffn Command {no router eigrp (1-65535)} {} +Disable EIGRP. +@end deffn + +@deffn {EIGRP Command} {network @var{network}} {} +@deffnx {EIGRP Command} {no network @var{network}} {} +Set the EIGRP enable interface by @var{network}. The interfaces which +have addresses matching with @var{network} are enabled. + +This group of commands either enables or disables EIGRP interfaces between +certain numbers of a specified network address. For example, if the +network for 10.0.0.0/24 is EIGRP enabled, this would result in all the +addresses from 10.0.0.0 to 10.0.0.255 being enabled for EIGRP. The @code{no +network} command will disable EIGRP for the specified network. +@end deffn + +Below is very simple EIGRP configuration. Interface @code{eth0} and +interface which address match to @code{10.0.0.0/8} are EIGRP enabled. + +@example +@group +! +router eigrp 1 + network 10.0.0.0/8 +! +@end group +@end example + +Passive interface + +@deffn {EIGRP command} {passive-interface (@var{IFNAME}|default)} {} +@deffnx {EIGRP command} {no passive-interface @var{IFNAME}} {} +This command sets the specified interface to passive mode. On passive mode +interface, all receiving packets are ignored and eigrpd does +not send either multicast or unicast EIGRP packets except to EIGRP neighbors +specified with @code{neighbor} command. The interface may be specified +as @var{default} to make eigrpd default to passive on all interfaces. + +The default is to be passive on all interfaces. +@end deffn + +@node How to Announce EIGRP route +@section How to Announce EIGRP route + +@deffn {EIGRP command} {redistribute kernel} {} +@deffnx {EIGRP command} {redistribute kernel metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)} {} +@deffnx {EIGRP command} {no redistribute kernel} {} +@code{redistribute kernel} redistributes routing information from +kernel route entries into the EIGRP tables. @code{no redistribute kernel} +disables the routes. +@end deffn + +@deffn {EIGRP command} {redistribute static} {} +@deffnx {EIGRP command} {redistribute static metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)} {} +@deffnx {EIGRP command} {no redistribute static} {} +@code{redistribute static} redistributes routing information from +static route entries into the EIGRP tables. @code{no redistribute static} +disables the routes. +@end deffn + +@deffn {EIGRP command} {redistribute connected} {} +@deffnx {EIGRP command} {redistribute connected metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)} {} +@deffnx {EIGRP command} {no redistribute connected} {} +Redistribute connected routes into the EIGRP tables. @code{no +redistribute connected} disables the connected routes in the EIGRP tables. +This command redistribute connected of the interface which EIGRP disabled. +The connected route on EIGRP enabled interface is announced by default. +@end deffn + +@deffn {EIGRP command} {redistribute ospf} {} +@deffnx {EIGRP command} {redistribute ospf metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)} {} +@deffnx {EIGRP command} {no redistribute ospf} {} +@code{redistribute ospf} redistributes routing information from +ospf route entries into the EIGRP tables. @code{no redistribute ospf} +disables the routes. +@end deffn + +@deffn {EIGRP command} {redistribute bgp} {} +@deffnx {EIGRP command} {redistribute bgp metric (1-4294967295) (0-4294967295) (0-255) (1-255) (1-65535)} {} +@deffnx {EIGRP command} {no redistribute bgp} {} +@code{redistribute bgp} redistributes routing information from +bgp route entries into the EIGRP tables. @code{no redistribute bgp} +disables the routes. +@end deffn + +@node Show EIGRP Information +@section Show EIGRP Information + +To display EIGRP routes. + +@deffn Command {show ip eigrp topology} {} +Show EIGRP routes. +@end deffn + +The command displays all EIGRP routes. + +@c Exmaple here. + +@deffn Command {show ip eigrp topology} {} +The command displays current EIGRP status +@end deffn + +@example +@group +eigrpd> @b{show ip eigrp topology} +# show ip eigrp topo + +EIGRP Topology Table for AS(4)/ID(0.0.0.0) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply + r - reply Status, s - sia Status + +P 10.0.2.0/24, 1 successors, FD is 256256, serno: 0 + via Connected, enp0s3 +@end group +@end example + +@node EIGRP Debug Commands +@section EIGRP Debug Commands + +Debug for EIGRP protocol. + +@deffn Command {debug eigrp packets} {} +Debug eigrp packets +@end deffn + +@code{debug eigrp} will show EIGRP packets that are sent and recevied. + +@deffn Command {debug eigrp transmit} {} +Debug eigrp transmit events +@end deffn + +@code{debug eigrp transmit} will display detailed information about the EIGRP transmit events. + +@deffn Command {show debugging eigrp} {} +Display @command{eigrpd}'s debugging option. +@end deffn + +@code{show debugging eigrp} will show all information currently set for eigrpd +debug. |