R2#wr t
Building configuration...
  
Current configuration:
!
! Last configuration change at 22:31:09 MST Thu Mar 11 1993
! NVRAM config last updated at 21:39:20 MST Thu Mar 11 1993
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
!
!
!
!
!
clock timezone MST 7
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
!
!
crypto isakmp policy 10
 authentication pre-share
crypto isakmp key cisco address 202.21.12.35   
crypto isakmp key cisco address 202.21.12.34   
!
!
crypto ipsec transform-set bgp esp-des 
crypto ipsec transform-set bgp1 esp-des 
!
!
crypto map bgp 10 ipsec-isakmp   
 set peer 202.21.12.34
 set transform-set bgp 
 match address 155
crypto map bgp 20 ipsec-isakmp   
 set peer 202.21.12.35
 set transform-set bgp1 
 match address 155
!
!
!
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
 ip access-group q6.5b in
 no ip directed-broadcast
 ip irdp
 ip irdp preference 500
 ntp broadcast key 100
!
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
 crypto map bgp
!
interface Serial1
 ip address 202.21.12.49 255.255.255.252
 ip access-group q6.5b in
 no ip directed-broadcast
 clockrate 64000
!
interface Serial2
 ip address 202.21.12.53 255.255.255.252
 ip access-group q6.5b in
 no ip directed-broadcast
 clockrate 64000
!
interface Serial3
 ip address 161.12.48.5 255.255.255.252
 ip access-group q6.5b in
 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$
!
!
ip access-list extended Q6.5b
ip access-list extended q6.5b
 permit tcp any any eq telnet
 permit tcp any eq telnet any
 permit tcp any any eq bgp
 permit udp any any eq tftp
 permit icmp any any echo
 permit icmp any any echo-reply
 permit udp any gt 1024 any gt 1024
 permit udp any eq tftp any
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 155 permit tcp any any eq bgp
access-list 155 permit tcp any eq bgp 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
!
ntp authentication-key 100 md5 020507520E 7
ntp authenticate
ntp trusted-key 100
ntp master 3
end

R2# 