route-mode local-rib (BMP monitor view)(vpnv4/vpnv6)

Function

The route-mode local-rib command configures the device to send statistics about Local-RIB routes of BGP peers in a specified address family to the monitoring server.

The undo route-mode local-rib command restores the default configuration.

By default, a BMP device is not enabled to report any routing information to any server.

Format

route-mode { ipv4-family vpnv4 | ipv6-family vpnv6 } local-rib [ add-path ]

undo route-mode { ipv4-family vpnv4 | ipv6-family vpnv6 } local-rib [ add-path ]

Parameters

Parameter Description Value
ipv4-family

Configures the device to send statistics about Local-RIB routes of BGP peers in the IPv4 address family to the monitoring server.

-

vpnv4

Configures the device to send statistics about Local-RIB routes of BGP peers in the VPNv4 address family to the monitoring server.

-

ipv6-family

Configures the device to send statistics about Local-RIB routes of BGP peers in the IPv6 address family to the monitoring server.

-

vpnv6

Configures the device to send statistics about Local-RIB routes of BGP peers in the VPNv6 address family to the monitoring server.

-

add-path

Configures the device to send statistics about Add-Path routes of BGP peers to the monitoring server.

If the parameter is specified, statistics about load balancing routes are reported to the monitoring server.

-

Views

BMP monitor view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bmp write

Usage Guidelines

Usage Scenario

To configure the device to send statistics about Local-RIB routes (routes received from peers and locally imported routes) of BGP peers in a specified address family to the monitoring server, run the route-mode local-rib command.

Prerequisites

Run the monitor public command to access the BMP-Monitor view.

Example

# Configure the BMP device to send statistics about the Local-RIB routes of all BGP peers in the VPNv4 address family to the monitoring server.
<HUAWEI> system-view
[~HUAWEI] bmp
[*HUAWEI-bmp] bmp-session 10.1.1.1
[*HUAWEI-bmp-session-10.1.1.1] monitor public
[*HUAWEI-bmp-session-10.1.1.1] route-mode ipv4-family vpnv4 local-rib
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >