This repository contains NetBox Config Templates for on-box rendering and storing device configurations. These templates may not suit all your requirements and are providing a general view of what you can achieve using some of the available NetBox built-in tools:
Each platform folder (eq. ios, junos, etc.) contains its Jinja configuration template and additional files that might be required to path any non-standard data that can't be stored in NetBox by default but is required for configuration rendering. Also, custom NetBox information is exported from the NetBox server where templates are being tested and stored in separate files whithin this repository.
Note: Use with caution and try any of the provided files on the test environment first as they may not be compatible with your existing platform and custom information.
For example, in order to create a static route configuration the template will try to parse the custom field named "Static routes" which is stored in JSON format for each device and has a specific structure. If this structure is changed for some reason you'll need to make proper changes to the all related Jinja configuration templates. Otherwise, unexpected behaviour such as wrong configuration or errors during the configuration rendering may happen. All required custom fields are stored in "netbox_custom fields.csv" file.
- netbox-junos-ex-template - Minimal configuration of Junos EX series switches (ELS only, for details see Using the Enhanced Layer 2 Software CLI)
Import required jinja templates, custom information from the .csv files, and example files to store custom data.
Details are in progress . . .
- [+] Correct group configuration for Virtual-Chassis
- [+] Include interfaces from all nodes if device is a part of Virtual-hassis
- [+] Load-balance configuration for routing (The LAG hashing algorithm on EX Series switches is not user configurable)
- [+] VRRP configuration
- [+] Storm-Control
- [+] DNS configuration
- [+] System domain-name configuration
- [+] NTP configuration
- [+] Time-Zone configuration
- [+] SNMP configuration
- [+] Radius configuration
- [+] TACACS+ configuration
- [-] MSTP configuration
- [-] DHCP server/relay configuration
- [-] CoPP (Control-Plane Protection using lo0 filters)
- [-] 802.1x authentication
- [-] Port Security
- [-] DHCP Security
- [-] ARP Security
- [-] OSPF configuration
- [-] BGP configuration
All templates are tested and compatible with NetBox versions:
Version | Compatibility |
---|---|
v3.5.3 | [ + ] |
v3.5.4 | [ + ] |