We're going to set up ExaBGP on our Python development and management host and then configure it to connect to our JUNOS OS routers in order to provide them with a feed of access control rules that they should apply to all interfaces. For the purposes of this recipe, we'll use our test JUNOS OS VM on 10.0.201.201 as our router, and our management host will be on 10.0.201.1.
- Download and install ExaBGP. For the purposes of this recipe, we're using ExaBGP 3.4.18 with Python 2.7.12.
$ pip install exabgp
- Create an ExaBGP configuration file, flowspec.cfg, which is responsible for configuring ExaBGP to connect to our JUNOS routers, communicate with them by using the IP flow address family, and take instructions from a downstream ...