I was wondering if anyone was able to point me to, or post their own, examples of Baseline Templates.
I am particularly interested in more complex examples with good use of parameter files. I have noticed that the in-built help and user guides dont go into too much detail with more complex examples of parameter file templates and what it is actually possible to achieve.
Ideally I would like to use this feature heavily in the commissioning of new devices, that have been pre-loaded with a minimal config. Do parameter files allow for any built in logic for mathematical variations such as IP addresses / hostnames etc?
Assuming you're using LMS 2.6, there are some build-in template examples that make use of some of the advanced features. Generally, baseline templates are pretty environment-specific. What specific problems do you want to solve using this feature?
Parameter files don't allow you to do any complex scripting or programming of templates. They merely exist to allow you to fill in the bracketed values at deployment time. For example:
+ hostname [hostname]
Would allow you to create a parameter file that substituted [hostname] with the actual hostname value when the template is deployed down to a device.
I'd like to deploy near-full configs for routers, switches and Wap's. Most lines within our config are standard across the stie, but things like access lists have site specific IP addresses.
I suppose another way would be to script the creation of these XML files and then import them into RME?
Another point was configuring wireless access points to talk to a Wireless Lan Controller. This requires one WAP at each site to have a type of "primary master" config, with another WAP as the "secondary master" config. I would have liked to automate this based on the hostname of the device. Eg if hostname = xxx01, then add these lines, else if hostname=xxx02 add the second set of lines, else add a third set of lines if it is another WAP hostname
Regarding your idea to script parameter files, this is certainly doable. When you are doing your deployments either through the GUI or the CLI you can pass those files to RME.
With a command like hostname, you can use the prerequisite feature that already exists in LMS 2.6 to build these "if-then-else" templates (more powerful sub-mode "if-then-else" support is coming in LMS 3.0). For example, you would create a template that has a prereq for:
Then specify the commands for it. However, with parameterized templates, this isn't really necessary. You could build one parameterized template for an entire device class, then build a parameter file to hold all the values for the various devices. For example:
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...