BGP obtains the routing information inside the AS by importing the IGP routing information and advertises the route to the peer. Before the IGP routing information is imported, related configuration should be made to allow BGP to import default routes.
BGP can send internal routes to its neighboring ASs, but it does not discover internal routes by itself. Instead, it imports IGP routes to the BGP routing table and advertises the BGP routing table to the peers. When importing IGP routes, BGP can filter the routes imported from different routing protocols.
If the default-route imported command is not used, the default routes cannot be imported when you run the import-route command to import routes of other protocols.
bgp { as-number-plain | as-number-dot }
import-route protocol [ process-id ] [ med med | route-policy route-policy-name ] *
When the type of an imported route is IS-IS, OSPF, or RIP, you must specify the process ID.