2.
The router's routing table must include the routes that the router adver-
tises. In this simplified example, the router only advertises the network
to which it connects directly, so its routing table automatically includes
the necessary route.
3.
Configure the router to advertise the local network to BGP neighbors and
to receive routes from these neighbors (See Figure 15-22):
ProCurve(config)# router bgp 3
ProCurve(config-bgp)# bgp router-id 10.1.0.3
ProCurve(config-bgp)# network 10.1.1.0 mask 255.255.255.0
ProCurve(config-bgp)# neighbor 10.1.0.1
ProCurve(config-bgp-neighbor)# remote-as 1
ProCurve(config-bgp-neighbor)# exit
ProCurve(config-bgp)# neighbor 10.2.0.2
ProCurve(config-bgp-neighbor)# remote-as 2
!
router bgp 3
no auto-summary
no synchronization
bgp router-id 10.1.0.3
network 10.1.1.0 mask 255.255.255.0
neighbor 10.1.0.1
no default-originate
soft-reconfiguration inbound
remote-as 1
neighbor 10.2.0.2
no default-originate
soft-reconfiguration inbound
remote-as 2
!
Figure 15-22. Baseline BGP Running-Config
Example 2: Baseline BGP Configuration for a Router that Runs
an IGP
In a larger network, Router A would need to run an IGP such as OSPF or RIP
so that it could receive routes to non-directly connected local networks.
For example, you could configure Router A to be an OSPF ASBR:
ProCurve(config)# router ospf
ProCurve(config-ospf)# network 10.1.1.0 0.0.0.255 area 0
ProCurve(config-ospf)# default-information-originate always
IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring BGP
15-111