The trace-prefix route-distinguisher command configures BMP to monitor the trace data of a VPNv4 route with a specified RD and route prefix as well as the IPv4 VPN unicast route transformed from the VPNv4 route.
The undo trace-prefix route-distinguisher command restores the default configuration.
By default, BMP does not monitor the trace data of a specified VPNv4 route or IPv4 VPN unicast route transformed from the VPNv4 route.
Parameter | Description | Value |
---|---|---|
ipv4-address |
Specifies the destination IPv4 address. |
The value is in dotted decimal notation. |
mask-length |
Specifies the mask length. |
The value is an integer ranging from 0 to 32. |
route-distinguisher vrfRD |
Specifies the route distinguisher of a VPN instance. |
The value is a string of 3 to 21 case-sensitive characters, spaces not supported. |
Usage Scenario
By default, BMP does not report the trace data of BGP routes on a device. As a result, you can only manually query the trace data of the device's BGP routes.
To resolve this issue, run the trace-prefix route-distinguisher command on the device after a connection is established between the device and BMP server. The command configures BMP to monitor the trace data of a specified VPNv4 route and the IPv4 VPN unicast route transformed from the VPNv4 route in real time. After the configuration, BMP can monitor how the routes are processed in response to the following main items:<HUAWEI> system-view [~HUAWEI] bmp [*HUAWEI-bmp] bmp-session 10.1.1.1 [*HUAWEI-bmp-session-10.1.1.1] ipv4 vpn [*HUAWEI-bmp-session-10.1.1.1-ipv4-vpn] trace-prefix route-distinguisher 1:1 192.168.1.1 32