The active-route-advertise command enables BGP to advertise only the selected routes in the IP routing table.
The undo active-route-advertise command restores the default setting.
By default, BGP advertises all selected routes in the BGP routing table to peers.
Usage Scenario
By default, BGP advertises all selected routes in the BGP routing table to peers. After the active-route-advertise command is configured, only the routes selected by BGP and also active at the routing management layer are advertised to peers.
Precautions
The active-route-advertise and routing-table rib-only commands are mutually exclusive.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] ipv6-family [*HUAWEI-vpn-instance-vpna-af-ipv6] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpna [*HUAWEI-bgp-6-vpna] active-route-advertise