The peer advertise route-reoriginated vpnv6 command enables a device to advertise the regenerated routes in the VPNv6 address family to a BGP VPNv6 peer.
The undo peer advertise route-reoriginated vpnv6 command restores the default configuration.
By default, the local device does not advertise routes regenerated in the VPNv6 address family to a BGP VPNv6 peer.
Usage Scenario
In an HVPN scenario, UPEs communicate with each other through SPEs and NPEs. If there are a large number of UPEs, the one-label-per-instance mode is configured for VPN instances, and the one-label-per-next-hop mode is configured for the VPNv6 address family on the SPE, the UPEs will receive a large number of labels. If the UPE has a small resource capacity, traffic may be incorrectly forwarded.
To address this problem, you can configure an SPE to leak the received VPNv6 routes into a VPN instance, which regenerates these routes and advertises them to the VPNv6 address family. Then, you can configure the one-label-per-instance mode for the VPN instance, when the re-originated VPNv6 routes are advertised to UPEs, each instance is assigned a label. This reduces the number of private network labels of VPNv6 routes. To enable an SPE to advertise routes regenerated in the VPNv6 address family to a BGP VPNv6 peer, run the peer advertise route-reoriginated vpnv6 command.Precautions
The VPN instance has been configured to advertise regenerated routes to the VPNv6 address family using the advertise [ best-route | valid-routes ] route-reoriginate command.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 2001:db8::1 as-number 100 [*HUAWEI-bgp] ipv6-family vpnv6 [*HUAWEI-bgp-af-vpnv6] peer 2001:db8::1 enable [*HUAWEI-bgp-af-vpnv6] peer 2001:db8::1 advertise route-reoriginated vpnv6