blob: 176bbe831511e4d53b3934bdbd4bbbf1d93827f5 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001.TH BGPD 8 "July 2000" "Zebra Beast - BGPD" "Version 0.88"
2
3.SH NAME
4bgpd \- a BGPv4, BGPv4+, BGPv4- routing engine for use with Zebra
5
6.SH SYNOPSIS
7.B bgpd
8[
hasso2f04e672004-02-20 18:53:22 +00009.B \-dhrv
paul718e3742002-12-13 20:15:29 +000010]
11[
12.B \-f config-file
13]
14[
15.B \-i pid-file
16]
17[
18.B \-p bgp-port-number
19]
20[
21.B \--bgp_port=port-number
22]
23[
24.B \-P vty-port-number
25]
hasso6c110e72003-11-27 13:02:03 +000026[
27.B \-A vty-address
28]
29[
30.B \-u user
31]
32
paul718e3742002-12-13 20:15:29 +000033
34.SH DESCRIPTION
35.B bgpd
36is a routing component that works with the
37.B zebra
38routing engine.
39
40
41.SH OPTIONS
42
43.TP
44\fB\-d\fR, \fB\-\-daemon\fR
45Runs in daemon mode, forking and exiting from tty.
46
47.TP
48\fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR
49Specifies the config file to use for startup. If not specified this
50option will likely default to \fB\fI/usr/local/etc/bgpd.conf\fR.
51
52.TP
53\fB\-h\fR, \fB\-\-help\fR
54A brief message.
55
56.TP
57\fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR
58When bgpd starts its process idenifier is written to
59\fB\fIpid-file\fR. The init system uses the recorded PID to stop or
60restart bgpd. The likely default is \fB\fI/var/run/bgpd.pid\fR.
61
62.TP
63\fB\-p\fR, \fB\-\-bgp_port=\fR\fIport\fR
64Set the port that bgpd will listen to for bgp data.
65
66.TP
67\fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR
68Specify the port that the bgpd VTY will listen on. This defaults to
692605, as specified in \fI/etc/services\fR.
70
71.TP
hasso6c110e72003-11-27 13:02:03 +000072\fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR
73Specify the address that the bgpd VTY will listen on. Default is all
74intrefaces.
75
76.TP
77\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
78Specify the user and group to run as. User and group have to have same
79name at the moment. Default is \fIquagga\fR.
80
81.TP
paul718e3742002-12-13 20:15:29 +000082\fB\-r\fR, \fB\-\-retain\fR
83When the program terminates, retain routes added by \fBbgpd\fR.
84
85.TP
86\fB\-v\fR, \fB\-\-version\fR
87Print the version and exit.
88
89
90.SH COMMANDS
91
92\fB router zebra \fR -- (Move routes into kernel table)
93\fB router bgp [AS-NUMBER] \fR
94
95\fB bgp router-id [BGP-ROUTER-ID] \fR
96
97\fB network [NETWORK] area [BGP-AREA-ID] \fR
98\fB no network [NETWORK] \fR
99
100\fB aggregate-address [NETWORK] \fR
101
102\fB neighbor [PEER-IP-ADDRESS] remote-as [REMOTE-AS] \fR
103\fB neighbor [PEER-IP-ADDRESS] version [ 4 | 4+ | 4- ] \fR
104
105\fB neighbor [PEER-IP-ADDRESS] description \fR
106\fB no neighbor [PEER-IP-ADDRESS] description \fR
107
108\fB neighbor [PEER-IP-ADDRESS] route-map [in | out] \fR
109\fB neighbor [PEER-IP-ADDRESS] distribute-list [in | out] \fR
110\fB neighbor [PEER-IP-ADDRESS] next-hop-self \fR
111\fB neighbor [PEER-IP-ADDRESS] weight [WEIGHT] \fR
112\fB neighbor [PEER-IP-ADDRESS] default-originate \fR
113\fB neighbor [PEER-IP-ADDRESS] ebgp-multihop \fR
114
115\fB neighbor [PEER-IP-ADDRESS] shutdown \fR
116\fB no neighbor [PEER-IP-ADDRESS] shutdown \fR
117
118\fB clear ip bgp [PEER-IP-ADDRESS] \fR
119
120\fB show ip bgp [NETWORK] \fR
121\fB show ip bgp reg-exp [AS-REGEXP] \fR
122\fB show ip bgp summary \fR
123\fB show ip bgp neighbor [PEER-IP-ADDRESS] \fR
124\fB show ip bgp route \fR
125
126\fB show debug \fR
127
128\fB debug bgp \fR
129\fB debug event \fR
130\fB debug update \fR
131\fB debug keepalive \fR
132
133\fB no debug event \fR
134\fB no debug update \fR
135\fB no debug keepalive \fR
136
137
138.SH FILES
139
140.TP
141.BI /usr/local/sbin/bgpd
142The default location of the
143.B bgpd
144binary.
145
146.TP
147.BI /usr/local/etc/bgpd.conf
148The default location of the
149.B bgpd
150config file.
151
152.TP
153.BI $(PWD)/bgpd.log
154If the
155.B bgpd
156process is config'd to output logs to a file, then you will find this
157file in the directory where you started \fBbgpd\fR.
158
159
160.SH WARNING
161This man page is intended as a quick reference for command line
162options, and for config file commands. The definitive document is the
163Info file \fBzebra\fR.
164
165
166.SH DIAGNOSTICS
167The bgpd process may log to standard output, to a VTY, to a log
168file, or through syslog to the system logs. \fBbgpd\fR supports many
169debugging options, see the Info file, or the source for details.
170
171
172.SH "SEE ALSO"
173References to other related man pages:
174
175ripd(8), ripngd(8), ospfd(8), ospf6d(8), zebra(8), vtysh(1)
176
177
178.SH BUGS
179.B bgpd
180eats bugs for breakfast. If you have food for the maintainers try
hasso2f04e672004-02-20 18:53:22 +0000181.BI http://bugzilla.quagga.net
paul718e3742002-12-13 20:15:29 +0000182
183
184.SH AUTHOR[S]
185See <\fBwww.zebra.org\fR>, or the Info file for an accurate list of authors.
186