Thursday, September 5, 2019

BGP questions. Have statements under BGP xxx and neighbor family.

Hi, I have to stop some advertising of routes to a bgp neighbor and was wondering the best method when considering the following config, given I want to stop advertising to neighbor 169.254.255.1, what should I do?

Remove both the statements in router bgp 65005 and the address-family ipv4, or just one, or? Could I keep the BGP state established and then edit the ccc2aws prefix list to have a deny any at the top? Just looking for some ideas. thanks.

router bgp 65005

bgp log-neighbor-changes

neighbor 10.2.20.102 remote-as 65005

neighbor 169.254.255.1 remote-as 7224

neighbor 169.254.255.1 timers 10 30 30

neighbor 169.254.255.5 remote-as 7224

neighbor 169.254.255.5 timers 10 30 30

!

address-family ipv4

network 0.0.0.0

network 10.0.2.0 mask 255.255.255.0

network 10.0.20.0 mask 255.255.255.0

network 10.1.0.0 mask 255.255.0.0

network 10.2.0.0 mask 255.255.0.0

network 10.2.52.0 mask 255.255.252.0

network 10.4.0.0 mask 255.255.0.0

network 10.6.0.0 mask 255.255.0.0

network 10.20.0.0 mask 255.255.0.0

network 10.23.0.0 mask 255.255.0.0

network 10.30.0.0 mask 255.255.0.0

network 10.101.2.0 mask 255.255.255.0

network 10.102.2.0 mask 255.255.255.0

network 10.103.0.0 mask 255.255.0.0

network 10.104.0.0 mask 255.255.0.0

neighbor 10.2.20.102 activate

neighbor 10.2.20.102 next-hop-self

neighbor 169.254.255.1 activate

neighbor 169.254.255.1 default-originate

neighbor 169.254.255.1 soft-reconfiguration inbound

neighbor 169.254.255.1 prefix-list aws2ccc in

neighbor 169.254.255.1 prefix-list ccc2aws out

neighbor 169.254.255.5 activate

neighbor 169.254.255.5 default-originate

neighbor 169.254.255.5 soft-reconfiguration inbound

neighbor 169.254.255.5 prefix-list aws2ccc in

neighbor 169.254.255.5 prefix-list ccc2aws out

exit-address-family



No comments:

Post a Comment