bgpsim 0.20.4

A network control-plane simulator
Documentation
!
feature bgp
feature ospf
!
! Interfaces
!
interface Ethernet8/1
  no switchport
  ip address 3.128.0.1/30
  ip ospf cost 100
  ip router ospf 10 area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface Ethernet8/2
  no switchport
  ip address 3.128.0.5/30
  ip ospf cost 100
  ip router ospf 10 area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface Ethernet8/3
  no switchport
  ip address 3.128.0.9/30
  ip ospf cost 100
  ip router ospf 10 area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface Ethernet8/4
  no switchport
  ip address 1.192.0.1/30
  no shutdown
exit
!
interface Loopback0
  ip address 3.0.0.1/32
  ip ospf cost 1
  ip router ospf 10 area 0
  no shutdown
exit
!
! Static Routes
!
!
! OSPF
!
router ospf 10
  router-id 3.0.0.1
  maximum-paths 1
exit
!
! BGP
!
route-map neighbor-R1-in permit 65535
exit
route-map neighbor-R1-out permit 65535
exit
route-map neighbor-R2-in permit 65535
exit
route-map neighbor-R2-out permit 65535
exit
route-map neighbor-R3-in permit 65535
exit
route-map neighbor-R3-out permit 65535
exit
route-map neighbor-R0_ext_4-in permit 65535
exit
route-map neighbor-R0_ext_4-out permit 65535
exit
!
router bgp 65500
  router-id 3.0.0.1
  neighbor 3.0.1.1 remote-as 65500
    update-source Loopback0
    address-family ipv4 unicast
      weight 100
      next-hop-self
      route-map neighbor-R1-in in
      route-map neighbor-R1-out out
      send-community both
      soft-reconfiguration inbound
    exit
  exit
  neighbor 3.0.2.1 remote-as 65500
    update-source Loopback0
    address-family ipv4 unicast
      weight 100
      next-hop-self
      route-map neighbor-R2-in in
      route-map neighbor-R2-out out
      send-community both
      soft-reconfiguration inbound
    exit
  exit
  neighbor 3.0.3.1 remote-as 65500
    update-source Loopback0
    address-family ipv4 unicast
      weight 100
      next-hop-self
      route-map neighbor-R3-in in
      route-map neighbor-R3-out out
      send-community both
      soft-reconfiguration inbound
    exit
  exit
  neighbor 1.192.0.2 remote-as 100
    update-source Ethernet8/4
    address-family ipv4 unicast
      weight 100
      next-hop-self
      route-map neighbor-R0_ext_4-in in
      route-map neighbor-R0_ext_4-out out
      soft-reconfiguration inbound
    exit
  exit
  address-family ipv4 unicast
    network 3.0.0.0/8
  exit
exit
!
ip route 3.0.0.0/8 null 0
!
! Route-Maps
!