Enabling BGP BMP monitoring on JunOS Juniper patforms

Home FastNetMon Advanced Technical Documentation Enabling BGP BMP monitoring on JunOS Juniper patforms
Contents

To enable BMP monitoring on Juniper platforms you need to apply following configuration:

routing-options {
    bmp {
        station BMPServerFastNetMon {
            initiation-message "FastNetMon";
            local-address XXX;
            connection-mode active;
            monitor enable;
            route-monitoring {
                pre-policy;
            }
            station-address XXX;
            station-port XXX;
            statistics-timeout 300;
        }
    }

Unfortunately it explicitly does not support hostnames and you have to use IP addresses in configuration: "The address must be a valid IPv4 or IPv6 address"

To show BMP status you can use following command:

run show bgp bmp  
Station name: BMPServerFastnetmon
  Local address/port: 10.0.0.1/-, Station address/port: 10.0.0.2/11020, active
  State: established Local: 10.0.0.1+49682 Remote: 10.0.0.2+11020
  Last state change: 12
  Monitor BGP Peers: enabled
  Route-monitoring: pre-policy 
  Hold-down: 600, flaps 3, period 300
  Initiation message: FastNetMon
  Priority: low
  Statistics timeout: 300
  Version: 3
  Routing Instance: default

To see more details BMP analytics you can use following command:

show bgp bmp statistics route-monitoring

Which shows information like this:

 Station Name       Monitor-type          Advertised Prefix    Withdrawn Prefix
 BMPServerFastNetMon
                    Rib-In-Pre                      3108822                1252
                    Rib-In-Post                           0                   0
                    Loc Rib                               0                   0
                    Rib-Out-Pre                           0                   0
                    Rib-Out-Post                          0                   0