! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname RTA ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 ! ! ip cef no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.2.254 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 172.16.220.1 255.255.255.0 duplex auto speed auto ! interface Serial1/0 ip address 172.16.20.2 255.255.255.0 serial restart-delay 0 no fair-queue ! interface Serial1/1 no ip address shutdown serial restart-delay 0 ! interface Serial1/2 no ip address shutdown serial restart-delay 0 ! interface Serial1/3 no ip address shutdown serial restart-delay 0 ! router bgp 3 no synchronization bgp log-neighbor-changes network 172.16.1.0 mask 255.255.255.0 network 172.16.2.0 mask 255.255.255.0 network 172.16.20.0 mask 255.255.255.0 network 172.16.220.0 mask 255.255.255.0 neighbor 172.16.1.2 remote-as 3 neighbor 172.16.1.2 next-hop-self neighbor 172.16.20.1 remote-as 1 neighbor 172.16.20.1 route-map ACCEPT_LOCAL in neighbor 172.16.20.1 route-map PREPEND_PATH out no auto-summary ! ip http server no ip http secure-server ! ! ip as-path access-list 1 permit ^1 ?[0-9]*$ ip as-path access-list 2 permit ^$ ! access-list 1 permit 172.16.10.0 0.0.0.255 access-list 1 permit 172.16.65.0 0.0.0.255 ! route-map PREPEND_PATH permit 10 match ip address 1 set as-path prepend 3 3 3 3 ! route-map PREPEND_PATH permit 20 match as-path 2 ! route-map ACCEPT_LOCAL permit 10 match as-path 1 ! ! ! ! control-plane ! ! ! ! ! ! ! ! alias exec s show ip int brief alias exec sir show ip route alias exec sion show ip ospf neighbor alias exec sien show ip eigrp neighbor alias exec sbs show ip bgp sum alias exec r show run ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 line vty 0 4 password cisco login ! ! end