The peer advertise route-reoriginated vpnv6 command enables a device to advertise regenerated routes in the VPNv6 address family to a BGP VPNv6 peer group.
The undo peer advertise route-reoriginated vpnv6 command restores the default configuration.
By default, the local device does not advertise regenerated routes in the VPNv6 address family to a BGP VPNv6 peer group.
Usage Scenario
In an HVPN scenario, different UPEs communicate with each other through SPEs and NPEs. When there are a large number of UPEs, if the per instance per label mode is configured for the VPN instances and the per next hop per label mode is configured for the VPNv6 address family of the SPEs, the UPEs have to receive a large number of labels. If the UPEs have comparatively low capacity, a traffic forwarding error may occur.
To solve this problem, import the VPNv6 routes received by the SPEs into the VPN instances. The VPN instances regenerate these routes and then advertise them to the VPNv6 address family. Because the per instance per label mode is configured for the VPN instances, one label is allocated per VPN instance when the regenerated routes are advertised to the UPEs, which reduces the number of VPN labels assigned to VPNv6 routes. To enable an SPE to advertise the regenerated routes in the VPNv6 address family to a BGP VPNv6 peer group, run the peer advertise route-reoriginated vpnv6 command.Precautions
Before running this command, you can run the advertise [ best-route | valid-routes ] route-reoriginate command to configure a VPN instance to advertise regenerated routes to the VPNv6 address family.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] group a internal [*HUAWEI-bgp] ipv6-family vpnv6 [*HUAWEI-bgp-af-vpnv6] peer a enable [*HUAWEI-bgp-af-vpnv6] peer a advertise route-reoriginated vpnv6