BGP-RT1#sh run
Building configuration...

Current configuration : 1682 bytes
!
! Last configuration change at 14:42:29 +03 Thu Mar 10 2022
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BGP-RT1
!
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.1 255.255.255.248
!
interface Ethernet0/1
 ip address 10.32.0.6 255.255.255.252
!
interface Ethernet0/2
 no ip address
 shutdown
!
interface Ethernet0/3
 no ip address
 shutdown
!
router ospf 1
 redistribute bgp 15151 subnets
 network 192.168.1.1 0.0.0.0 area 0
 default-information originate always
!
router bgp 15151
 bgp router-id 192.168.1.1
 bgp log-neighbor-changes
 redistribute ospf 1 match internal external 1 external 2
 neighbor 10.32.0.5 remote-as 13131
 neighbor 10.32.0.5 prefix-list default in
 neighbor 192.168.1.2 remote-as 15151
 neighbor 192.168.1.2 next-hop-self
 neighbor 192.168.1.2 route-map local-pref out
!
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 local-pref permit 10
 set local-preference 200
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input none
!
ntp server pnpntpserver.localdomain
!
end
