User's Manual
830
Document #: LTRT-10375
Mediant 500 MSBR
51.3.4.2 XML-RPC Programmatic API
Please contact AudioCodes support for detailed XML-RPC API documentation.
51.4 Automatic Provisioning using USB Flash Drive
The device can be automatically provisioned using an external USB hard drive or flash
drive (disk on key) connected to its USB port. In order to do this, you need to create a CLI
script file named "ac_autorun.txt" that contains your desired configuration based on CLI
commands, and then save it to your USB flash drive. Once you plug the USB flash drive
into the device's USB port, the device automatically runs the commands in the
"ac_autorun.txt" file, line-by-line similar to a Telnet connection (CLI session).
The CLI script file can contain any type of configuration - system, voice, and/or data-router.
This can include, for example, automatic update settings such as URLs from where
software and Auxiliary files can be downloaded. URLs can also point to the USB flash drive
itself, where the files to be downloaded are located. The CLI script file can also include
commands that are related to device status and diagnostics such as show and debugging
commands. The device provides you with the results (CLI output) of running these
commands in a text file named
ac_output.txt
, which it sends to the USB flash drive upon
completion of the process. Therefore, you can also use this tool for fast-and-easy
troubleshooting. Note that the
ac_output.txt
file also includes the CLI output of the
configuration commands, providing you feedback on the success or failure of each
command.
As the device treats the commands in the
ac_autorun.txt
file as a regular console input, the
CLI script must be written in the same format as if you are in a "live" CLI session with the
device, but without the CLI prompts. In other words, you need to provide the following:
Login credentials for accessing the CLI session and the "privileged" (enabled) mode.
Full path to each command, including navigation between commands using the exit
command for leaving command paths.
An example of a CLI script format in the
ac_autorun.txt
file is shown below. The example
provides basic configuration to the device for the administrator to log on remotely. The
configuration sets the WAN Gigabit Ethernet interface IP address to 100.0.10.10 and
allows SSH connection from the WAN interface.
Admin
Admin
en
Admin
configure data
interface GigabitEthernet 0/0
ip address 100.0.10.10 255.255.0.0
exit
exit
configure system
cli-terminal
set ssh on
set wan-ssh-allow on
exit
exit
reload now
The CLI output of the above example which the device sends to the USB flash drive in the
ac_output
file is shown below:
Welcome to AudioCodes CLI
Username: Admin
Password:
MSBR> en
Password:
Summary of Contents for Mediant 500 MSBR
Page 2: ......
Page 33: ...Part I Getting Started with Initial Connectivity ...
Page 34: ......
Page 36: ...User s Manual 36 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 40: ...User s Manual 40 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 45: ...Part II Management Tools ...
Page 46: ......
Page 48: ...User s Manual 48 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 115: ...Part III General System Settings ...
Page 116: ......
Page 132: ...User s Manual 132 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 137: ...Part IV General VoIP Configuration ...
Page 138: ......
Page 290: ...User s Manual 290 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 306: ...User s Manual 306 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 380: ...User s Manual 380 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 454: ...User s Manual 454 Document LTRT 10375 Mediant 500 MSBR This page is intentionallty left blank ...
Page 455: ...Part V Gateway Application ...
Page 456: ......
Page 460: ...User s Manual 460 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 484: ...User s Manual 484 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 494: ...User s Manual 494 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 625: ...Part VI Session Border Controller Application ...
Page 626: ......
Page 654: ...User s Manual 654 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 656: ...User s Manual 656 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 741: ...Part VII Cloud Resilience Package ...
Page 742: ......
Page 751: ...Part VIII Data Router Configuration ...
Page 752: ......
Page 753: ......
Page 754: ......
Page 756: ...User s Manual 756 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 757: ...Part IX Maintenance ...
Page 758: ......
Page 834: ...User s Manual 834 Document LTRT 10375 Mediant 500 MSBR This page is intetnionaly left blank ...
Page 837: ...Part X Status Performance Monitoring and Reporting ...
Page 838: ......
Page 848: ...User s Manual 848 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 852: ...User s Manual 852 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 854: ...User s Manual 854 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 878: ...User s Manual 878 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 880: ...User s Manual 880 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 926: ...User s Manual 926 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 927: ...Part XI Diagnostics ...
Page 928: ......
Page 950: ...User s Manual 950 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 954: ...User s Manual 954 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 956: ...User s Manual 956 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 958: ...User s Manual 958 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 974: ...User s Manual 974 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 976: ...User s Manual 976 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...
Page 977: ...Part XII Appendix ...
Page 978: ......
Page 982: ...User s Manual 982 Document LTRT 10375 Mediant 500 MSBR This page is intentionally left blank ...