The active-route-advertise command enables BGP to advertise only the preferred routes in the IP routing table.
The undo active-route-advertise command restores the default setting.
By default, BGP advertises all preferred routes in the BGP routing table to neighbors.
BGP view, BGP-IPv4 unicast address family view, BGP-VPN instance IPv4 address family view, BGP-IPv6 unicast address family view, BGP-VPN instance IPv6 address family view
Usage Scenario
By default, BGP advertises all preferred routes in the BGP routing table to neighbors. After the active-route-advertise is configured, only the routes preferred by BGP and also active at the routing management layer are advertised to neighbors.
Precautions
The active-route-advertise command and the routing-table rib-only command are mutually exclusive.