]>
Commit | Line | Data |
---|---|---|
a1e276e1 QY |
1 | ***** |
2 | ZEBRA | |
3 | ***** | |
4 | ||
12b7724f | 5 | .. include:: defines.rst |
a1e276e1 QY |
6 | .. |DAEMON| replace:: zebra |
7 | ||
8 | SYNOPSIS | |
9 | ======== | |
10 | |DAEMON| |synopsis-options-hv| | |
11 | ||
12 | |DAEMON| |synopsis-options| | |
13 | ||
14 | DESCRIPTION | |
15 | =========== | |
16 | |DAEMON| is a routing manager that implements the zebra route engine. zebra supports all protocol daemons in the FRRouting suite. | |
17 | ||
18 | OPTIONS | |
19 | ======= | |
20 | OPTIONS available for the |DAEMON| command: | |
21 | ||
22 | .. include:: common-options.rst | |
23 | ||
24 | .. option:: -b, --batch | |
25 | ||
26 | Runs in batch mode, zebra parses its config and exits. | |
27 | ||
28 | .. option:: -k, --keep_kernel | |
29 | ||
30 | On startup, don't delete self inserted routes. | |
31 | ||
32 | .. option:: -s, --nl-bufsize <netlink-buffer-size> | |
33 | ||
34 | Set netlink receive buffer size. There are cases where zebra daemon can't handle flood of netlink messages from kernel. If you ever see "recvmsg overrun" messages in zebra log, you are in trouble. | |
35 | ||
4e69658c | 36 | Solution is to increase receive buffer of netlink socket. Note that kernel < 2.6.14 doesn't allow increasing it over maximum value defined in /proc/sys/net/core/rmem_max. If you want to do it, you have to increase maximum before starting zebra. |
a1e276e1 QY |
37 | |
38 | Note that this affects Linux only. | |
39 | ||
a9757448 QY |
40 | |
41 | .. option:: -n, --vrfwnetns | |
42 | ||
43 | Enable namespace VRF backend. By default, the VRF backend relies on VRF-lite support from the Linux kernel. This option permits discovering Linux named network namespaces and mapping it to FRR VRF contexts. | |
44 | ||
da7e1a92 QY |
45 | ROUTES |
46 | ------ | |
47 | ||
48 | .. option:: -r, --retain | |
49 | ||
50 | When the program terminates, do not flush routes installed by zebra from the kernel. | |
51 | ||
52 | ||
a1e276e1 QY |
53 | FILES |
54 | ===== | |
55 | ||
56 | |INSTALL_PREFIX_SBIN|/|DAEMON| | |
57 | The default location of the |DAEMON| binary. | |
58 | ||
59 | |INSTALL_PREFIX_ETC|/|DAEMON|.conf | |
60 | The default location of the |DAEMON| config file. | |
61 | ||
62 | $(PWD)/|DAEMON|.log | |
63 | If the |DAEMON| process is configured to output logs to a file, then you | |
64 | will find this file in the directory where you started |DAEMON|. | |
65 | ||
66 | .. include:: epilogue.rst | |
67 |