bmp-session alias (BMP view)(IPv6)

Function

The bmp-session alias command specifies a BMP session address and a session alias for a BMP device to set up a TCP connection with a monitoring server.

The undo bmp-session alias 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.

Format

bmp-session [ vpn-instance vrf-name ] ipv6-address alias alias-name

undo bmp-session [ vpn-instance vrf-name ] ipv6-address alias alias-name

Parameters

Parameter Description Value
vpn-instance vrf-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 address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

alias alias-name

Specifies a session alias. When the device needs to establish multiple TCP connections with the same monitoring server through different port numbers, specify session aliases for differentiation.

The value is a string of 1 to 31 case-sensitive characters. Spaces are allowed only when the string is enclosed in double quotation marks ("").

Views

BMP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bmp write

Usage Guidelines

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 a server, the device cannot use a link-local address to establish a peer relationship with the server.

Example

# Set the BMP session address to 2001:DB8:1::1 and session alias to aa.
<HUAWEI> system-view
[~HUAWEI] bmp
[*HUAWEI-bmp] bmp-session 2001:DB8:1::1 alias aa
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >