2 configuration read, 3 configuration set (write) – TANDBERG MPS API Interface D13639 User Manual

Page 26

Advertising
background image

TANDBERG MPS API

User Guide

24


<configuration-type root command> <address expr> ?/help


Example 2.7

User wants to configure IP:
xconfiguration ip ?
*h xConfiguration IP Assignment: <DHCP/Static>
*h xConfiguration IP Address: <IPAddr>
*h xConfiguration IP SubnetMask: <IPAddr>
*h xConfiguration IP Gateway: <IPAddr>




NOTE!
Only typing xconfiguration ?, actually addresses all configuration elements within
the xconfiguration root command. One would therefore expect that help on all configurations
would be returned. But as described above, this is a special case and only listings of the top
level elements are returned. To get help on all configurations supported by the system, type:

xconfiguration // ?

or

xconfiguration ??

2.3.2 Configuration read

To read configurations, type the configuration-type root command followed by an address
expression:

<configuration-type root command> <address expr>


Example 2.8

User wants to read IP configurations:
xconfiguration ip
*c xConfiguration IP Assignment: Static
*c xConfiguration IP Address: "10.47.8.20"
*c xConfiguration IP SubnetMask: "255.255.248.0"
*c xConfiguration IP Gateway: "10.47.8.1"

OK

2.3.3 Configuration set (write)

To set configurations, the address expression following the configuration-type root command
must end with a colon. The value to be set must be added after the colon:

<configuration-type root command> <address expr>: value



Advertising