
BGP-RT2#sh run
Building configuration...

Current configuration : 1592 bytes
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BGP-RT2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
clock timezone +03 3 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
!
!


!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
cts logging verbose
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
 ip address 192.168.1.2 255.255.255.248
!
interface Ethernet0/1
 ip address 10.35.0.6 255.255.255.252
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
router ospf 1
 network 192.168.1.2 0.0.0.0 area 0
 default-information originate always
!
router bgp 15151
 bgp router-id 192.168.1.2
 bgp log-neighbor-changes
 redistribute ospf 1 match external 1 external 2
 neighbor 10.35.0.5 remote-as 41141
 neighbor 10.35.0.5 prefix-list default in
 neighbor 10.35.0.5 route-map prepend out
 neighbor 192.168.1.1 remote-as 15151
 neighbor 192.168.1.1 next-hop-self
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
ip prefix-list default seq 5 permit 0.0.0.0/0
!
ip prefix-list real-IP seq 5 permit 24.24.24.0/24
!
route-map prepend permit 10
 match ip address prefix-list real-IP
 set as-path prepend 15151 15151 15151 15151
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input none
!
!
end

