Hello,
I have 2 questions regarding configuration of BGP in a routing test package (ver. 2.9.45) :
1.
I have configured 2 BGP uplinks with redistribution of OSPF and static routes in BGP (instance). I would like to know how to "force" (or regulate) incoming and outgoing traffic primarily through one of those 2 links ? I tried to play with routing filters, AS prepend and local preference parameters without visible success. First I created rules :
< routing filter> print
Flags: X - disabled
0 chain=ospf-in prefix=10.100.0.0/20 protocol="" invert-match=no
action=accept set-bgp-local-pref=10 set-bgp-prepend=4
1 chain=ospf-out prefix=10.100.0.0/20 protocol="" invert-match=no
action=accept set-bgp-local-pref=10 set-bgp-prepend=4
and applied them to a peer :
Flags: X - disabled
0 name="peer1" instance=default remote-address=xxx.xxx.xxx remote-as=XXX
tcp-md5-key="" nexthop-choice=default multihop=no route-reflect=no
hold-time=10s ttl=1 in-filter=ospf-in out-filter=ospf-out
2.
After few hours of production work BGP peers started changing state - from "connected" to "idle" every 20s.
Does anybody have experience how to prevent that ?
Thank you,
D.