RouterOS manual

Clear



routing/bgp/session/clear

Conditions: !smips Type: Command

Clear the session flags. For example, to be able to re-establish a session after the prefix limit is reached "limit-exceeded" flag must be cleared. It can be done by specifying flag parameter, which is able to take the following values:

  • input-last-notification
  • limit-exceeded
  • output-last-notification
  • refused-cap-opt
  • stopped
ParameterTypeDescription
flagenum (refused-cap-opt | stopped | limit-exceeded | input-last-notification | output-last-notification)A flag to be cleared from BGP session.

Source

Updated 2026-08-22.