I'm currently working on our new PI 2.0 server and playing a bit with templating features.
Thanks to the VTL markup language I understood that it is possible to "program" some feature based on variable content, state,...
I would like to know if it would be possible to have some access to variables specific to a device. What I would like to do is to create a template that launch command based on the make and model of the device.
For example to save the running-configuration I need to apply the command "do copy run start" on an IOS device whereas on an NXOS device I have to apply the command "copy run start".
I don't want to create two templates (one for NXOS and the other for IOS).
Do you have any clue on doing this and if it is possible ?
You might be able to use some of the database information such as the ProductType or ProductSeries varibles. Look at the Access Layer-IOS script for an example of how to use the ProductSeries. This should let you create one script, and have different commands based on the database variable that prime has for a given device.
Listen: https://smarturl.it/CCRS9E18Follow us: https://twitter.com/CiscoChampion Reaching the height of your career is no simple feat. It often requires a combination of pursuing the right education, building the right professional network and being ...
In a typical production SD-WAN deployment, we would probably have many remote sites connected via many different Internet connections to a centralized data center or a regional hub. In most regions in the world, Internet providers will always use some typ...
Listen: https://smarturl.it/CCRS9E16 Follow us: https://twitter.com/CiscoChampion
For all end-users across Cisco’s ecosystem, counterfeiting presents serious risks to network quality, performance, safety, and reliability. It is dangerous becaus...