![Cisco SPA1112 Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552032.webp)
Creating XML Provisioning Scripts
Data Types
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
32
2
| http://p.tel.com/firmware/spa-test-0527s.bin
This example directs the unit to load one of two images, based on the contents of
a general purpose parameter, GPP_F.
The device can enforce a downgrade limit with respect to firmware revision
number. This can be useful as a customization option. If a valid firmware revision
number is configured in the parameter Downgrade_Rev_Limit, the device rejects
upgrade attempts for firmware versions earlier than the specified limit.
Data Types
The data types used with configuration profile parameters are as follows:
•
Uns<n>—Unsigned n-bit value, where n = 8, 16, or 32. It can be specified in
decimal or hex format such as 12 or 0x18 as long as the value can fit into n
bits.
•
Sig<n>—Signed n-bit value. It can be specified in decimal or hex format.
Negative values must be preceded by a “-“ sign. A + sign before positive
value is optional.
•
Str<n>—A generic string with up to n non-reserved characters.
•
Float<n>—A floating point value with up to n decimal places.
•
Time<n>—Time duration in seconds, with up to n decimal places. Extra
decimal places specified are ignored.
•
PwrLevel—Power level expressed in dBm with 1 decimal place, such as –
13.5 or 1.5 (dBm).
•
Bool—Boolean value of either “yes” or “no.”
•
{a,b,c,…}—A choice among a, b, c, …
•
IP—IP Address in the form of x.x.x.x, where x between 0 and 255. For
example 10.1.2.100.
•
Port—TCP/UDP Port number (0-65535). It can be specified in decimal of
hex format.
•
UserID—User ID as appeared in a URL; up to 63 characters.