bgpsim 0.20.4

A network control-plane simulator
Documentation
!
!
! Prefix Equivalence Classes
!
ip prefix-list prefix-0-equivalence-class-pl seq 1 permit 200.0.1.0/24
ip prefix-list prefix-0-equivalence-class-pl seq 2 permit 200.0.2.0/23 eq 24
ip prefix-list prefix-0-equivalence-class-pl seq 3 permit 200.0.4.0/23 eq 24
!
!
! Interfaces
!
interface eth1
  ip address 1.192.0.1/30
  no shutdown
exit
!
interface lo
  ip address 1.0.0.1/32
  ip address 200.0.1.1/24
  ip address 200.0.2.1/24
  ip address 200.0.3.1/24
  ip address 200.0.4.1/24
  ip address 200.0.5.1/24
  no shutdown
exit
!
! Static Routes
!
!
! OSPF
!
router ospf
  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
  bgp router-id 1.0.0.1
  neighbor 1.192.0.2 remote-as 65500
  neighbor 1.192.0.2 update-source eth1
  address-family ipv4 unicast
    network 1.0.0.0/8
    network 200.0.1.1/24
    network 200.0.2.1/24
    network 200.0.3.1/24
    network 200.0.4.1/24
    network 200.0.5.1/24
    neighbor 1.192.0.2 weight 100
    neighbor 1.192.0.2 next-hop-self
    neighbor 1.192.0.2 route-map neighbor-R0-in in
    neighbor 1.192.0.2 route-map neighbor-R0-out out
    neighbor 1.192.0.2 soft-reconfiguration inbound
  exit-address-family
exit
!
ip route 1.0.0.0/8 Null0
!
! Route-Maps
!