Hi I've got OpenBGPD running on 3.7, currently whenever I bring up a session with another peer the session drops to Idle as soon as a set of routes are learnt.
#macros BD01="217.112.a.b" AS 64513 router-id 85.234.132.65 neighbor $BD01 { remote-as 29550 descr BD01 multihop 3 local-address 85.234.132.65 announce none } deny from any prefix 10.0.0.0/8 prefixlen >= 8 deny from any prefix 172.16.0.0/12 prefixlen >= 12 deny from any prefix 192.168.0.0/16 prefixlen >= 16 deny from any prefix 169.254.0.0/16 prefixlen >= 16 deny from any prefix 192.0.2.0/24 prefixlen >= 24 deny from any prefix 224.0.0.0/4 prefixlen >= 4 deny from any prefix 240.0.0.0/4 prefixlen >= 4 The routes in particular are Destination Peer Next-Hop MED ASPATH *i84.92.0.0 /15 195.66.224.164 195.66.224.164 90 6871 *i212.159.64.0 /18 195.66.224.164 195.66.224.164 90 6871 *i87.115.0.0 /16 195.66.224.164 195.66.224.164 90 6871 *i195.7.224.0 /19 195.66.224.164 195.66.224.164 0 6871 8622 8622 *i87.114.0.0 /16 195.66.224.164 195.66.224.164 90 6871 *i87.113.0.0 /16 195.66.224.164 195.66.224.164 90 6871 *i87.112.0.0 /16 195.66.224.164 195.66.224.164 90 6871 *i212.159.0.0 /19 195.66.224.164 195.66.224.164 90 6871 *i212.159.32.0 /19 195.66.224.164 195.66.224.164 90 6871 *i81.174.128.0 /17 195.66.224.164 195.66.224.164 90 6871 *i212.56.64.0 /18 195.66.224.164 195.66.224.164 90 6871 *i80.229.0.0 /16 195.66.224.164 195.66.224.164 90 6871 *i212.84.96.0 /19 195.66.224.164 195.66.224.164 0 6871 8622 8622 *i195.166.128.0 /19 195.66.224.164 195.66.224.164 90 6871 This behaviour has been observed when bringing sessions up against other routers too. Is there a way of getting bgpd to log more information as to why the session was torn down, rather than just logging state changes. I would speak to AS6871 about the problem but as yet I havn't worked out what's going wrong. I tried logging everything with log updates dump all in "/var/log/bgp.log" However when I look at the log with route_btoa it reveals nothing of what brought down the session. If I have left out anything pertinent beat me with a clue stick. Thanks for any help you guys can give me. Pete