BGP Configurations
Config)#router bgp 100
Config-router)#neighbor 192.168.12.2 remote-as 200
Config-router)#do sh ip bgp summery
Config-router)#do sh ip bgp neighbor
Config-router)#do sh tcp bri
#debug bgp ipv4 unicast events
Config-router)#do sh ip bgp
EBGP TTL=1
IBGP TTL=255
R1
Loop 2 11.11.11.11
R1(config)#route-map Loop11
R1(config-route-map)#match interface lo 2
R1(config-route-map)#router bgp 100
R1(config-router)#redistribute connected route-map Loop11
R1(config)#route-map Loop11
R1(config-route-map)#match interface loo 2
R1(config-route-map)#set origin igp
R1#clear ip bgp * soft
R3
Config)#ip route 6.6.6.0 255.255.255.0 192.168.36.6
Config)#ip route 6.6.6.0 255.255.255.0 192.168.63.6
R6
Config)#ip route 3.3.3.0 255.255.255.0 192.168.36.3
Config)#ip route 3.3.3.0 255.255.255.0 192.168.63.3
R3
Config)#router bgp 300
Config-router)#neighbor 6.6.6.6 remote 400
Config-router)#neighbor 6.6.6.6 update-source loopback 0
Config-router)#neighbor 6.6.6.6 ebgp-multihop 10
R6
Config)#router bgp 400
Config-router)#neighbor 3.3.3.3 remote 300
Config-router)#neighbor 3.3.3.3 update-source loopback 0
Config-router)#neighbor 3.3.3.3 ebgp-multihop 10
R1(config)#ip route 2.2.2.0 255.255.255.0 e0/0
R2(config)#ip route 1.1.1.0 255.255.255.0 e0/0
R1(config-router)#neighbor 1.1.1.1 disable-connected-check
BGP authentication
R1(config)#Router BGP 100
R1(config-router)#neighbor 192.168.12.2 password cisco123