Advertising the default BGP4 route
By default, a BGP device does not originate and advertise a default route using BGP4.
A BGP4 default route is the IP address 0.0.0.0 and the route prefix 0 or network mask
0.0.0.0. For example, 0.0.0.0/0 is a default route. A BGP device can be configured
to advertise the default IPv4 route to all BGP4 neighbors and to install that route
in the local BGP4 route table.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
default-information-originatecommand to advertise the default IPv4 route to all BGP4 neighbors and to install that route in the local BGP4 route table.