Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

Config Change Script for Juniper to automatically get IP address

$
0
0

Hello,

 

I'm trying to push out a new configuration to all our Juniper JUNOS devices to change the IP of the TACACS server. I need to also set the source IP of the TACACS call (i.e. set system tacplus-server 10.1.1.10 source-address 10.20.1.1). This source address is unique to each device. In some cases it's the loopback but in most cases its the SVI on the switch. Can you recommend a method of using a config change template to automatically gather that source IP as a variable so that when I deploy that command I can fill in the source address appropriately?

 

If it helps, this is the IP address that SolarWinds uses to manage the device so it already knows that IP. Can I just use it as a variable?

 

set system tacplus-server 10.1.1.10 source-address @IPAddress

 

BTW, I'm a total template n00b.

 

TIA,

 

Eric


Viewing all articles
Browse latest Browse all 4266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>