! !debug bgp neighbor ! int lo ip address 10.10.10.10/32 ip address 10.10.10.20/32 ! int r2-eth0 ip address 192.168.1.2/24 ! router bgp 65002 bgp graceful-restart bgp long-lived stale-time 20 no bgp ebgp-requires-policy neighbor 192.168.1.1 remote-as external neighbor 192.168.1.1 timers 1 3 neighbor 192.168.1.1 timers connect 1 neighbor 192.168.1.1 capability dynamic ! address-family ipv4 unicast redistribute connected exit-address-family !