R6#wr t
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R6
!
!
!
!
!
!
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
isdn switch-type basic-ni
isdn voice-call-failure 0
cns event-service server
!
!         
!
!
!
interface Loopback0
 ip address 161.12.0.6 255.255.255.255
 no ip directed-broadcast
!
interface Ethernet0
 ip address 202.21.12.129 255.255.255.128
 no ip directed-broadcast
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
 no fair-queue
 clockrate 64000
!
interface Serial1
 ip address 202.21.12.50 255.255.255.252
 no ip directed-broadcast
!         
interface Serial2
 ip address 202.21.12.54 255.255.255.252
 no ip directed-broadcast
!
interface Serial3
 ip address 161.12.48.9 255.255.255.252
 no ip directed-broadcast
 encapsulation ppp
 clockrate 64000
!
interface BRI0
 ip unnumbered Loopback0
 no ip directed-broadcast
 encapsulation ppp
 dialer map ip 161.12.0.7 2018
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 2017
!
router bgp 126
 network 202.21.12.48 mask 255.255.255.252
 network 202.21.12.52 mask 255.255.255.252
 network 202.21.12.128 mask 255.255.255.128
 neighbor 161.12.0.2 remote-as 12127
 neighbor 161.12.0.2 ebgp-multihop 255
 neighbor 161.12.0.2 update-source Loopback0
 neighbor 161.12.0.2 route-map modify-med out
 neighbor 161.12.0.7 remote-as 12127
 neighbor 161.12.0.7 ebgp-multihop 255
 neighbor 161.12.0.7 update-source Loopback0
 neighbor 161.12.48.10 remote-as 129
 no auto-summary
!
ip classless
ip route 161.12.0.2 255.255.255.255 Serial1
ip route 161.12.0.2 255.255.255.255 Serial2
ip route 161.12.0.7 255.255.255.255 BRI0
no ip http server
ip as-path access-list 1 permit ^$
!
dialer-list 1 protocol ip permit
route-map modify-med permit 10
 match as-path 1
 set metric 100
!
route-map modify-med permit 20
!
!
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

R6# 