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