Router Config

Router Configurations

Below are some various example router configurations.

IOS XE 3.12.0/15.4.2 (or greater)

Link to vendor docs: IOS XE


See IOS XR/XE refresh note for more deatils

router bgp <nnnn>
 bmp server 1
  address port-number 5000
  description "BMP Server - primary"
  initial-delay 10
  failure-retry-delay 120
  flapping-delay 120
  stats-reporting-period 300
  update-source GigabitEthernet1
 bmp buffer-size 100
 neighbor <ip/group> bmp-activate all
 neighbor ...

IOS XR 5.2.2 (or greater)

Link to vendor docs: [IOS XR]()


See IOS XR/XE refresh note

router bgp <nnnn>
 neighbor <d.d.d.d>
  bmp-activate server 1
bmp server 1
 host port 5000
 description BMP Server - primary
 update-source GigabitEthernet0/0/0/0
 initial-delay 60
 initial-refresh delay 60 spread {number of peers * 2}
 stats-reporting-period 300

JunOS 13.3 (or greater)

Link to vendor docs: JunOS

routing-options {
    bmp {
        station BMPServer1 {
            initiation-message "Development/LAB";
            connection-mode active;
            monitor enable;
            route-monitoring {
            station-port 5000;
            statistics-timeout 300;

IOS XE/XR Policy Refresh Note

Pre-Policy updates currently require a refresh to be sent to each monitored peer when the BMP server connection is established.

In a stable environment the BMP Server connection is persistent and does not go up and down.

Stopping the BMP server or breaking the connectivity/access to the BMP server can result in reconnections. Reconnection/flapping is controlled by various/configurable timers/delays.

When the BMP session is initially established or reconnected, IOS XE/XR will send a refresh to monitored peers one at a time. Spacing a delay between each peer can be done by configuring the initial-delay parameter. The default is to wait 30 seconds between each peer.

Other options exist for this command, including the ability to skip the refresh altogether, which basically disables initial router table dump on BMP server connection. In the case of skip only incremental updates will be sent, but at any time the admin/operator can initiate a bgp refresh on-demand, which will in turn forward all BGP UPDATES to the BMP server (full pre-policy dump).