In this recipe, we will outline how to manage interfaces on a Juniper device. This allows us to set different parameters for our interfaces, such as the maximum transition unit (MTU) and the IP addresses on Juniper devices.
Configuring interfaces on Juniper devices
Getting ready
To follow along with this recipe, an Ansible inventory is assumed to be already set up, and NETCONF is enabled on all Juniper devices, as per the previous recipe.
How to do it...
- Update the group_vars/all.yml YAML file to include the following data for all the point-to-point (P2P) and loopback...