]> git.proxmox.com Git - mirror_frr.git/blame - doc/zebra.8.in
ospf6d: Intra-prefix LSA update after frr restart
[mirror_frr.git] / doc / zebra.8.in
CommitLineData
a07169b1 1.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version @PACKAGE_VERSION@"
718e3744 2.SH NAME
a07169b1 3zebra \- a routing manager for use with associated @PACKAGE_FULLNAME@ components.
718e3744 4.SH SYNOPSIS
5.B zebra
6[
7.B \-bdhklrv
246c135e 8] [
9.B \-f
10.I config-file
11] [
12.B \-i
13.I pid-file
14] [
15.B \-P
16.I port-number
17] [
18.B \-A
19.I vty-address
20] [
21.B \-u
22.I user
c065230a 23] [
24.B \-g
25.I group
6b0275ac
DL
26] [
27.B \-M
28.I module:options
689f5a8c
DL
29] [
30.B \-z
31.I socketpath
718e3744 32]
718e3744 33.SH DESCRIPTION
34.B zebra
35is a routing manager that implements the
36.B zebra
37route engine.
38.B zebra
246c135e 39supports RIPv1, RIPv2, RIPng, OSPF, OSPF6, IS-IS, BGP4+, and BGP4-.
718e3744 40.SH OPTIONS
246c135e 41Options available for the
42.B zebra
43command:
718e3744 44.TP
45\fB\-b\fR, \fB\-\-batch\fR
46Runs in batch mode, \fBzebra\fR parses its config and exits.
718e3744 47.TP
48\fB\-d\fR, \fB\-\-daemon\fR
49Runs in daemon mode, forking and exiting from tty.
718e3744 50.TP
51\fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR
c065230a 52Specifies the config file to use for startup. If not specified this
a07169b1 53option will default to \fB\fI@CFG_SYSCONF@/zebra.conf\fR.
c065230a 54.TP
55\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
a07169b1 56Specify the group to run as. Default is \fI@enable_group@\fR.
718e3744 57.TP
58\fB\-h\fR, \fB\-\-help\fR
59A brief message.
718e3744 60.TP
61\fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR
a0e64a63 62When zebra starts its process identifier is written to
718e3744 63\fB\fIpid-file\fR. The init system uses the recorded PID to stop or
a07169b1 64restart zebra. The default is \fB\fI@CFG_STATE@/zebra.pid\fR.
718e3744 65.TP
66\fB\-k\fR, \fB\-\-keep_kernel\fR
67On startup, don't delete self inserted routes.
718e3744 68.TP
718e3744 69\fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR
70Specify the port that the zebra VTY will listen on. This defaults to
5b40b1b5 712601, as specified in \fB\fI/etc/services\fR.
6c110e70 72.TP
73\fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR
74Specify the address that the zebra VTY will listen on. Default is all
151fe8a4 75interfaces.
6c110e70 76.TP
77\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
a07169b1 78Specify the user to run as. Default is \fI@enable_user@\fR.
718e3744 79.TP
80\fB\-r\fR, \fB\-\-retain\fR
81When the program terminates, retain routes added by \fBzebra\fR.
718e3744 82.TP
c34b6b57 83\fB\-s\fR, \fB\-\-nl-bufsize \fR\fInetlink-buffer-size\fR
84Set netlink receive buffer size. There are cases where zebra daemon can't
85handle flood of netlink messages from kernel. If you ever see "recvmsg overrun"
86messages in zebra log, you are in trouble.
87
88Solution is to increase receive buffer of netlink socket. Note that kernel
f1ef81b2 89< 2.6.14 doesn't allow to increase it over maximum value defined in
c34b6b57 90\fI/proc/sys/net/core/rmem_max\fR. If you want to do it, you have to increase
91maximum before starting zebra.
92
93Note that this affects Linux only.
94.TP
822160db
PG
95\fB\-n\fR, \fB\-\-vrfwnetns \fR\fIEnable namespace VRF\fR
96Enable namespace VRF backend. By default, the VRF backend relies on VRF-lite
97support from Linux devices. This option permits discovering using Linux named
98Netns and map it to FRR VRF contexts.
99.TP
6b0275ac
DL
100\fB\-M\fR, \fB\-\-module \fR\fImodule:options\fR
101Load a module at startup. May be specified more than once.
102The \fBsnmp\fR and \fBfpm\fR modules may be
103available for \fBzebra\fR, if the package was built with SNMP and FPM support
104respectively. The \fBfpm\fR module takes an additional colon-separated
105argument specifying the encapsulation, either \fBnetlink\fR or \fBprotobuf\fR.
106It should thus be loaded with \fB-M fpm:netlink\fR or \fB-M fpm:protobuf\fR.
107.TP
689f5a8c
DL
108\fB\-z\fR, \fB\-\-socket \fR\fIsocketpath\fR
109Use the specified path to open the zebra API socket on.
110The default is \fB\fI@CFG_STATE@/zserv.api\fR. This option must be given with
111the same value to all FRR protocol daemons.
689f5a8c 112.TP
718e3744 113\fB\-v\fR, \fB\-\-version\fR
114Print the version and exit.
718e3744 115.SH FILES
718e3744 116.TP
a07169b1 117.BI @CFG_SBIN@/zebra
718e3744 118The default location of the
119.B zebra
120binary.
718e3744 121.TP
a07169b1 122.BI @CFG_SYSCONF@/zebra.conf
718e3744 123The default location of the
124.B zebra
125config file.
718e3744 126.TP
127.BI $(PWD)/zebra.log
128If the
129.B zebra
130process is config'd to output logs to a file, then you will find this
131file in the directory where you started \fBzebra\fR.
718e3744 132.SH WARNING
246c135e 133This man page is intended to be a quick reference for command line
a07169b1 134options. The definitive document is the Info file \fB@PACKAGE_NAME@\fR.
718e3744 135.SH DIAGNOSTICS
246c135e 136The zebra process may log to standard output, to a VTY, to a log
137file, or through syslog to the system logs. \fBzebra\fR supports many
138debugging options, see the Info file, or the source for details.
718e3744 139.SH "SEE ALSO"
246c135e 140.BR bgpd (8),
141.BR ripd (8),
142.BR ripngd (8),
143.BR ospfd (8),
144.BR ospf6d (8),
145.BR isisd (8),
caba6093 146.BR nhrpd (8),
246c135e 147.BR vtysh (1)
718e3744 148.SH BUGS
149.B zebra
246c135e 150eats bugs for breakfast. If you have food for the maintainers try
a07169b1 151.BI @PACKAGE_BUGREPORT@
246c135e 152.SH AUTHORS
153See
154.BI http://www.zebra.org
155and
a07169b1 156.BI @PACKAGE_URL@
246c135e 157or the Info file for an accurate list of authors.
718e3744 158