router bgp 65002
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 65051
neighbor 1.1.1.1 ebgp-multihop 2
neighbor 1.1.1.1 soft-reconfiguration inbound
neighbor 1.1.1.1 route-map changelocal in
!
ip prefix-list any-route seq 5 permit 0.0.0.0/0 le 32
!
ip prefix-list google-local-140 seq 5 permit 12.0.0.0/8 le 32
!
ip prefix-list google-local-50 seq 5 permit 8.0.0.0/8 le 32
!
ip prefix-list google-route seq 5 permit 8.0.0.0/8 le 32
!
route-map google50 permit 10
match ip address prefix-list google-route
set weight 40
!
route-map google50 permit 20
match ip address prefix-list any-route
!
route-map changelocal permit 10
match ip address prefix-list google-local-50
set local-preference 50
!
route-map changelocal permit 20
match ip address prefix-list google-local-140
set local-preference 140
!
route-map changelocal permit 30
match ip address prefix-list any-route
沒有留言:
張貼留言