Configuring BGP
To start BGP on a Cisco router, the following command is required:
router bgp autonomous system number
To define networks to be advertised, apply the following command:
network network-number mask network-mask
You must be aware that the network command is not used in the same way you use it when you apply networks in OSPF or EIGRP. With BGP, you use the network command to advertise networks that originate from the router and need to be advertised through BGP.
To identify peer routers, apply the following command:
neighbor ip-address | peer-group name remote-as autonomous system number
Next, you see how to configure IBGP and EBGP among the three routers in Figure 6-1. Example 6-1 displays the IBGP configuration on R1 to R2. ...
Get CCNP® Practical Studies: Routing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.