【Problem Description】
have some question about Huawei NE40 BGP Configuration.
Due to BGP route reflectors cannotchange any attribute of the routes they reflect.

From the picture, Prefix : 50.50.50.0/24 originated by PE-A is propogated by Route Reflector to PE-B.
PE-B shown that BGP next hop to 50.50.50.0/24 is 1.1.1.1 (PE-A).
If we need to modify next hop attributes that are learned from iBGP Peers (PE-A) to 20.20.20.2 (RouteReflector) and allow traffic from PE-B to 50.50.50.0/24 across the Route Reflector.
Please suggest us for NE40 Configuration ?
On Cisco Device,We used “next-hop-self all “ to change the NHattributes that learn from iBGP and eBGP to our reflect clients.
【Problem Analysis】
Please refer to command “reflect change-path-attribute” as follow document.
http://support.huawei.com/hedex/pages/EDOC100008314230006020/07/EDOC100008314230006020/07/resources/vrp/reflect_change-path-attribute.html?ft=0&fe=10&hib=8.1.11.8.164&id=reflect_change-path-attribute&text=reflect%20change-path-attribute&docid=EDOC1000083142
Applythis command in bgp AS
Configureroute-policy and apply for peer

Please refer to this.
If you configure theip-address next-hop with “peer-address” parameter and apply the router-policyfor peer PE-B (peer 2.2.2.2), then the next-hop address is the local-address ofRR 20.20.20.2.



