beautypg.com

2 configuration read, 3 configuration set (write) – TANDBERG Gatekeeper/Border Controller API D14172.01 User Manual

Page 27

background image

TANDBERG Gatekeeper/Border Controller API User Guide

D14172.01

page 27 of 84



NOTE!
Only typing ? actually addresses all configuration elements within the 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:

// ?

or

??

2.3.2 Configuration read


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




Example 2.8


User wants to read IP configurations:

ip
*c IPProtocol: IPv4
*c IP Address: "10.0.0.1"
*c IP SubnetMask: "255.255.255.0"
*c IP Gateway: "10.0.0.254"
*c IP V6 Address: ""
*c IP V6 Gateway: ""
*c IP DNS Server 1 Address: "10.0.0.3"
*c IP DNS Server 2 Address: "10.0.0.4"
*c IP DNS Server 3 Address: ""
*c IP DNS Server 4 Address: ""
*c IP DNS Server 5 Address: ""
*c IP DNS Domain Name: "example.com"

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:

: value