paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | .TH BGPD 8 "July 2000" "Zebra Beast - BGPD" "Version 0.88" |
| 2 | |
| 3 | .SH NAME |
| 4 | bgpd \- a BGPv4, BGPv4+, BGPv4- routing engine for use with Zebra |
| 5 | |
| 6 | .SH SYNOPSIS |
| 7 | .B bgpd |
| 8 | [ |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 9 | .B \-dhpPrv |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 10 | ] |
| 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 | ] |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 26 | [ |
| 27 | .B \-A vty-address |
| 28 | ] |
| 29 | [ |
| 30 | .B \-u user |
| 31 | ] |
| 32 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 33 | |
| 34 | .SH DESCRIPTION |
| 35 | .B bgpd |
| 36 | is a routing component that works with the |
| 37 | .B zebra |
| 38 | routing engine. |
| 39 | |
| 40 | |
| 41 | .SH OPTIONS |
| 42 | |
| 43 | .TP |
| 44 | \fB\-d\fR, \fB\-\-daemon\fR |
| 45 | Runs in daemon mode, forking and exiting from tty. |
| 46 | |
| 47 | .TP |
| 48 | \fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR |
| 49 | Specifies the config file to use for startup. If not specified this |
| 50 | option will likely default to \fB\fI/usr/local/etc/bgpd.conf\fR. |
| 51 | |
| 52 | .TP |
| 53 | \fB\-h\fR, \fB\-\-help\fR |
| 54 | A brief message. |
| 55 | |
| 56 | .TP |
| 57 | \fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR |
| 58 | When bgpd starts its process idenifier is written to |
| 59 | \fB\fIpid-file\fR. The init system uses the recorded PID to stop or |
| 60 | restart 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 |
| 64 | Set the port that bgpd will listen to for bgp data. |
| 65 | |
| 66 | .TP |
| 67 | \fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR |
| 68 | Specify the port that the bgpd VTY will listen on. This defaults to |
| 69 | 2605, as specified in \fI/etc/services\fR. |
| 70 | |
| 71 | .TP |
hasso | 6c110e7 | 2003-11-27 13:02:03 +0000 | [diff] [blame] | 72 | \fB\-A\fR, \fB\-\-vty_addr \fR\fIvty-address\fR |
| 73 | Specify the address that the bgpd VTY will listen on. Default is all |
| 74 | intrefaces. |
| 75 | |
| 76 | .TP |
| 77 | \fB\-u\fR, \fB\-\-user \fR\fIuser\fR |
| 78 | Specify the user and group to run as. User and group have to have same |
| 79 | name at the moment. Default is \fIquagga\fR. |
| 80 | |
| 81 | .TP |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 82 | \fB\-r\fR, \fB\-\-retain\fR |
| 83 | When the program terminates, retain routes added by \fBbgpd\fR. |
| 84 | |
| 85 | .TP |
| 86 | \fB\-v\fR, \fB\-\-version\fR |
| 87 | Print 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 |
| 142 | The default location of the |
| 143 | .B bgpd |
| 144 | binary. |
| 145 | |
| 146 | .TP |
| 147 | .BI /usr/local/etc/bgpd.conf |
| 148 | The default location of the |
| 149 | .B bgpd |
| 150 | config file. |
| 151 | |
| 152 | .TP |
| 153 | .BI $(PWD)/bgpd.log |
| 154 | If the |
| 155 | .B bgpd |
| 156 | process is config'd to output logs to a file, then you will find this |
| 157 | file in the directory where you started \fBbgpd\fR. |
| 158 | |
| 159 | |
| 160 | .SH WARNING |
| 161 | This man page is intended as a quick reference for command line |
| 162 | options, and for config file commands. The definitive document is the |
| 163 | Info file \fBzebra\fR. |
| 164 | |
| 165 | |
| 166 | .SH DIAGNOSTICS |
| 167 | The bgpd process may log to standard output, to a VTY, to a log |
| 168 | file, or through syslog to the system logs. \fBbgpd\fR supports many |
| 169 | debugging options, see the Info file, or the source for details. |
| 170 | |
| 171 | |
| 172 | .SH "SEE ALSO" |
| 173 | References to other related man pages: |
| 174 | |
| 175 | ripd(8), ripngd(8), ospfd(8), ospf6d(8), zebra(8), vtysh(1) |
| 176 | |
| 177 | |
| 178 | .SH BUGS |
| 179 | .B bgpd |
| 180 | eats bugs for breakfast. If you have food for the maintainers try |
| 181 | .BI <bug-zebra@gnu.org> |
| 182 | |
| 183 | |
| 184 | .SH AUTHOR[S] |
| 185 | See <\fBwww.zebra.org\fR>, or the Info file for an accurate list of authors. |
| 186 | |