When the local routes need to be advertised to the peer, you can implement this configuration to add the specified network segment to the BGP routing table. This configuration is available only when the routes are in the local routing table.
The local routes to be advertised should be in the local IP routing table. You can use routing policies to control the routes to be advertised more flexibly.