In this recipe, we will outline how to configure BGP on Juniper devices. We will outline how to set up BGP and BGP Route Reflectors (RR) as part of our sample topology, along with all the required BGP address families to support virtual private network (VPN) services.
- Update the group_vars/all.yml file with the following BGP information:
- For each node within our Ansible inventory, we create a file called bgp.yml under the host_vars directory. This file holds the BGP information and BGP peers for each node. This is the example for the mxpe01 device:
$ cat host_vars/mxpe01/bgp.yml
- local_as: 65400