cc/td/doc/product/core/crs/crsxr_3
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Sample BGP Configuration


Sample BGP Configuration


The following is an excerpt of the relevant portions of the command-line interface (CLI) configuration used as a basis for the Border Gateway Protocol (BGP) examples contained within this document:

router bgp 3
timers bgp 60 180
bgp router-id 10.1.0.1
bgp update-delay 55
bgp cluster-id 10.1.0.2
bgp graceful-restart purge-time 300
default-information originate
bgp graceful-restart restart-time 180
bgp log neighbor changes disable
default-metric 10
bgp graceful-restart stalepath-time 300
bgp graceful-restart
bgp as-path-loopcheck
socket send-buffer-size 131072
bgp bestpath med always
bgp bestpath compare-routerid
bgp bestpath med missing-as-worst
socket receive-buffer-size 131072
address-family ipv4 unicast
distance bgp 140 145 150
bgp dampening 1 1400 1800 2
bgp scan-time 30
network 10.100.1.0/24
network 10.100.2.0/24
aggregate-address 10.100.0.0/16 summary-only
redistribute connected route-map MATCH_ONE_CONNECT
redistribute static route-map MATCH_ONE_STATIC
exit
address-family ipv4 multicast
distance bgp 120 125 130
maximum-paths 6
bgp dampening 2 2400 2800 3
bgp scan-time 40
network 10.10.1.0/24
network 10.10.2.0/24
aggregate-address 80.100.0.0/16 summary-only
redistribute connected
exit
.
.
.
neighbor 10.0.101.1
remote-as 1
ebgp-multihop 255
address-family ipv4 unicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
address-family ipv4 multicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
exit
neighbor 10.0.101.2
remote-as 2
ebgp-multihop 255
address-family ipv4 unicast
send-community-ebgp
capability orf prefix-list receive
route-map EBGP_IN_1 in
exit
address-family ipv4 multicast
send-community-ebgp
route-map EBGP_IN_1 in
exit
exit
neighbor 10.0.101.3
remote-as 3
address-family ipv4 unicast
route-map IBGP_IN_1 in
exit
address-family ipv4 multicast
route-map IBGP_IN_1 in
exit
exit
neighbor 10.0.101.4
remote-as 4
ebgp-multihop 255
address-family ipv4 unicast
route-map EBGP_IN_2 in
exit
address-family ipv4 multicast
route-map EBGP_IN_2 in
exit
exit
neighbor 10.0.101.5
remote-as 5
ebgp-multihop 255
address-family ipv4 unicast
route-map EBGP_IN_3 in
exit
address-family ipv4 multicast
route-map EBGP_IN_3 in
exit
exit
neighbor 10.0.101.6
remote-as 6
ebgp-multihop 255
address-family ipv4 unicast
prefix-list orf in
capability orf prefix-list both
exit
address-family ipv4 multicast
prefix-list orf in
exit
exit
neighbor 10.0.101.7
remote-as 7
ebgp-multihop 255
address-family ipv4 unicast
prefix-list orf in
capability orf prefix-list send
exit
address-family ipv4 multicast
prefix-list orf in
exit
exit
neighbor 10.0.101.8
remote-as 8
ebgp-multihop 255
address-family ipv4 multicast
exit
exit
.
.
.
exit

hometocprevnextglossaryfeedbacksearchhelp

Posted: Sun Nov 7 12:57:00 PST 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.