SmartWare Software Configuration Guide

5 • System image handling

 

 

Auto provisioning of firmware and configuration

The new auto provisioning capability enables you to automatically distribute up-to-date configurations and firmware to a large number of units using TFTP. It works as follows:

The unit downloads a specific file from a TFTP server. If this file has changed since the last download, it is stored and executed. If the file on the server did not change since the last download, no action is taken. If the units are configured to do auto provisioning, a network operator can only update the firmware files on the TFTP server, which automatically distributes it to all units. The “profile provisioning” configures this. Here’s an example for firmware provisioning:

profile provisioning FIRMWARE destination script

location 1 tftp://172.16.1.2/firmware/b location 2 tftp://172.16.1.33/firmware/b activation reload graceful

Explanation:

Step

Command

Purpose

 

 

 

1

[name] (pf-prov)[FIRMWARE]#destination script

Chooses the unit’s script interpreter as des-

 

 

tination of the downloaded file. Use this

 

 

for firmware updates. Script files are the

 

 

b, b1, … files that come with each unit

 

 

firmware update.

 

 

 

2

[name] (pf-prov)[FIRMWARE]#location 1

Specifies the location of the file to check

 

tftp://172.16.1.2/firmware/b

for changes.

 

 

 

3

[name] (pf-prov)[FIRMWARE]#location 2

Specifies alternate locations of the file. If

 

tftp://172.16.1.33/firmware/b

the first could not be contacted, the sec-

 

 

ond is tried, and so on.

 

 

 

4

[name] (pf-prov)[FIRMWARE]#activation reload

Specifies how the new firmware is to be

 

graceful

activated. Choose between immediate or

 

 

graceful reload.

 

 

 

Here’s an example for configuration provisioning:

profile provisioning CONFIG destination configuration

location 1 tftp://tftp1.provider.net/configs/$(system.mac).cfg location 2 tftp://172.16.1.33/configs/$(system.mac).cfg activa- tion reload graceful

Explanation:

Step

Command

Purpose

 

 

 

1

[name] (pf-prov)[CONFIG]#destination

Chooses the unit’s startup-configuration as

 

configuration

destination of the downloaded file.

 

 

 

Auto provisioning of firmware and configuration

72

Page 72
Image 72
Patton electronic SmartNode 4110 Series manual Auto provisioning of firmware and configuration, Explanation