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.
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. |
- |
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.
<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