R2#wr t
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
!
!
!
!
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
frame-relay de-list 1 protocol ip list 150
isdn voice-call-failure 0
cns event-service server
!
!         
!
!
!
interface Loopback0
 ip address 161.12.0.2 255.255.255.255
 no ip directed-broadcast
!
interface Loopback1
 ip address 172.16.1.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback2
 ip address 172.16.2.2 255.255.255.0
 no ip directed-broadcast
!
interface Loopback3
 ip address 172.16.3.3 255.255.255.128
 no ip directed-broadcast
!
interface Ethernet0
 ip address 161.12.32.2 255.255.255.128
 no ip directed-broadcast
 ip irdp  
 ip irdp preference 500
!         
interface Serial0
 ip address 202.21.12.33 255.255.255.248
 no ip directed-broadcast
 encapsulation frame-relay
 no ip mroute-cache
 no fair-queue
 frame-relay de-group 1 123
 frame-relay de-group 1 125
!
interface Serial1
 ip address 202.21.12.49 255.255.255.252
 no ip directed-broadcast
 encapsulation ppp
 clockrate 64000
!
interface Serial2
 ip address 202.21.12.53 255.255.255.252
 no ip directed-broadcast
 encapsulation ppp
 clockrate 64000
!
interface Serial3
 ip address 161.12.48.5 255.255.255.252
 no ip directed-broadcast
 encapsulation ppp
 clockrate 64000
!
interface BRI0
 no ip address
 no ip directed-broadcast
 shutdown
 isdn guard-timer 0 on-expiry accept
!
router bgp 12127
 no synchronization
 network 161.12.32.0 mask 255.255.255.128
 network 172.16.1.0 mask 255.255.255.0
 network 172.16.2.0 mask 255.255.255.0
 network 172.16.3.0 mask 255.255.255.128
 aggregate-address 172.16.0.0 255.255.0.0 suppress-map notslash25
 timers bgp 300 900
 neighbor 161.12.0.6 remote-as 126
 neighbor 161.12.0.6 ebgp-multihop 255
 neighbor 161.12.0.6 update-source Loopback0
 neighbor 161.12.32.7 remote-as 12127
 neighbor 161.12.32.7 timers 200 600
 neighbor 161.12.32.7 next-hop-self
 neighbor 161.12.32.7 send-community
 neighbor 161.12.48.6 remote-as 129
 neighbor 161.12.48.6 send-community
 neighbor 161.12.48.6 route-map setcommunity out
 neighbor 202.21.12.34 remote-as 123
 neighbor 202.21.12.34 route-map prefer161 in
 neighbor 202.21.12.35 remote-as 125
 no auto-summary
!
ip classless
ip route 161.12.0.6 255.255.255.255 Serial1
ip route 161.12.0.6 255.255.255.255 Serial2
no ip http server
ip as-path access-list 50 permit ^123_124$
!
access-list 99 permit 161.12.64.0 0.0.1.255
access-list 150 deny   tcp any any eq bgp
access-list 150 deny   tcp any eq bgp any
access-list 150 permit ip any any
access-list 199 permit ip 172.16.0.0 0.0.255.255 host 255.255.255.128
route-map setcommunity permit 10
 set community no-export
!
route-map setcommunity permit 20
!
route-map notslash25 permit 10
 match ip address 199
!
route-map prefer161 permit 10
 match ip address 99
 match as-path 50
 set local-preference 300
!
route-map prefer161 permit 20
!
route-map ntsah5pri permit 10
!
!
alias exec c configure terminal
alias exec si show ip route
alias exec ci clear ip route *
alias exec oi show ip ospf interface
alias exec ion show ip ospf neighbor
alias exec ib show ip bgp 
alias exec cib clear ip bgp *
alias exec ibn show ip bgp neighbor
alias exec wrb sho run | begin
alias exec sib show ip interface brief
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
 transport input none
line aux 0
line vty 0 4
 privilege level 15
 no login
!
end

R2#