Community discussions

MikroTik App

Search found 1 match

by lazyroy
Thu Sep 19, 2019 6:02 pm
Forum: Forwarding Protocols
Topic: BGP not trying to reconnect more than once
Replies: 11
Views: 8290

Re: BGP not trying to reconnect more than once

Rewritten version of previous script with no hardcoded peer name
/routing bgp peer {
   :foreach peer in [find state="opensent"] do={
      :log warning "Restart stuck BGP Peer: $([get $peer name])"
      disable $peer
      enable $peer
   }
}