Patton electronic SmartNode 4110 Series ユーザーズマニュアル

ページ / 664
Auto provisioning of firmware and configuration
73
SmartWare Software Configuration Guide 
5 • System image handling
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:
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”
2
[name] (pf-prov)[CONFIG]#location 1 
tftp://tftp1.provider.net /configs/
$(system.mac).cfg
Specifies the location of the file to check 
for changes. $(system.mac) is a place-
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 
tftp://172.16.1.33/configs/$(system.mac).cfg
Specifies alternate locations of the file. If 
the first could not be contacted, the sec-
ond is tried, and so on.
4
[name] (pf-prov)[CONFIG]#activation reload 
graceful
Specifies how the new configuration 
should be activated. Choose between 
immediate or graceful reload.
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
Step
Command
Purpose