Description
This article demos an example to configure an MX as a BMP (BGP Monitoring Protocol) station/server.
Symptoms
When doing the lab replication related BMP issues, it will take too much time to deploy a BMP station on a Linux server.
This article demonstrates an easier way to simulate the BMP station/server.
Solution
The minimum example configuration as shown below:
On the MX (the one simulate the BMP station/sever)
set routing-options bmp connection-mode passive
set routing-options bmp treat-input-as-bmp >>>>>>>>>>>>>>>>>>>>>>>>>> this is a hidden command
set routing-options bmp station <station name> local-address 192.168.1.1
set routing-options bmp station <station name> local-port 50000
set routing-options bmp station <station name> station-address 192.168.1.2
On the router (the one sending the messages to BMP station/server)
set routing-options bmp local-address 192.168.1.2
set routing-options bmp connection-mode active
set routing-options bmp station-address 192.168.1.1
set routing-options bmp station-port 50000
set routing-options bmp station <station name>
NOTE:
Please make sure the port number and station name are the same on both devices, and please make sure the IP connectivity between these two devices.
Result:
MX-BMP-station> show bgp bmp
Station name: <station name>
Local address/port: 192.168.1.1/50000, Station address/port: 192.168.1.2/-, passive
State: established Local: 192.168.1.1+50000 Remote: 192.168.1.2+50474
Last state change: 1:56:08
Monitor BGP Peers: enabled
Route-monitoring: pre-policy
Hold-down: 600, flaps 3, period 300
Priority: low
Statistics timeout: 3600
Treat input as BMP: enabled
Version: 3
Routing Instance: default
router> show bgp bmp
Station name: <station name>
Local address/port: 192.168.1.2/-, Station address/port: 192.168.1.1/50000, active
State: established Local: 192.168.1.2+50474 Remote: 192.168.1.1+50000
Last state change: 1:55:58
Monitor BGP Peers: enabled
Route-monitoring: pre-policy
Hold-down: 600, flaps 3, period 300
Priority: low
Statistics timeout: 3600
Version: 3
Routing Instance: default
Modification History
2024-02-08: KB create.
An example to use MX router as a BGP BMP station/server for lab use.