Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

BGP question with MPLS network

I have a MPLS network with 10 sites, I want all the sites going out RouterB for Internet versus RouterA, how best do I do this with BGP?

Would this do the trick?

RouterA

router bgp 64638

Description Main office with Internet access

no synchronization

bgp log-neighbor-changes

neighor 32.43.4.2 route-map fix-weight

network 10.5.0.0 mask 255.255.0.0

default-information originate

no auto-summary

!

ip as-path access-list 200 permit ^6745

!

route-map fix-weight permit 10

match as-path 200

set local-preference 20

set weight 200

ip route 0.0.0.0 0.0.0.0 24.25.34.4

end

RouterB

router bgp 64638

descriptoin Main Office with Internet access

no synchronization

bgp log-neighbor-changes

neighor 32.43.4.2 remote-as 64638

network 10.6.0.0 mask 255.255.0.0

default-information originate

no auto-summary

ip route 0.0.0.0 0.0.0.0 216.45.34.3

end

RouterC

router bgp 64638

description Some remote hub office

no synchronization

bgp log-neighbor-changes

neighor 32.43.4.2 remote-as 64638

network 10.7.0.0 mask 255.255.0.0

no auto-summary

RouterD

router bgp 64638

description Another remote hub office

no synchronization

bgp log-neighbor-changes

neighor 32.43.4.2 remote-as 64638

network 10.8.0.0 mask 255.255.0.0

no auto-summary

106
Views
0
Helpful
0
Replies
CreatePlease login to create content