Using the CLI : Subcommands : Field commands
Field commands
Table 4: Commands for fields
Exit both the edit and/or config commands without saving the fields.
Save the changes made to the current table or object fields, and exit the config command. (To exit without saving, use abort instead.)
List the configuration of the current object or table.
In objects, get lists the table names (if present), or fields and their values.
In a table, get lists the fields and their values.
Save the changes you have made in the current table’s fields, and exit the edit command to the object prompt. (To save and exit completely to the root prompt, use end instead.)
next is useful when you want to create or edit several tables in the same object, without leaving and re-entering the config command each time.
next is only available from a table prompt; it is not available from an object prompt.
set <field_name> <value>
Set a field’s value.
For example, in config system admin, after typing edit admin, you could type set password newpass to change the password of the admin administrator to newpass.
Note: When using set to change a field containing a space-delimited list, type the whole new list. For example, set <field> <new‑value> will replace the list with the <new-value> rather than appending <new-value> to the list.
Display changes to the default configuration. Changes are listed in the form of configuration commands.
unset <field_name>
Reset the table or object’s fields to default values.
For example, in config system admin, after typing edit admin, typing unset password resets the password of the admin administrator account to the default (in this case, no password).
Example of field commands
From within the admin_1 table, you might enter the following command to assign the value my1stExamplePassword to the password field:
set password my1stExamplePassword
You might then enter the next command to save the changes and edit the next administrator’s table.