: Use a stable loopback interface address (e.g., 1.1.1.1 ). 3. Establish Neighbor Relationships
: If the network is not already in the routing table, you may need to add a static route to Null0 to "anchor" it. 5. Advanced Lab Tasks (Optional)
Unlike OSPF, BGP does not automatically advertise connected networks. You must use the network command, which requires an for the prefix and mask in the router's routing table (FIB). Command : network mask Configuring BGP on Cisco Routers - Lab Guide
This lab guide covers the essential steps to configure and verify Border Gateway Protocol (BGP) on Cisco routers, covering both and External BGP (eBGP) . 1. Enable the BGP Process
: Peers in different autonomous systems (e.g., R1 in AS 100 connecting to R2 in AS 200). neighbor remote-as iBGP (Same AS) : Peers within the same autonomous system. neighbor remote-as : Use a stable loopback interface address (e
To start, initialize the BGP process on each router using a unique Autonomous System (AS) number. : router bgp Example : On R1 in AS 100, use router bgp 100 . 2. Configure the BGP Router ID
BGP requires a 32-bit unique identifier to establish peering sessions. While Cisco IOS can select this automatically from the highest IP on a loopback or physical interface, it is best practice to set it manually for stability. : bgp router-id Command : network mask This lab guide covers
Neighbors must be explicitly defined using their IP address and AS number.