Information Technology Reference
In-Depth Information
higher than EIGRP's administrative distance to ensure that EIGRP learned prefixes contin-
ue to be used until the BGP learned prefix information is validated. The administrative dis-
tance for BGP will be set to 200 for eBGP prefixes and to 220 for iBGP learned prefixes.
The BGP configurations for all the routers are provided in Examples 5-24 through 5-36.
Example 5-24 BGP Configuration for R1
router bgp 65101
no auto-summary
no synchronization
redistribute eigrp 100 route-map DENY_DEFAULT
neighbor 172.16.2.1 remote-as 65101
neighbor 172.16.2.1 update-source loopback0
neighbor 10.1.1.4 remote-as 65100
neighbor 10.1.1.4 route-map SET_MED out
distance bgp 200 220 220
bgp bestpath compare-routerid
!
ip prefix-list NO_DEFAULT seq 5 deny 0.0.0.0/0
ip prefix-list NO_DEFAULT seq 10 permit 0.0.0.0/0 le 32
!
route-map DENY_DEFAULT permit 10
match ip address prefix-list NO_DEFAULT
!
route-map SET_MED permit 10
set metric-type internal
!
Example 5-25 BGP Configuration for R2
router bgp 65101
no auto-summary
no synchronization
redistribute eigrp 100 route-map DENY_DEFAULT
neighbor 172.16.1.1 remote-as 65101
neighbor 172.16.1.1 update-source loopback0
neighbor 10.1.1.4 remote-as 65100
neighbor 10.1.1.4 route-map SET_MED out
distance bgp 200 220 220
bgp bestpath compare-routerid
!
ip prefix-list NO_DEFAULT seq 5 deny 0.0.0.0/0
ip prefix-list NO_DEFAULT seq 10 permit 0.0.0.0/0 le 32
!
route-map DENY_DEFAULT permit 10
match ip address prefix-list NO_DEFAULT
!
route-map SET_MED permit 10
set metric-type internal
!
Search WWH ::




Custom Search