!
feature bgp
feature ospf
!
! Interfaces
!
interface Ethernet8/1
no switchport
ip address 1.192.0.1/30
no shutdown
exit
!
interface Loopback0
ip address 1.0.0.1/32
no shutdown
exit
interface Loopback1
ip address 100.0.100.1/24
exit
interface Loopback2
ip address 100.0.101.1/24
exit
!
! Static Routes
!
!
! OSPF
!
router ospf 10
router-id 1.0.0.1
maximum-paths 1
exit
!
! BGP
!
route-map neighbor-R0-in permit 65535
exit
route-map neighbor-R0-out permit 65535
exit
!
router bgp 100
router-id 1.0.0.1
neighbor 1.192.0.2 remote-as 65500
update-source Ethernet8/1
address-family ipv4 unicast
weight 100
next-hop-self
route-map neighbor-R0-in in
route-map neighbor-R0-out out
soft-reconfiguration inbound
exit
exit
address-family ipv4 unicast
network 1.0.0.0/8
network 100.0.100.1/24
network 100.0.101.1/24
exit
exit
!
ip route 1.0.0.0/8 null 0
!
! Route-Maps
!