zebra.8 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .TH ZEBRA 8 "July 2000" "Zebra" "Version 0.88"
  2. .SH NAME
  3. zebra \- a routing manager for use with associated components
  4. .SH SYNOPSIS
  5. .B zebra
  6. [
  7. .B \-bdhklrv
  8. ]
  9. [
  10. .B \-f config-file
  11. ]
  12. [
  13. .B \-i pid-file
  14. ]
  15. [
  16. .B \-P port-number
  17. ]
  18. [
  19. .B \-A vty-address
  20. ]
  21. [
  22. .B \-u user
  23. ]
  24. .SH DESCRIPTION
  25. .B zebra
  26. is a routing manager that implements the
  27. .B zebra
  28. route engine.
  29. .B zebra
  30. supports RIPv1, RIPv2, RIPng, OSPF, OSPF6, BGP4+, and BGP4-.
  31. .SH OPTIONS
  32. .TP
  33. \fB\-b\fR, \fB\-\-batch\fR
  34. Runs in batch mode, \fBzebra\fR parses its config and exits.
  35. .TP
  36. \fB\-d\fR, \fB\-\-daemon\fR
  37. Runs in daemon mode, forking and exiting from tty.
  38. .TP
  39. \fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR
  40. Specifies the config file to use for startup. If not specified this option will likely default to \fB\fI/usr/local/etc/zebra.conf\fR.
  41. .TP
  42. \fB\-h\fR, \fB\-\-help\fR
  43. A brief message.
  44. .TP
  45. \fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR
  46. When zebra starts its process idenifier is written to
  47. \fB\fIpid-file\fR. The init system uses the recorded PID to stop or
  48. restart zebra. The likely default is \fB\fI/var/run/zebra.pid\fR.
  49. .TP
  50. \fB\-k\fR, \fB\-\-keep_kernel\fR
  51. On startup, don't delete self inserted routes.
  52. .TP
  53. \fB\-l\fR, \fB\-\-log_mode\fR
  54. Turn verbose logging on.
  55. .TP
  56. \fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR
  57. Specify the port that the zebra VTY will listen on. This defaults to
  58. 2602, as specified in \fB\fI/etc/services\fR.
  59. .TP
  60. \fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR
  61. Specify the address that the zebra VTY will listen on. Default is all
  62. intrefaces.
  63. .TP
  64. \fB\-u\fR, \fB\-\-user \fR\fIuser\fR
  65. Specify the user and group to run as. User and group have to have same
  66. name at the moment. Default is \fIquagga\fR.
  67. .TP
  68. \fB\-r\fR, \fB\-\-retain\fR
  69. When the program terminates, retain routes added by \fBzebra\fR.
  70. .TP
  71. \fB\-v\fR, \fB\-\-version\fR
  72. Print the version and exit.
  73. .SH COMMANDS
  74. \fB table [TABLENO] \fR -- for use with multi-table kernels
  75. \fB ip route [NETWORK] [GATEWAY] \fR
  76. \fB ipv6 route [NETWORK] [GATEWAY] \fR
  77. \fB show ip route \fR
  78. \fB show ipv6 route \fR
  79. \fB show interface \fR
  80. \fB show ipforward \fR
  81. \fB show ipv6forward \fR
  82. .TP
  83. \fB interface [IFNAME] \fR
  84. \fB shutdown \fR
  85. \fB no shutdown \fR
  86. \fB ip address [IP-ADDRESS] \fR
  87. \fB description [DESCRIPTION] \fR
  88. \fB multicast \fR
  89. \fB no multicast \fR
  90. .SH FILES
  91. .TP
  92. .BI /usr/local/sbin/zebra
  93. The default location of the
  94. .B zebra
  95. binary.
  96. .TP
  97. .BI /usr/local/etc/zebra.conf
  98. The default location of the
  99. .B zebra
  100. config file.
  101. .TP
  102. .BI $(PWD)/zebra.log
  103. If the
  104. .B zebra
  105. process is config'd to output logs to a file, then you will find this
  106. file in the directory where you started \fBzebra\fR.
  107. .SH WARNING
  108. This man page is intended as a quick reference for command line options, and for config file commands. The definitive document is the Info file \fBzebra\fR.
  109. .SH DIAGNOSTICS
  110. The zebra process may log to standard output, to a VTY, to a log file, or through syslog to the system logs.
  111. .B zebra
  112. supports many debugging options, see the Info file, or the source for details.
  113. .SH "SEE ALSO"
  114. References to other related man pages:
  115. ripngd(8), ospfd(8), ospf6d(8), bgpd(8), zebra(8), vtysh(1)
  116. .SH BUGS
  117. .B zebra
  118. eats bugs for breakfast. If you have food for the maintainers try
  119. .BI <bug-zebra@gnu.org>
  120. .SH AUTHOR[S]
  121. See <\fBwww.zebra.org\fR>, or the Info file for an accurate list of authors.