Patton electronic SmartNode 4110 Series manual To use and debug provisioning

Models: SmartNode 4110 Series

1 664
Download 664 pages 15.88 Kb
Page 73
Image 73

SmartWare Software Configuration Guide5 • System image handling

Step

Command

Purpose

 

 

 

2

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

Specifies the location of the file to check

 

tftp://tftp1.provider.net /configs/

for changes. $(system.mac) is a place-

 

$(system.mac).cfg

holder for the unit’s MAC address of

 

 

ETH 0/0. Using host names instead of IP

 

 

addresses works only if DNS resolver is

 

 

enabled and configured.

 

 

 

3

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

Specifies alternate locations of the file. If

 

tftp://172.16.1.33/configs/$(system.mac).cfg

the first could not be contacted, the sec-

 

 

ond is tried, and so on.

 

 

 

4

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

Specifies how the new configuration

 

graceful

should be activated. Choose between

 

 

immediate or graceful reload.

 

 

 

Note the placeholder used in the file location. Placeholders can be used for each part of the location, be it server address, path or filename. The following place holders are available:

$(system.mac)—MAC address of ETH 0/0 (without “:” between the hexadecimal characters)

$(system.serial)—serial number of the unit

$(dhcp.66)—DHCP option 66 (TFTP server IP), as delivered by the DHCP server (only if DHCP is enabled)

$(dhcp.67)—DHCP option 67 (Boot file name), as delivered by the DHCP server (only if DHCP is enabled)

To use and debug provisioning:

Step

Command

Purpose

 

 

 

1

[name] (cfg)provisioning execute FIRMWARE

Executes the provisioning profile

 

 

FIRMWARE once

 

 

 

2

[name] (cfg)debug provisioning

Enables debug output for all

 

 

provisioning operations

 

 

 

To continuously poll for firmware or configuration changes, use the provisioning execute command together with the new timer command as described below. Here’s how to do both firmware and configuration provi- sioning, with a polling interval of 10 minutes.

timer FIRMWARE_UPDATE now + 2 minutes every 10 minutes “provisioning execute FIRMWARE” timer CONFIG_UPDATE now + 2 minutes every 10 minutes “provisioning execute CONFIG”

Auto provisioning of firmware and configuration

73

Page 73
Image 73
Patton electronic SmartNode 4110 Series manual To use and debug provisioning