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 | [ |
| 9 | .B \-dhpPv |
| 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 | ] |
| 26 | |
| 27 | .SH DESCRIPTION |
| 28 | .B bgpd |
| 29 | is a routing component that works with the |
| 30 | .B zebra |
| 31 | routing engine. |
| 32 | |
| 33 | |
| 34 | .SH OPTIONS |
| 35 | |
| 36 | .TP |
| 37 | \fB\-d\fR, \fB\-\-daemon\fR |
| 38 | Runs in daemon mode, forking and exiting from tty. |
| 39 | |
| 40 | .TP |
| 41 | \fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR |
| 42 | Specifies the config file to use for startup. If not specified this |
| 43 | option will likely default to \fB\fI/usr/local/etc/bgpd.conf\fR. |
| 44 | |
| 45 | .TP |
| 46 | \fB\-h\fR, \fB\-\-help\fR |
| 47 | A brief message. |
| 48 | |
| 49 | .TP |
| 50 | \fB\-i\fR, \fB\-\-pid_file \fR\fIpid-file\fR |
| 51 | When bgpd starts its process idenifier is written to |
| 52 | \fB\fIpid-file\fR. The init system uses the recorded PID to stop or |
| 53 | restart bgpd. The likely default is \fB\fI/var/run/bgpd.pid\fR. |
| 54 | |
| 55 | .TP |
| 56 | \fB\-p\fR, \fB\-\-bgp_port=\fR\fIport\fR |
| 57 | Set the port that bgpd will listen to for bgp data. |
| 58 | |
| 59 | .TP |
| 60 | \fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR |
| 61 | Specify the port that the bgpd VTY will listen on. This defaults to |
| 62 | 2605, as specified in \fI/etc/services\fR. |
| 63 | |
| 64 | .TP |
| 65 | \fB\-r\fR, \fB\-\-retain\fR |
| 66 | When the program terminates, retain routes added by \fBbgpd\fR. |
| 67 | |
| 68 | .TP |
| 69 | \fB\-v\fR, \fB\-\-version\fR |
| 70 | Print the version and exit. |
| 71 | |
| 72 | |
| 73 | .SH COMMANDS |
| 74 | |
| 75 | \fB router zebra \fR -- (Move routes into kernel table) |
| 76 | \fB router bgp [AS-NUMBER] \fR |
| 77 | |
| 78 | \fB bgp router-id [BGP-ROUTER-ID] \fR |
| 79 | |
| 80 | \fB network [NETWORK] area [BGP-AREA-ID] \fR |
| 81 | \fB no network [NETWORK] \fR |
| 82 | |
| 83 | \fB aggregate-address [NETWORK] \fR |
| 84 | |
| 85 | \fB neighbor [PEER-IP-ADDRESS] remote-as [REMOTE-AS] \fR |
| 86 | \fB neighbor [PEER-IP-ADDRESS] version [ 4 | 4+ | 4- ] \fR |
| 87 | |
| 88 | \fB neighbor [PEER-IP-ADDRESS] description \fR |
| 89 | \fB no neighbor [PEER-IP-ADDRESS] description \fR |
| 90 | |
| 91 | \fB neighbor [PEER-IP-ADDRESS] route-map [in | out] \fR |
| 92 | \fB neighbor [PEER-IP-ADDRESS] distribute-list [in | out] \fR |
| 93 | \fB neighbor [PEER-IP-ADDRESS] next-hop-self \fR |
| 94 | \fB neighbor [PEER-IP-ADDRESS] weight [WEIGHT] \fR |
| 95 | \fB neighbor [PEER-IP-ADDRESS] default-originate \fR |
| 96 | \fB neighbor [PEER-IP-ADDRESS] ebgp-multihop \fR |
| 97 | |
| 98 | \fB neighbor [PEER-IP-ADDRESS] shutdown \fR |
| 99 | \fB no neighbor [PEER-IP-ADDRESS] shutdown \fR |
| 100 | |
| 101 | \fB clear ip bgp [PEER-IP-ADDRESS] \fR |
| 102 | |
| 103 | \fB show ip bgp [NETWORK] \fR |
| 104 | \fB show ip bgp reg-exp [AS-REGEXP] \fR |
| 105 | \fB show ip bgp summary \fR |
| 106 | \fB show ip bgp neighbor [PEER-IP-ADDRESS] \fR |
| 107 | \fB show ip bgp route \fR |
| 108 | |
| 109 | \fB show debug \fR |
| 110 | |
| 111 | \fB debug bgp \fR |
| 112 | \fB debug event \fR |
| 113 | \fB debug update \fR |
| 114 | \fB debug keepalive \fR |
| 115 | |
| 116 | \fB no debug event \fR |
| 117 | \fB no debug update \fR |
| 118 | \fB no debug keepalive \fR |
| 119 | |
| 120 | |
| 121 | .SH FILES |
| 122 | |
| 123 | .TP |
| 124 | .BI /usr/local/sbin/bgpd |
| 125 | The default location of the |
| 126 | .B bgpd |
| 127 | binary. |
| 128 | |
| 129 | .TP |
| 130 | .BI /usr/local/etc/bgpd.conf |
| 131 | The default location of the |
| 132 | .B bgpd |
| 133 | config file. |
| 134 | |
| 135 | .TP |
| 136 | .BI $(PWD)/bgpd.log |
| 137 | If the |
| 138 | .B bgpd |
| 139 | process is config'd to output logs to a file, then you will find this |
| 140 | file in the directory where you started \fBbgpd\fR. |
| 141 | |
| 142 | |
| 143 | .SH WARNING |
| 144 | This man page is intended as a quick reference for command line |
| 145 | options, and for config file commands. The definitive document is the |
| 146 | Info file \fBzebra\fR. |
| 147 | |
| 148 | |
| 149 | .SH DIAGNOSTICS |
| 150 | The bgpd process may log to standard output, to a VTY, to a log |
| 151 | file, or through syslog to the system logs. \fBbgpd\fR supports many |
| 152 | debugging options, see the Info file, or the source for details. |
| 153 | |
| 154 | |
| 155 | .SH "SEE ALSO" |
| 156 | References to other related man pages: |
| 157 | |
| 158 | ripd(8), ripngd(8), ospfd(8), ospf6d(8), zebra(8), vtysh(1) |
| 159 | |
| 160 | |
| 161 | .SH BUGS |
| 162 | .B bgpd |
| 163 | eats bugs for breakfast. If you have food for the maintainers try |
| 164 | .BI <bug-zebra@gnu.org> |
| 165 | |
| 166 | |
| 167 | .SH AUTHOR[S] |
| 168 | See <\fBwww.zebra.org\fR>, or the Info file for an accurate list of authors. |
| 169 | |