
Auto provisioning of firmware and configuration
72
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
Содержание SmartNode Series
Страница 250: ...RIP configuration task list 250 SmartWare Software Configuration Guide 23 RIP configuration rip enabled ...
Страница 635: ...635 Appendix A Terms and definitions Chapter contents Introduction 636 SmartWare architecture terms and definitions 636 ...
Страница 641: ...641 Appendix B Mode summary Chapter contents Introduction 642 ...
Страница 648: ...648 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 649 ...
Страница 653: ...653 Appendix E Used IP ports available voice codecs Chapter contents Used IP ports 654 Available voice codecs 655 ...