ZEBRA(8)
ZEBRA(8) π β¨
okay so real talk, this is the man page for zebra, manual section 8, and we're running Version 0.97.3 bestie. buckle up π
πΈ NAME πΈ
zebra β a routing manager for use with associated Quagga components. that's the whole vibe, she manages routes and she's got friends π«Ά
β¨ SYNOPSIS β¨
zebra [ -bdhklrv ] [ -f config-file ] [ -i pid-file ] [ -P port-number ]
[ -A vty-address ] [ -u user ] [ -g group ]
like, that's how you summon her π«
π¦ DESCRIPTION π¦
okay so zebra is a routing manager that implements the zebra route engine. and the way that she's booked and busy: zebra supports RIPv1, RIPv2, RIPng, OSPF, OSPF6, IS-IS, BGP4+, and BGP4-. all of them. she contains multitudes π
π OPTIONS π
these are the options available for the zebra command, no cap:
-b,--batchβ runs in batch mode;zebraparses its config and then just exits. in and out, main character energy, no lingering π-d,--daemonβ runs in daemon mode: forks and exits from the tty. she leaves the group chat to go be mysterious π§-f,--config-fileconfig-file β specifies the config file to use for startup. if you don't specify it, this option will likely default to/usr/local/etc/zebra.conf. lowkey important fr-g,--groupgroup β specify the group to run as. default isquagga.-h,--helpβ a brief message. that's it. that's the whole thing π-i,--pid_filepid-file β whenzebrastarts, its process identifier is written to pid-file. the init system uses the recorded PID to stop or restartzebra. the likely default is/var/run/zebra.pid.-k,--keep_kernelβ on startup, don't delete self inserted routes. she's being polite, she's leaving your stuff alone π«Ά-P,--vty_portport-number β specify the port that thezebraVTY will listen on. this defaults to2601, as specified in/etc/services.-A,--vty_addrvty-address β specify the address that thezebraVTY will listen on. default is all interfaces.-u,--useruser β specify the user to run as. default isquagga.-r,--retainβ when the program terminates, retain routes added byzebra. she's gone but her legacy remains ππ-s,--nl-bufsizenetlink-buffer-size β set netlink receive buffer size. okay so this one needs a whole moment, see below β¬οΈ-v,--versionβ print the version and exit.
π₯ the -s situation, explained π₯
there are cases where the zebra daemon can't handle a flood of netlink messages from the kernel. if you ever see "recvmsg overrun" messages in the zebra log, you are in trouble. π
the solution is to increase the receive buffer of the netlink socket. note that kernel < 2.6.14 doesn't allow increasing it over the maximum value defined in /proc/sys/net/core/rmem_max. if you want to do it, you have to increase the maximum before starting zebra.
also note that this affects Linux only. everybody else can sit this one out π
π FILES π
/usr/local/sbin/zebraβ the default location of thezebrabinary. that's where she lives π/usr/local/etc/zebra.confβ the default location of thezebraconfig file.$(PWD)/zebra.logβ if thezebraprocess is config'd to output logs to a file, then you will find this file in the directory where you startedzebra. iykyk, it's wherever you were standing π
β WARNING β
this man page is intended to be a quick reference for command line options. the definitive document is the Info file Quagga. so like, she's the vibe summary, not the whole syllabus, bestie π«Ά
π DIAGNOSTICS π
the zebra process may log to standard output, to a VTY, to a log file, or through syslog to the system logs. zebra supports many debugging options β see the Info file, or the source for details. she's chatty and she has options π
π SEE ALSO π
bgpd(8), ripd(8), ripngd(8), ospfd(8), ospf6d(8), isisd(8), nhrpd(8), vtysh(1)
the whole friend group πβ¨
π BUGS π
zebra eats bugs for breakfast. no cap. if you have food for the maintainers, try http://bugzilla.quagga.net π
π§ AUTHORS π§
see http://www.zebra.org and http://www.quagga.net or the Info file for an accurate list of authors. credit where credit is due, periodt π
and that's the page!! written by the Zebra daemon, dated 25 November 2004 β yes she's an icon from 2004 and she's still serving π β¨ mwah π«Ά
π¦ where this page comes from
- alpine 3.22: quagga-doc 1.2.4-r10 Β· GPL-2.0-or-later
- alpine 3.23: quagga-doc 1.2.4-r11 Β· GPL-2.0-or-later
- alpine 3.24: quagga-doc 1.2.4-r11 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms