hasso | c065230 | 2004-11-25 19:33:48 +0000 | [diff] [blame] | 1 | .TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version 0.97.3" |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 2 | .SH NAME |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 3 | zebra \- a routing manager for use with associated Quagga components. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | .SH SYNOPSIS |
| 5 | .B zebra |
| 6 | [ |
| 7 | .B \-bdhklrv |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 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 |
hasso | c065230 | 2004-11-25 19:33:48 +0000 | [diff] [blame] | 23 | ] [ |
| 24 | .B \-g |
| 25 | .I group |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 26 | ] |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 27 | .SH DESCRIPTION |
| 28 | .B zebra |
| 29 | is a routing manager that implements the |
| 30 | .B zebra |
| 31 | route engine. |
| 32 | .B zebra |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 33 | supports RIPv1, RIPv2, RIPng, OSPF, OSPF6, IS-IS, BGP4+, and BGP4-. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 34 | .SH OPTIONS |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 35 | Options available for the |
| 36 | .B zebra |
| 37 | command: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 38 | .TP |
| 39 | \fB\-b\fR, \fB\-\-batch\fR |
| 40 | Runs in batch mode, \fBzebra\fR parses its config and exits. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 41 | .TP |
| 42 | \fB\-d\fR, \fB\-\-daemon\fR |
| 43 | Runs in daemon mode, forking and exiting from tty. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 44 | .TP |
| 45 | \fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR |
hasso | c065230 | 2004-11-25 19:33:48 +0000 | [diff] [blame] | 46 | Specifies the config file to use for startup. If not specified this |
| 47 | option will likely default to \fB\fI/usr/local/etc/zebra.conf\fR. |
| 48 | .TP |
| 49 | \fB\-g\fR, \fB\-\-group \fR\fIgroup\fR |
| 50 | Specify the group to run as. Default is \fIquagga\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 51 | .TP |
| 52 | \fB\-h\fR, \fB\-\-help\fR |
| 53 | A brief message. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 54 | .TP |
| 55 | \fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR |
ajs | a0e64a6 | 2005-04-22 13:14:49 +0000 | [diff] [blame] | 56 | When zebra starts its process identifier is written to |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 57 | \fB\fIpid-file\fR. The init system uses the recorded PID to stop or |
| 58 | restart zebra. The likely default is \fB\fI/var/run/zebra.pid\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 59 | .TP |
| 60 | \fB\-k\fR, \fB\-\-keep_kernel\fR |
| 61 | On startup, don't delete self inserted routes. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 62 | .TP |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 63 | \fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR |
| 64 | Specify the port that the zebra VTY will listen on. This defaults to |
Thijs Kinkhorst | 5b40b1b | 2009-07-21 19:24:29 +0400 | [diff] [blame] | 65 | 2601, as specified in \fB\fI/etc/services\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 66 | .TP |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 67 | \fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR |
| 68 | Specify the address that the zebra VTY will listen on. Default is all |
ajs | 151fe8a | 2005-04-22 12:56:37 +0000 | [diff] [blame] | 69 | interfaces. |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 70 | .TP |
| 71 | \fB\-u\fR, \fB\-\-user \fR\fIuser\fR |
hasso | c065230 | 2004-11-25 19:33:48 +0000 | [diff] [blame] | 72 | Specify the user to run as. Default is \fIquagga\fR. |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 73 | .TP |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 74 | \fB\-r\fR, \fB\-\-retain\fR |
| 75 | When the program terminates, retain routes added by \fBzebra\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | .TP |
hasso | c34b6b5 | 2004-08-31 13:41:49 +0000 | [diff] [blame] | 77 | \fB\-s\fR, \fB\-\-nl-bufsize \fR\fInetlink-buffer-size\fR |
| 78 | Set netlink receive buffer size. There are cases where zebra daemon can't |
| 79 | handle flood of netlink messages from kernel. If you ever see "recvmsg overrun" |
| 80 | messages in zebra log, you are in trouble. |
| 81 | |
| 82 | Solution is to increase receive buffer of netlink socket. Note that kernel |
Ulrich Weber | f1ef81b | 2013-01-22 10:39:18 +0000 | [diff] [blame] | 83 | < 2.6.14 doesn't allow to increase it over maximum value defined in |
hasso | c34b6b5 | 2004-08-31 13:41:49 +0000 | [diff] [blame] | 84 | \fI/proc/sys/net/core/rmem_max\fR. If you want to do it, you have to increase |
| 85 | maximum before starting zebra. |
| 86 | |
| 87 | Note that this affects Linux only. |
| 88 | .TP |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 89 | \fB\-v\fR, \fB\-\-version\fR |
| 90 | Print the version and exit. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 91 | .SH FILES |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 92 | .TP |
| 93 | .BI /usr/local/sbin/zebra |
| 94 | The default location of the |
| 95 | .B zebra |
| 96 | binary. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 97 | .TP |
| 98 | .BI /usr/local/etc/zebra.conf |
| 99 | The default location of the |
| 100 | .B zebra |
| 101 | config file. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 102 | .TP |
| 103 | .BI $(PWD)/zebra.log |
| 104 | If the |
| 105 | .B zebra |
| 106 | process is config'd to output logs to a file, then you will find this |
| 107 | file in the directory where you started \fBzebra\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 108 | .SH WARNING |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 109 | This man page is intended to be a quick reference for command line |
| 110 | options. The definitive document is the Info file \fBQuagga\fR. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 111 | .SH DIAGNOSTICS |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 112 | The zebra process may log to standard output, to a VTY, to a log |
| 113 | file, or through syslog to the system logs. \fBzebra\fR supports many |
| 114 | debugging options, see the Info file, or the source for details. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 115 | .SH "SEE ALSO" |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 116 | .BR bgpd (8), |
| 117 | .BR ripd (8), |
| 118 | .BR ripngd (8), |
| 119 | .BR ospfd (8), |
| 120 | .BR ospf6d (8), |
| 121 | .BR isisd (8), |
| 122 | .BR vtysh (1) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 123 | .SH BUGS |
| 124 | .B zebra |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 125 | eats bugs for breakfast. If you have food for the maintainers try |
hasso | 2f04e67 | 2004-02-20 18:53:22 +0000 | [diff] [blame] | 126 | .BI http://bugzilla.quagga.net |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 127 | .SH AUTHORS |
| 128 | See |
| 129 | .BI http://www.zebra.org |
| 130 | and |
Denis Ovsienko | 2bbd71a | 2009-06-01 20:07:46 +0400 | [diff] [blame] | 131 | .BI http://www.quagga.net |
hasso | 246c135 | 2004-08-10 12:00:34 +0000 | [diff] [blame] | 132 | or the Info file for an accurate list of authors. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 133 | |