Configuring and Verifying External and Internal BGP

Basic BGP configuration is relatively simple on a Cisco router between two BGP peers. Figure 8.6 shows a basic BGP configuration.

Figure 8.6. A sample of a basic BGP configuration.

RouterA in AS 65410 and RouterB in AS 65420 are BGP peers (or neighbors) and will begin to advertise networks 172.18.0.0/16 and 172.19.0.0/16 respectively. Listing 8.2 shows the Cisco configuration commands.

Listing 8.2. A Sample Configuration for Basic BGP Neighbors
 RouterA(config)# router bgp 65410 RouterA(config-router)# neighbor 10.10.10.2 remote-as 65420 RouterA(config-router)# network 172.18.0.0 RouterB(config)# ...

Get BSCI Exam Cram™ 2 (Exam 642-801) 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.