
C-4
MAX Administration Guide
Machine Interface Format (MIF)
Using supported commands
Using supported commands
Use the SET command to set the value attribute. Use the GET and NEXT commands to
retrieve current information in the value attribute. Following are the supported MIF
commands:
•
LOAD <partial address>
•
SAVE <partial address>
•
GET <full or edit address>
•
NEXT <address>
•
SET <full or edit address>=<value>
For a definition of the edit address, see “Loading and saving entities” on page C-4.
Understanding responses
The LOAD and SAVE commands respond with a prompt (:) if the command is valid:
:
The GET and NEXT commands return a value in the following syntax:
+ <address>=<value>
For example,
: GET 201.DIAL.16.Call Type
+ 201.DIAL.16.Call Type=AIM
The plus-sign indicates a returned value or an error. Invalid commands return the following
message:
+ ERROR
The SET command also responds with a prompt (:). When it is applied to a status or alarm
entity, however, it creates a trap which is reported in the following syntax:
<address>=<value>
For example:
: SET 100.ALARM.0.alarm=20
100.ALARM.0.alarm=LA
:
The minus-sign indicates an asynchronous report. For more information, see “MIF traps and
asynchronous reports” on page C-6.
Loading and saving entities
Only entities (such as profiles) that have been loaded into the edit area can be modified.
Because there is only one edit area and it can have only one profile loaded into it at a time,
commands that operate on entities in the edit area can use another version of the address called
the edit address. The edit address has the following format: