Configuring BMP

The BGP monitoring protocol (BMP) enables a BGP router (BMP client) to send session status information of the specified peers to BMP servers for monitoring. The session status information includes peer relationship establishment and termination as well as routing information. The BMP client communicates with the BMP servers through TCP connections.

To configure BMP:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a BMP server and enter BMP server view.

bmp server server-number

By default, no BMP servers exist.

3. Configure an IP address and port number for the BMP server.

server address ipv4-address port port-number

By default, no IP address and port number are configured for the BMP server.

4. Set the interval at which BGP sends statistics information to the BMP server.

statistics-interval value

By default, BGP does not send statistics information to the BMP server.

5. Return to system view.

quit

N/A

6. Enter BGP instance view or BGP-VPN instance view.

  • Enter BGP instance view:bgp as-number [ instance instance-name ]

  • Enter BGP-VPN instance view:

    1. bgp as-number [ instance instance-name ]

    2. ip vpn-instance vpn-instance-name

N/A

7. Specify a peer or peer group to be monitored.

peer { group-name | ipv4-address [ mask-length ] | ipv6-address [ prefix-length ] } bmp server server-number-list

By default, no peer or peer group is specified.