pingping-lin | a7a13a8 | 2015-08-31 16:20:53 -0700 | [diff] [blame] | 1 | ! -*- bgp -*- |
| 2 | ! |
| 3 | ! BGPd sample configuratin file |
| 4 | ! |
| 5 | ! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $ |
| 6 | ! |
| 7 | hostname bgpd |
| 8 | password hello |
| 9 | !enable password please-set-at-here |
| 10 | ! |
| 11 | !bgp mulitple-instance |
| 12 | ! |
| 13 | route-map AS65000 permit 1 |
| 14 | set as-path prepend 65000 |
| 15 | ! |
| 16 | router bgp 64513 |
| 17 | bgp router-id 192.168.10.101 |
| 18 | timers bgp 1 3 |
| 19 | !timers bgp 3 9 |
| 20 | neighbor 192.168.10.1 remote-as 64514 |
| 21 | neighbor 192.168.10.1 ebgp-multihop |
| 22 | neighbor 192.168.10.1 timers connect 5 |
| 23 | neighbor 192.168.20.1 remote-as 64514 |
| 24 | neighbor 192.168.20.1 ebgp-multihop |
| 25 | neighbor 192.168.20.1 timers connect 5 |
| 26 | neighbor 192.168.20.1 route-map AS65000 in |
| 27 | neighbor 192.168.30.1 remote-as 64516 |
| 28 | neighbor 192.168.30.1 ebgp-multihop |
| 29 | neighbor 192.168.30.1 timers connect 5 |
| 30 | neighbor 192.168.60.1 remote-as 64520 |
| 31 | neighbor 192.168.60.1 ebgp-multihop |
| 32 | neighbor 192.168.60.1 timers connect 5 |
| 33 | neighbor 1.1.1.2 remote-as 64513 |
| 34 | neighbor 1.1.1.2 port 2000 |
| 35 | neighbor 1.1.1.2 timers connect 5 |
| 36 | |
| 37 | |
| 38 | neighbor 192.168.40.1 remote-as 65001 |
| 39 | neighbor 192.168.40.1 ebgp-multihop |
| 40 | neighbor 192.168.40.1 timers connect 10 |
| 41 | neighbor 192.168.40.2 remote-as 65002 |
| 42 | neighbor 192.168.40.2 ebgp-multihop |
| 43 | neighbor 192.168.40.2 timers connect 10 |
| 44 | neighbor 192.168.40.3 remote-as 65003 |
| 45 | neighbor 192.168.40.3 ebgp-multihop |
| 46 | neighbor 192.168.40.3 timers connect 10 |
| 47 | neighbor 192.168.40.4 remote-as 65004 |
| 48 | neighbor 192.168.40.4 ebgp-multihop |
| 49 | neighbor 192.168.40.4 timers connect 10 |
| 50 | neighbor 192.168.40.5 remote-as 65005 |
| 51 | neighbor 192.168.40.5 ebgp-multihop |
| 52 | neighbor 192.168.40.5 timers connect 10 |
| 53 | neighbor 192.168.40.6 remote-as 65006 |
| 54 | neighbor 192.168.40.6 ebgp-multihop |
| 55 | neighbor 192.168.40.6 timers connect 10 |
| 56 | neighbor 192.168.40.7 remote-as 65007 |
| 57 | neighbor 192.168.40.7 ebgp-multihop |
| 58 | neighbor 192.168.40.7 timers connect 10 |
| 59 | neighbor 192.168.40.8 remote-as 65008 |
| 60 | neighbor 192.168.40.8 ebgp-multihop |
| 61 | neighbor 192.168.40.8 timers connect 10 |
| 62 | neighbor 192.168.40.9 remote-as 65009 |
| 63 | neighbor 192.168.40.9 ebgp-multihop |
| 64 | neighbor 192.168.40.9 timers connect 10 |
| 65 | neighbor 192.168.40.10 remote-as 65010 |
| 66 | neighbor 192.168.40.10 ebgp-multihop |
| 67 | neighbor 192.168.40.10 timers connect 10 |
| 68 | neighbor 192.168.40.11 remote-as 65011 |
| 69 | neighbor 192.168.40.11 ebgp-multihop |
| 70 | neighbor 192.168.40.11 timers connect 10 |
| 71 | neighbor 192.168.40.12 remote-as 65012 |
| 72 | neighbor 192.168.40.12 ebgp-multihop |
| 73 | neighbor 192.168.40.12 timers connect 10 |
| 74 | neighbor 192.168.40.13 remote-as 65013 |
| 75 | neighbor 192.168.40.13 ebgp-multihop |
| 76 | neighbor 192.168.40.13 timers connect 10 |
| 77 | neighbor 192.168.40.14 remote-as 65014 |
| 78 | neighbor 192.168.40.14 ebgp-multihop |
| 79 | neighbor 192.168.40.14 timers connect 10 |
| 80 | neighbor 192.168.40.15 remote-as 65015 |
| 81 | neighbor 192.168.40.15 ebgp-multihop |
| 82 | neighbor 192.168.40.15 timers connect 10 |
| 83 | neighbor 192.168.40.16 remote-as 65016 |
| 84 | neighbor 192.168.40.16 ebgp-multihop |
| 85 | neighbor 192.168.40.16 timers connect 10 |
| 86 | neighbor 192.168.40.17 remote-as 65017 |
| 87 | neighbor 192.168.40.17 ebgp-multihop |
| 88 | neighbor 192.168.40.17 timers connect 10 |
| 89 | neighbor 192.168.40.18 remote-as 65018 |
| 90 | neighbor 192.168.40.18 ebgp-multihop |
| 91 | neighbor 192.168.40.18 timers connect 10 |
| 92 | neighbor 192.168.40.19 remote-as 65019 |
| 93 | neighbor 192.168.40.19 ebgp-multihop |
| 94 | neighbor 192.168.40.19 timers connect 10 |
| 95 | neighbor 192.168.40.20 remote-as 65020 |
| 96 | neighbor 192.168.40.20 ebgp-multihop |
| 97 | neighbor 192.168.40.20 timers connect 10 |
| 98 | neighbor 192.168.40.21 remote-as 65021 |
| 99 | neighbor 192.168.40.21 ebgp-multihop |
| 100 | neighbor 192.168.40.21 timers connect 10 |
| 101 | neighbor 192.168.40.22 remote-as 65022 |
| 102 | neighbor 192.168.40.22 ebgp-multihop |
| 103 | neighbor 192.168.40.22 timers connect 10 |
| 104 | neighbor 192.168.40.23 remote-as 65023 |
| 105 | neighbor 192.168.40.23 ebgp-multihop |
| 106 | neighbor 192.168.40.23 timers connect 10 |
| 107 | neighbor 192.168.40.24 remote-as 65024 |
| 108 | neighbor 192.168.40.24 ebgp-multihop |
| 109 | neighbor 192.168.40.24 timers connect 10 |
| 110 | neighbor 192.168.40.25 remote-as 65025 |
| 111 | neighbor 192.168.40.25 ebgp-multihop |
| 112 | neighbor 192.168.40.25 timers connect 10 |
| 113 | neighbor 192.168.40.26 remote-as 65026 |
| 114 | neighbor 192.168.40.26 ebgp-multihop |
| 115 | neighbor 192.168.40.26 timers connect 10 |
| 116 | neighbor 192.168.40.27 remote-as 65027 |
| 117 | neighbor 192.168.40.27 ebgp-multihop |
| 118 | neighbor 192.168.40.27 timers connect 10 |
| 119 | neighbor 192.168.40.28 remote-as 65028 |
| 120 | neighbor 192.168.40.28 ebgp-multihop |
| 121 | neighbor 192.168.40.28 timers connect 10 |
| 122 | neighbor 192.168.40.29 remote-as 65029 |
| 123 | neighbor 192.168.40.29 ebgp-multihop |
| 124 | neighbor 192.168.40.29 timers connect 10 |
| 125 | neighbor 192.168.40.30 remote-as 65030 |
| 126 | neighbor 192.168.40.30 ebgp-multihop |
| 127 | neighbor 192.168.40.30 timers connect 10 |
| 128 | neighbor 192.168.40.31 remote-as 65031 |
| 129 | neighbor 192.168.40.31 ebgp-multihop |
| 130 | neighbor 192.168.40.31 timers connect 10 |
| 131 | neighbor 192.168.40.32 remote-as 65032 |
| 132 | neighbor 192.168.40.32 ebgp-multihop |
| 133 | neighbor 192.168.40.32 timers connect 10 |
| 134 | neighbor 192.168.40.33 remote-as 65033 |
| 135 | neighbor 192.168.40.33 ebgp-multihop |
| 136 | neighbor 192.168.40.33 timers connect 10 |
| 137 | neighbor 192.168.40.34 remote-as 65034 |
| 138 | neighbor 192.168.40.34 ebgp-multihop |
| 139 | neighbor 192.168.40.34 timers connect 10 |
| 140 | neighbor 192.168.40.35 remote-as 65035 |
| 141 | neighbor 192.168.40.35 ebgp-multihop |
| 142 | neighbor 192.168.40.35 timers connect 10 |
| 143 | neighbor 192.168.40.36 remote-as 65036 |
| 144 | neighbor 192.168.40.36 ebgp-multihop |
| 145 | neighbor 192.168.40.36 timers connect 10 |
| 146 | neighbor 192.168.40.37 remote-as 65037 |
| 147 | neighbor 192.168.40.37 ebgp-multihop |
| 148 | neighbor 192.168.40.37 timers connect 10 |
| 149 | neighbor 192.168.40.38 remote-as 65038 |
| 150 | neighbor 192.168.40.38 ebgp-multihop |
| 151 | neighbor 192.168.40.38 timers connect 10 |
| 152 | neighbor 192.168.40.39 remote-as 65039 |
| 153 | neighbor 192.168.40.39 ebgp-multihop |
| 154 | neighbor 192.168.40.39 timers connect 10 |
| 155 | neighbor 192.168.40.40 remote-as 65040 |
| 156 | neighbor 192.168.40.40 ebgp-multihop |
| 157 | neighbor 192.168.40.40 timers connect 10 |
| 158 | neighbor 192.168.40.41 remote-as 65041 |
| 159 | neighbor 192.168.40.41 ebgp-multihop |
| 160 | neighbor 192.168.40.41 timers connect 10 |
| 161 | neighbor 192.168.40.42 remote-as 65042 |
| 162 | neighbor 192.168.40.42 ebgp-multihop |
| 163 | neighbor 192.168.40.42 timers connect 10 |
| 164 | neighbor 192.168.40.43 remote-as 65043 |
| 165 | neighbor 192.168.40.43 ebgp-multihop |
| 166 | neighbor 192.168.40.43 timers connect 10 |
| 167 | neighbor 192.168.40.44 remote-as 65044 |
| 168 | neighbor 192.168.40.44 ebgp-multihop |
| 169 | neighbor 192.168.40.44 timers connect 10 |
| 170 | neighbor 192.168.40.45 remote-as 65045 |
| 171 | neighbor 192.168.40.45 ebgp-multihop |
| 172 | neighbor 192.168.40.45 timers connect 10 |
| 173 | neighbor 192.168.40.46 remote-as 65046 |
| 174 | neighbor 192.168.40.46 ebgp-multihop |
| 175 | neighbor 192.168.40.46 timers connect 10 |
| 176 | neighbor 192.168.40.47 remote-as 65047 |
| 177 | neighbor 192.168.40.47 ebgp-multihop |
| 178 | neighbor 192.168.40.47 timers connect 10 |
| 179 | neighbor 192.168.40.48 remote-as 65048 |
| 180 | neighbor 192.168.40.48 ebgp-multihop |
| 181 | neighbor 192.168.40.48 timers connect 10 |
| 182 | neighbor 192.168.40.49 remote-as 65049 |
| 183 | neighbor 192.168.40.49 ebgp-multihop |
| 184 | neighbor 192.168.40.49 timers connect 10 |
| 185 | neighbor 192.168.40.50 remote-as 65050 |
| 186 | neighbor 192.168.40.50 ebgp-multihop |
| 187 | neighbor 192.168.40.50 timers connect 10 |
| 188 | neighbor 192.168.40.51 remote-as 65051 |
| 189 | neighbor 192.168.40.51 ebgp-multihop |
| 190 | neighbor 192.168.40.51 timers connect 10 |
| 191 | neighbor 192.168.40.52 remote-as 65052 |
| 192 | neighbor 192.168.40.52 ebgp-multihop |
| 193 | neighbor 192.168.40.52 timers connect 10 |
| 194 | neighbor 192.168.40.53 remote-as 65053 |
| 195 | neighbor 192.168.40.53 ebgp-multihop |
| 196 | neighbor 192.168.40.53 timers connect 10 |
| 197 | neighbor 192.168.40.54 remote-as 65054 |
| 198 | neighbor 192.168.40.54 ebgp-multihop |
| 199 | neighbor 192.168.40.54 timers connect 10 |
| 200 | neighbor 192.168.40.55 remote-as 65055 |
| 201 | neighbor 192.168.40.55 ebgp-multihop |
| 202 | neighbor 192.168.40.55 timers connect 10 |
| 203 | neighbor 192.168.40.56 remote-as 65056 |
| 204 | neighbor 192.168.40.56 ebgp-multihop |
| 205 | neighbor 192.168.40.56 timers connect 10 |
| 206 | neighbor 192.168.40.57 remote-as 65057 |
| 207 | neighbor 192.168.40.57 ebgp-multihop |
| 208 | neighbor 192.168.40.57 timers connect 10 |
| 209 | neighbor 192.168.40.58 remote-as 65058 |
| 210 | neighbor 192.168.40.58 ebgp-multihop |
| 211 | neighbor 192.168.40.58 timers connect 10 |
| 212 | neighbor 192.168.40.59 remote-as 65059 |
| 213 | neighbor 192.168.40.59 ebgp-multihop |
| 214 | neighbor 192.168.40.59 timers connect 10 |
| 215 | neighbor 192.168.40.60 remote-as 65060 |
| 216 | neighbor 192.168.40.60 ebgp-multihop |
| 217 | neighbor 192.168.40.60 timers connect 10 |
| 218 | neighbor 192.168.40.61 remote-as 65061 |
| 219 | neighbor 192.168.40.61 ebgp-multihop |
| 220 | neighbor 192.168.40.61 timers connect 10 |
| 221 | neighbor 192.168.40.62 remote-as 65062 |
| 222 | neighbor 192.168.40.62 ebgp-multihop |
| 223 | neighbor 192.168.40.62 timers connect 10 |
| 224 | neighbor 192.168.40.63 remote-as 65063 |
| 225 | neighbor 192.168.40.63 ebgp-multihop |
| 226 | neighbor 192.168.40.63 timers connect 10 |
| 227 | neighbor 192.168.40.64 remote-as 65064 |
| 228 | neighbor 192.168.40.64 ebgp-multihop |
| 229 | neighbor 192.168.40.64 timers connect 10 |
| 230 | neighbor 192.168.40.65 remote-as 65065 |
| 231 | neighbor 192.168.40.65 ebgp-multihop |
| 232 | neighbor 192.168.40.65 timers connect 10 |
| 233 | neighbor 192.168.40.66 remote-as 65066 |
| 234 | neighbor 192.168.40.66 ebgp-multihop |
| 235 | neighbor 192.168.40.66 timers connect 10 |
| 236 | neighbor 192.168.40.67 remote-as 65067 |
| 237 | neighbor 192.168.40.67 ebgp-multihop |
| 238 | neighbor 192.168.40.67 timers connect 10 |
| 239 | neighbor 192.168.40.68 remote-as 65068 |
| 240 | neighbor 192.168.40.68 ebgp-multihop |
| 241 | neighbor 192.168.40.68 timers connect 10 |
| 242 | neighbor 192.168.40.69 remote-as 65069 |
| 243 | neighbor 192.168.40.69 ebgp-multihop |
| 244 | neighbor 192.168.40.69 timers connect 10 |
| 245 | neighbor 192.168.40.70 remote-as 65070 |
| 246 | neighbor 192.168.40.70 ebgp-multihop |
| 247 | neighbor 192.168.40.70 timers connect 10 |
| 248 | neighbor 192.168.40.71 remote-as 65071 |
| 249 | neighbor 192.168.40.71 ebgp-multihop |
| 250 | neighbor 192.168.40.71 timers connect 10 |
| 251 | neighbor 192.168.40.72 remote-as 65072 |
| 252 | neighbor 192.168.40.72 ebgp-multihop |
| 253 | neighbor 192.168.40.72 timers connect 10 |
| 254 | neighbor 192.168.40.73 remote-as 65073 |
| 255 | neighbor 192.168.40.73 ebgp-multihop |
| 256 | neighbor 192.168.40.73 timers connect 10 |
| 257 | neighbor 192.168.40.74 remote-as 65074 |
| 258 | neighbor 192.168.40.74 ebgp-multihop |
| 259 | neighbor 192.168.40.74 timers connect 10 |
| 260 | neighbor 192.168.40.75 remote-as 65075 |
| 261 | neighbor 192.168.40.75 ebgp-multihop |
| 262 | neighbor 192.168.40.75 timers connect 10 |
| 263 | neighbor 192.168.40.76 remote-as 65076 |
| 264 | neighbor 192.168.40.76 ebgp-multihop |
| 265 | neighbor 192.168.40.76 timers connect 10 |
| 266 | neighbor 192.168.40.77 remote-as 65077 |
| 267 | neighbor 192.168.40.77 ebgp-multihop |
| 268 | neighbor 192.168.40.77 timers connect 10 |
| 269 | neighbor 192.168.40.78 remote-as 65078 |
| 270 | neighbor 192.168.40.78 ebgp-multihop |
| 271 | neighbor 192.168.40.78 timers connect 10 |
| 272 | neighbor 192.168.40.79 remote-as 65079 |
| 273 | neighbor 192.168.40.79 ebgp-multihop |
| 274 | neighbor 192.168.40.79 timers connect 10 |
| 275 | neighbor 192.168.40.80 remote-as 65080 |
| 276 | neighbor 192.168.40.80 ebgp-multihop |
| 277 | neighbor 192.168.40.80 timers connect 10 |
| 278 | neighbor 192.168.40.81 remote-as 65081 |
| 279 | neighbor 192.168.40.81 ebgp-multihop |
| 280 | neighbor 192.168.40.81 timers connect 10 |
| 281 | neighbor 192.168.40.82 remote-as 65082 |
| 282 | neighbor 192.168.40.82 ebgp-multihop |
| 283 | neighbor 192.168.40.82 timers connect 10 |
| 284 | neighbor 192.168.40.83 remote-as 65083 |
| 285 | neighbor 192.168.40.83 ebgp-multihop |
| 286 | neighbor 192.168.40.83 timers connect 10 |
| 287 | neighbor 192.168.40.84 remote-as 65084 |
| 288 | neighbor 192.168.40.84 ebgp-multihop |
| 289 | neighbor 192.168.40.84 timers connect 10 |
| 290 | neighbor 192.168.40.85 remote-as 65085 |
| 291 | neighbor 192.168.40.85 ebgp-multihop |
| 292 | neighbor 192.168.40.85 timers connect 10 |
| 293 | neighbor 192.168.40.86 remote-as 65086 |
| 294 | neighbor 192.168.40.86 ebgp-multihop |
| 295 | neighbor 192.168.40.86 timers connect 10 |
| 296 | neighbor 192.168.40.87 remote-as 65087 |
| 297 | neighbor 192.168.40.87 ebgp-multihop |
| 298 | neighbor 192.168.40.87 timers connect 10 |
| 299 | neighbor 192.168.40.88 remote-as 65088 |
| 300 | neighbor 192.168.40.88 ebgp-multihop |
| 301 | neighbor 192.168.40.88 timers connect 10 |
| 302 | neighbor 192.168.40.89 remote-as 65089 |
| 303 | neighbor 192.168.40.89 ebgp-multihop |
| 304 | neighbor 192.168.40.89 timers connect 10 |
| 305 | neighbor 192.168.40.90 remote-as 65090 |
| 306 | neighbor 192.168.40.90 ebgp-multihop |
| 307 | neighbor 192.168.40.90 timers connect 10 |
| 308 | neighbor 192.168.40.91 remote-as 65091 |
| 309 | neighbor 192.168.40.91 ebgp-multihop |
| 310 | neighbor 192.168.40.91 timers connect 10 |
| 311 | neighbor 192.168.40.92 remote-as 65092 |
| 312 | neighbor 192.168.40.92 ebgp-multihop |
| 313 | neighbor 192.168.40.92 timers connect 10 |
| 314 | neighbor 192.168.40.93 remote-as 65093 |
| 315 | neighbor 192.168.40.93 ebgp-multihop |
| 316 | neighbor 192.168.40.93 timers connect 10 |
| 317 | neighbor 192.168.40.94 remote-as 65094 |
| 318 | neighbor 192.168.40.94 ebgp-multihop |
| 319 | neighbor 192.168.40.94 timers connect 10 |
| 320 | neighbor 192.168.40.95 remote-as 65095 |
| 321 | neighbor 192.168.40.95 ebgp-multihop |
| 322 | neighbor 192.168.40.95 timers connect 10 |
| 323 | neighbor 192.168.40.96 remote-as 65096 |
| 324 | neighbor 192.168.40.96 ebgp-multihop |
| 325 | neighbor 192.168.40.96 timers connect 10 |
| 326 | neighbor 192.168.40.97 remote-as 65097 |
| 327 | neighbor 192.168.40.97 ebgp-multihop |
| 328 | neighbor 192.168.40.97 timers connect 10 |
| 329 | neighbor 192.168.40.98 remote-as 65098 |
| 330 | neighbor 192.168.40.98 ebgp-multihop |
| 331 | neighbor 192.168.40.98 timers connect 10 |
| 332 | neighbor 192.168.40.99 remote-as 65099 |
| 333 | neighbor 192.168.40.99 ebgp-multihop |
| 334 | neighbor 192.168.40.99 timers connect 10 |
| 335 | neighbor 192.168.40.100 remote-as 65100 |
| 336 | neighbor 192.168.40.100 ebgp-multihop |
| 337 | neighbor 192.168.40.100 timers connect 10 |
| 338 | |
| 339 | network 172.16.10.0/24 |
| 340 | ! |
| 341 | ! access-list all permit any |
| 342 | ! |
| 343 | !route-map set-nexthop permit 10 |
| 344 | ! match ip address all |
| 345 | ! set ip next-hop 10.0.0.1 |
| 346 | ! |
| 347 | !log file /usr/local/var/log/quagga/bgpd.log |
| 348 | ! |
| 349 | log stdout |