Route Advertisements to Customers Overview

If you established static routes on a PE router for each prefix in a particular customer site, you can configure BGP on the PE router to advertise these static routes to customer sites within the VPN with network commands.

host1:vr1(config-router)#network 10.3.0.0host1:vr1(config-router)#network 10.12.0.0

In this example, both networks end on a classful boundary, eliminating the need to configure a network mask.

Alternatively, you can use the redistribute command to advertise the static routes as follows:

host1:vr1(config-router)#redistribute static

See Configuring BGP Routing, for more information about advertising static routes.

If the PE router learns routes from a CE router by means of an IGP, you can configure BGP to advertise these IGP routes to all customer sites within the VPN with redistribute commands. For example, if the PE router learns the routes by means of OSPF, you can issue the following command to inject these routes into BGP for advertisement:

host1:vr1(config-router)#redistribute ospf

See Configuring BGP Routing, for more information about advertising IGP routes.

Related Documentation