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 4 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.1.2 route-map CHECK_COMMUNITY in neighbor 172.16.20.1 remote-as 1 neighbor 172.16.20.1 route-map CHECK_COMMUNITY in no auto-summary ! ip http server no ip http secure-server ! ! ip community-list 2 permit 262184 ip community-list 3 permit 262204 ! ! route-map CHECK_COMMUNITY permit 10 match community 2 set local-preference 40 ! route-map CHECK_COMMUNITY permit 20 match community 3 set local-preference 60 ! route-map CHECK_COMMUNITY permit 30 set local-preference 100 ! ! ! ! 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