R4#wr t
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
!
memory-size iomem 10
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
voice-port 1/0/0
!
voice-port 1/0/1
!
!
!
!
!         
interface Ethernet0/0
 ip address 54.254.1.12 255.255.255.0
 no ip directed-broadcast
!
interface Serial0/0
 ip address 202.21.12.58 255.255.255.252
 no ip directed-broadcast
 encapsulation ppp
 no ip mroute-cache
 no fair-queue
 clockrate 64000
!
interface Ethernet0/1
 ip address 161.12.64.4 255.255.254.0
 no ip directed-broadcast
!
interface Serial0/1
 no ip address
 no ip directed-broadcast
 clockrate 64000
!
router bgp 124
 no bgp fast-external-fallover
 network 161.12.64.0 mask 255.255.254.0
 network 202.21.12.56 mask 255.255.255.252
 neighbor 161.12.64.5 remote-as 125
 neighbor 161.12.64.5 route-map weight-125 in
 neighbor 202.21.12.57 remote-as 123
 neighbor 202.21.12.57 route-map weight-123 in
 no auto-summary
!
ip classless
ip as-path access-list 10 permit _1$
!
route-map weight-125 permit 10
 match as-path 10
 set weight 250
!
route-map weight-125 permit 20
!
route-map weight-123 permit 10
 match as-path 10
 set weight 150
!
route-map weight-123 permit 20
!
route-map weight-in 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

R4#