bgpsim 0.20.4

A network control-plane simulator
Documentation
!
!
! Interfaces
!
interface eth1
  ip address 3.128.0.1/30
  ip ospf cost 100
  ip ospf area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface eth2
  ip address 3.128.0.5/30
  ip ospf cost 100
  ip ospf area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface eth3
  ip address 3.128.0.9/30
  ip ospf cost 100
  ip ospf area 0
  ip ospf dead-interval 5
  ip ospf hello-interval 1
  no shutdown
exit
!
interface eth4
  ip address 1.192.0.1/30
  no shutdown
exit
!
interface lo
  ip address 3.0.0.1/32
  ip ospf cost 1
  ip ospf area 0
  no shutdown
exit
!
! Static Routes
!
!
! OSPF
!
router ospf
  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
  bgp router-id 3.0.0.1
  neighbor 3.0.1.1 remote-as 65500
  neighbor 3.0.1.1 update-source lo
  neighbor 3.0.2.1 remote-as 65500
  neighbor 3.0.2.1 update-source lo
  neighbor 3.0.3.1 remote-as 65500
  neighbor 3.0.3.1 update-source lo
  neighbor 1.192.0.2 remote-as 100
  neighbor 1.192.0.2 update-source eth4
  address-family ipv4 unicast
    network 3.0.0.0/8
    neighbor 3.0.1.1 weight 100
    neighbor 3.0.1.1 next-hop-self
    neighbor 3.0.1.1 route-reflector-client
    neighbor 3.0.1.1 route-map neighbor-R1-in in
    neighbor 3.0.1.1 route-map neighbor-R1-out out
    neighbor 3.0.1.1 send-community
    neighbor 3.0.1.1 soft-reconfiguration inbound
    neighbor 3.0.2.1 weight 100
    neighbor 3.0.2.1 next-hop-self
    neighbor 3.0.2.1 route-reflector-client
    neighbor 3.0.2.1 route-map neighbor-R2-in in
    neighbor 3.0.2.1 route-map neighbor-R2-out out
    neighbor 3.0.2.1 send-community
    neighbor 3.0.2.1 soft-reconfiguration inbound
    neighbor 3.0.3.1 weight 100
    neighbor 3.0.3.1 next-hop-self
    neighbor 3.0.3.1 route-reflector-client
    neighbor 3.0.3.1 route-map neighbor-R3-in in
    neighbor 3.0.3.1 route-map neighbor-R3-out out
    neighbor 3.0.3.1 send-community
    neighbor 3.0.3.1 soft-reconfiguration inbound
    neighbor 1.192.0.2 weight 100
    neighbor 1.192.0.2 next-hop-self
    neighbor 1.192.0.2 route-map neighbor-R0_ext_4-in in
    neighbor 1.192.0.2 route-map neighbor-R0_ext_4-out out
    neighbor 1.192.0.2 soft-reconfiguration inbound
  exit-address-family
exit
!
ip route 3.0.0.0/8 Null0
!
! Route-Maps
!