R5#wr t
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R5
!
!
!
!
!
!
ip subnet-zero
ip tcp synwait-time 5
no ip domain-lookup
!
frame-relay de-list 1 protocol ip list 150
cns event-service server
!
!
!         
!
!
interface Ethernet0
 ip address 161.12.64.5 255.255.254.0
 no ip directed-broadcast
!
interface Serial0
 ip address 202.21.12.35 255.255.255.248
 no ip directed-broadcast
 encapsulation frame-relay
 no ip mroute-cache
 no fair-queue
 frame-relay de-group 1 152
 frame-relay de-group 1 153
!
interface Serial1
 no ip address
 no ip directed-broadcast
 shutdown 
!
interface TokenRing0
 ip address 161.12.96.5 255.255.252.0
 no ip directed-broadcast
 ring-speed 16
!
router bgp 125
 network 161.12.64.0 mask 255.255.254.0
 network 161.12.96.0 mask 255.255.252.0
 network 202.21.12.32 mask 255.255.255.248
 neighbor 161.12.64.4 remote-as 124
 neighbor 161.12.64.4 prefix-list longerthan29 in
 neighbor 202.21.12.33 remote-as 12127
 neighbor 202.21.12.33 prefix-list longerthan29 in
 neighbor 202.21.12.34 remote-as 123
 neighbor 202.21.12.34 prefix-list longerthan29 in
 no auto-summary
!
ip classless
no ip http server
ip as-path access-list 10 permit _1$
!
!         
ip prefix-list longerthan29 description Look for long prefixes
ip prefix-list longerthan29 seq 5 permit 0.0.0.0/0 le 29
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
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

R5# 