Prime 2.1 template to update NTP with parent device's IP
So I have several hundred branch devices.. Cisco 2821's with an integrated switch module. Each device is setup the following: 10.x.x.1 (router) and 10.x.x.2 (switch). I want to update my NTP server statements on the switch to be the router IP (.1). I am trying to find a way to do this with the VTP scripting and was wondering if anybody had a better way.
My thoughts are to use a DB variable to pull the IP Address of the current device ($IPAdress) and use slice to get rid of the last octet, .2, and add .1 to it.
I tried to create this template in PI, but I'm having a problem when I deploy. How would I setup the variables for this with the managed variable tab? I shouldn't have to fill in any values for the variables due to it all being set off of the DB IPAddress variable correct?
Any thoughts or input on how to make this process easier?
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.