The bmp-session command specifies a BMP session address for a BMP device to set up a TCP connection with a monitoring server.
The undo bmp-session command restores the default configuration.
By default, no BMP session address is set for a BMP device. In this case, the client is not in TCP connections with any monitoring servers.
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv6-address |
Specifies the IPv6 address of a BMP session. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
Usage Scenario
BMP is used to monitor BGP running status of devices in real time, such as the establishment and termination status of BGP peer relationships and route update status. After a TCP connection is established between a device and a monitoring server, the device reports BGP running status to the monitoring server, improving network monitoring efficiency. To specify a BMP session address for a BMP device to establish a TCP session with a monitoring server, run the bmp-session command. If the command is not run, a BMP device cannot establish TCP connections with any monitoring servers, and therefore its BGP running status cannot be monitored on any servers.
Precautions
A BMP device can be connected to multiple monitoring servers. You can specify different IP addresses or the same IP address but different port numbers (by specifying the alias-name parameter) to identify the monitoring servers. When a BMP device is connected to multiple monitoring servers, the BMP device sends data to multiple monitoring servers at the same time.
When a BMP device is connected to a server, the device cannot use a link-local address to establish a peer relationship with the server.