Basic BGP Configuration
www.netprotocolxpert.in
R2 interfaces Configuration:-
 interface FastEthernet0/0
description CONNECTED WITH SW1
 ip address 192.192.12.2 255.255.255.0
 no shut
 exit
R1 interfaces Configuration:-
 interface FastEthernet0/0
description CONNECTED WITH SW1
 ip address 192.192.12.1 255.255.255.0
 no shut
 exit
 interface Serial0/0
description CONNECTED WITH R1
 ip address 192.192.1.2 255.255.255.252
 clock rate 2000000
 no shut
 exit
 interface Serial0/1
description CONNECTED WITH RELIANCE_ISP
 ip address 192.192.1.6 255.255.255.252
 clock rate 2000000
 no shut
 exit
Airtel_ISP Interfaces Configuration:-
 interface Serial0/0
description CONNECTED WITH R1
 ip address 192.192.1.1 255.255.255.252
 clock rate 64000
 no shut
 exit
 interface Serial0/1
description CONNECTED WITH VODAFONE_ISP
 ip address 200.200.1.5 255.255.255.252
 clock rate 2000000
 no shut
 exit
Reliance_ISP interface Configuration:-
 interface Serial0/0
description CONNECTED WITH VODAFONE_ISP
 ip address 200.200.1.1 255.255.255.252
 clock rate 2000000
 no shut
 exit
 interface Serial0/1
description CONNECTED WITH R1
 ip address 192.192.1.5 255.255.255.252
 clock rate 2000000
 no shut
 exit
Vodafone_ISP interfaces Configuration:-
 interface Serial0/0
description CONNECTED WITH RELIANCE_ISP
 ip address 200.200.1.2 255.255.255.252
 clock rate 2000000
 no shut
 exit
 interface Serial0/1
description CONNECTED WITH AIRTEL_ISP
 ip address 200.200.1.6 255.255.255.252
 clock rate 2000000
 no shut
 exit
Terms:-
 {Remote-as:-Specify a BGP neighbor Autonomous No.
{AS No}
 BGP Synchronization:- Do not use or advertise a route
learned via IBGP until the same route has been learned
from the internal routing protocol
 BGP next-hop-processing:-
◦ For EBGP peers:- change next hop address on advertised routes
◦ For IBGP peers:-do not change next hop address on advertise
routes
R2 BGP Configuration:-
 R1(config)# router bgp 65001
 no synchronization
 bgp router-id 2.2.2.2
 network 192.192.12.0 mask 255.255.255.0
 neighbor 192.192.12.1 remote-as 65001
 neighbor 192.192.12.1 description R1
 no auto-summary
R1 BGP Configuration:-
 R2(config)#router bgp 65001
 no synchronization
 bgp router-id 1.1.1.1
 network 192.192.1.0 mask 255.255.255.252
 network 192.192.1.4 mask 255.255.255.252
 neighbor 192.192.1.1 remote-as 65002
 neighbor 192.192.1.1 description AIRTEL_ISP
 neighbor 192.192.1.5 remote-as 65004
 neighbor 192.192.1.5 description RELIANCE_ISP
 neighbor 192.192.12.2 remote-as 65001
 neighbor 192.192.12.2 description R2
 no auto-summary
Airtel_ISP BGP Configuration:-
 Airtel_ISP(config)#router bgp 65002
 no synchronization
 bgp router-id 3.3.3.3
 network 192.192.1.0 mask 255.255.255.252
 network 200.200.1.4 mask 255.255.255.252
 neighbor 192.192.1.2 remote-as 65001
 neighbor 192.192.1.2 description R1
 neighbor 200.200.1.6 remote-as 65003
 neighbor 200.200.1.6 description VODAFONE_ISP
 no auto-summary
Reliance_ISP Configuration:-
 Reliance_ISP (config)#router bgp 65004
 no synchronization
 bgp router-id 4.4.4.4
 network 192.192.1.4 mask 255.255.255.252
 network 200.200.1.0 mask 255.255.255.252
 neighbor 192.192.1.6 remote-as 65001
 neighbor 192.192.1.6 description R1
 neighbor 200.200.1.2 remote-as 65003
 neighbor 200.200.1.2 description VODAFONE_ISP
 no auto-summary
Vodafone_ISP {BGP} Configuration:-
 Vodafone_ISP (config)#router bgp 65003
 no synchronization
 bgp router-id 5.5.5.5
 network 200.200.1.0 mask 255.255.255.252
 network 200.200.1.4 mask 255.255.255.252
 neighbor 200.200.1.1 remote-as 65004
 neighbor 200.200.1.1 description RELIANCE_ISP
 neighbor 200.200.1.5 remote-as 65002
 neighbor 200.200.1.5 description AIRTEL_ISP
 no auto-summary
Troubleshooting & Verification Commands:-
 show ip route
 show ip interface brief
 show ip bgp summary
 show ip bgp
 show ip bgp neighbor

Basic BGP Configuration

  • 1.
  • 3.
    R2 interfaces Configuration:- interface FastEthernet0/0 description CONNECTED WITH SW1  ip address 192.192.12.2 255.255.255.0  no shut  exit
  • 4.
    R1 interfaces Configuration:- interface FastEthernet0/0 description CONNECTED WITH SW1  ip address 192.192.12.1 255.255.255.0  no shut  exit  interface Serial0/0 description CONNECTED WITH R1  ip address 192.192.1.2 255.255.255.252  clock rate 2000000  no shut  exit  interface Serial0/1 description CONNECTED WITH RELIANCE_ISP  ip address 192.192.1.6 255.255.255.252  clock rate 2000000  no shut  exit
  • 5.
    Airtel_ISP Interfaces Configuration:- interface Serial0/0 description CONNECTED WITH R1  ip address 192.192.1.1 255.255.255.252  clock rate 64000  no shut  exit  interface Serial0/1 description CONNECTED WITH VODAFONE_ISP  ip address 200.200.1.5 255.255.255.252  clock rate 2000000  no shut  exit
  • 6.
    Reliance_ISP interface Configuration:- interface Serial0/0 description CONNECTED WITH VODAFONE_ISP  ip address 200.200.1.1 255.255.255.252  clock rate 2000000  no shut  exit  interface Serial0/1 description CONNECTED WITH R1  ip address 192.192.1.5 255.255.255.252  clock rate 2000000  no shut  exit
  • 7.
    Vodafone_ISP interfaces Configuration:- interface Serial0/0 description CONNECTED WITH RELIANCE_ISP  ip address 200.200.1.2 255.255.255.252  clock rate 2000000  no shut  exit  interface Serial0/1 description CONNECTED WITH AIRTEL_ISP  ip address 200.200.1.6 255.255.255.252  clock rate 2000000  no shut  exit
  • 8.
    Terms:-  {Remote-as:-Specify aBGP neighbor Autonomous No. {AS No}  BGP Synchronization:- Do not use or advertise a route learned via IBGP until the same route has been learned from the internal routing protocol  BGP next-hop-processing:- ◦ For EBGP peers:- change next hop address on advertised routes ◦ For IBGP peers:-do not change next hop address on advertise routes
  • 9.
    R2 BGP Configuration:- R1(config)# router bgp 65001  no synchronization  bgp router-id 2.2.2.2  network 192.192.12.0 mask 255.255.255.0  neighbor 192.192.12.1 remote-as 65001  neighbor 192.192.12.1 description R1  no auto-summary
  • 10.
    R1 BGP Configuration:- R2(config)#router bgp 65001  no synchronization  bgp router-id 1.1.1.1  network 192.192.1.0 mask 255.255.255.252  network 192.192.1.4 mask 255.255.255.252  neighbor 192.192.1.1 remote-as 65002  neighbor 192.192.1.1 description AIRTEL_ISP  neighbor 192.192.1.5 remote-as 65004  neighbor 192.192.1.5 description RELIANCE_ISP  neighbor 192.192.12.2 remote-as 65001  neighbor 192.192.12.2 description R2  no auto-summary
  • 11.
    Airtel_ISP BGP Configuration:- Airtel_ISP(config)#router bgp 65002  no synchronization  bgp router-id 3.3.3.3  network 192.192.1.0 mask 255.255.255.252  network 200.200.1.4 mask 255.255.255.252  neighbor 192.192.1.2 remote-as 65001  neighbor 192.192.1.2 description R1  neighbor 200.200.1.6 remote-as 65003  neighbor 200.200.1.6 description VODAFONE_ISP  no auto-summary
  • 12.
    Reliance_ISP Configuration:-  Reliance_ISP(config)#router bgp 65004  no synchronization  bgp router-id 4.4.4.4  network 192.192.1.4 mask 255.255.255.252  network 200.200.1.0 mask 255.255.255.252  neighbor 192.192.1.6 remote-as 65001  neighbor 192.192.1.6 description R1  neighbor 200.200.1.2 remote-as 65003  neighbor 200.200.1.2 description VODAFONE_ISP  no auto-summary
  • 13.
    Vodafone_ISP {BGP} Configuration:- Vodafone_ISP (config)#router bgp 65003  no synchronization  bgp router-id 5.5.5.5  network 200.200.1.0 mask 255.255.255.252  network 200.200.1.4 mask 255.255.255.252  neighbor 200.200.1.1 remote-as 65004  neighbor 200.200.1.1 description RELIANCE_ISP  neighbor 200.200.1.5 remote-as 65002  neighbor 200.200.1.5 description AIRTEL_ISP  no auto-summary
  • 14.
    Troubleshooting & VerificationCommands:-  show ip route  show ip interface brief  show ip bgp summary  show ip bgp  show ip bgp neighbor