Many branches and one change
BR-01 and BR-02 are two of many branches. Each needs a system IP, a site ID, a transport interface with its own address, a colour and a list of services. Most of the rest is the same everywhere: the NTP servers, the logging host, the banner, the tunnel interface settings. Typing all of this on every router is slow and drifts out of step over time. The Manager's answer is to hold the configuration centrally and push it. Onboarding, covered in the previous lessons, only gets a router connected. This lesson is about what it then receives.
Classic templates
The older and still common method has two layers.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
- Feature templates hold one function each: system settings, a transport interface, a routing protocol, logging. A feature template has fixed values and variable fields.
- A device template is a list of feature templates for one kind of router. Attach it to a device and give the variables their values, and the Manager builds and pushes the configuration.
Some settings can also be written as raw commands in a CLI template. That is a flexible escape hatch, but it moves the Manager's checking back to you, so use it where no feature template covers the need.
Configuration groups and feature profiles
Configuration groups are a newer model that aims to be simpler to plan. A group is a set of feature profiles, each with a different job, applied to the devices associated with the group.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
| Idea | What it is |
|---|---|
| Configuration group | The thing you associate devices with. It brings the profiles together. |
| Feature profile | A collection of features of one kind. The kinds usually follow the split of a router into system settings, transport and management, service side (LAN), and extra CLI. The list varies by release. |
| Variables | Per-device values, supplied when devices are associated or deployed, for example from a file or by hand |
| Deploy | The Manager checks the group and pushes it to the associated devices |
Profiles can be reused by more than one group, so a transport profile built once may serve many site types. Policy is organised in its own groups in newer releases, apart from the device configuration. This course covers policy in later units.
Side by side
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Do not read the table as a ranking. Both are supported by the Manager, and the feature you need decides which one can carry it in your release.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
From attach to a working router
- The device is known to the Manager. It was onboarded, or it is registered and waiting. See PnP and ZTP and Manual Bootstrap.
- Choose the template or group. It must be designed for this router model, as supported features differ between models.
- Give the variables values. System IP, site ID, host name, transport address and the like. A mistake here is the most frequent source of a failed push.
- Review. The Manager can show the configuration it plans to send. Read it, especially the lines that touch the transport interface the router uses to reach the Manager.
- Push. The Manager sends the configuration over the control connection and reports success or failure.
- Verify. The router should keep its control connections and form tunnels. See Onboarding Verification and Rollback.
The risk in the push
A template that changes the transport interface, its address, its route or its tunnel interface can cut off the control connection that carried the push. The router then cannot confirm the new state and may not be reachable from the Manager. Some releases include a timer that reverts a configuration the router could not confirm, but that behaviour is release dependent. For the first push to a site, change the minimum, check the transport settings twice, and have console or out-of-band access ready.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Learn more: Transport-Side IP and ISP ReachabilityManagerSystem IP and Site ID
Choosing where a setting lives
On small screens, swipe sideways or focus the diagram and use the arrow keys.
Mistakes with templates and groups
- Editing the router by hand and expecting the change to survive the next push.
- Changing a shared template without checking how many devices are attached. One edit reaches all of them.
- Mixing both methods on the same router. Use one, and check your release for what happens on a switch of method.
- Leaving a variable blank or wrong and finding out only when the push fails.
- Pushing a transport change to a remote site without a way back in.
Test yourself on configuration delivery
The NTP server for all branches changes. Where should the new address be edited?
Which statement about configuration groups is correct?
A template push changes the address on the only transport interface of a remote router. The router drops off the Manager. What is the most likely reason?
Which setting is the best candidate for a variable rather than a fixed value in a shared template?