IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
15-112
The default-information-originate always command allows the router to
advertise a default route for the external traffic it receives from the ISP
routers.
You would then complete the steps explained in "Example 1: Baseline BGP
Configuration" on page 15-109. When specifying advertised networks, enter
the OSPF routes in the routing table as well as the local route. For example,
the LAN may use area summaries such as:
area 0 = 10.1.0.0 /23
area 1 = 10.1.2.0 /23
area 2 = 10.1.4.0 /23
You would advertise each summary:
ProCurve(config)# router bgp 3
ProCurve(config-bgp)# network 10.1.0.0 mask 255.255.254.0
ProCurve(config-bgp)# network 10.1.2.0 mask 255.255.254.0
ProCurve(config-bgp)# network 10.1.4.0 mask 255.255.254.0
Remember that the router will not have an area summary route for the areas
in which it has an interface. If you want to advertise this summary to the BGP
neighbor rather than routes to individual subnets in the area, you should add
a null route. For example:
ProCurve(config)# ip route 10.1.0.0 /23 null 0
The running-config for the routing protocols would be as shown in Figure 15-23.