List BGP Peers
list_bgp_peersList all BGP sessions on a MikroTik router, showing state, remote AS, prefix counts, and uptime. Filter by session state for targeted monitoring.
Instructions
List BGP sessions on a MikroTik router (RouterOS 7+). Returns state, remote AS, prefix counts, and uptime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| state | No | Filter by session state (e.g. established, active, idle) |