394
MDS Orbit MCR/ECR Technical Manual
MDS 05-6632A01, Rev. F
6.0 APPENDIX A
– Command Line Interface (CLI)
Features
6.1 Operational Mode
Operational Mode is the initial mode that the CLI is in right after logging in. Users can view operational
and configuration data but cannot change configuration data. The prompt will show a “>” character when
it is in operational mode.
6.2 Configuration Mode
Configuration mode is entered when the user types “configure” after logging in. Configuration Mode can
be exited by typing “exit”, which brings the user back to Operational Mode. Configuration data can only
be altered while the user is in Configuration Mode. The prompt will have a “%” character when it is in
configuration mode.
6.3 Changing Configuration Data
Configuration data can only be changed while the CLI is in Configuration Mode. Changing configuration
requires the two-step process described earlier, where changes can be made first and then must be
committed to complete the process.
Once all the changes have been made, they can be committed using the “commit” command. If there is an
error during the commit due to missing data, conflicting settings, or other issue, then none of the changes
will be committed and the CLI will provide feedback regarding the error. The changes that were pending
will still be pending at that point. This gives the user the opportunity to discard the changes or to modify
them and then try to commit them again.
6.4 Inputting Values
The format for each node in the data model is encoded in the data model itself. The CLI enforces the user
input to be compliant to that format. There are several different formats of input, including numerics,
strings, and limitations on the range and length of input. The CLI will provide assistance to the user when
inputting values when the tab-completion feature is used (see Tab-completion section below).
The example below shows the “possible completions” when the TAB key is pressed after the word
“location”. In this case, the node “location” can take a value that is a string with 0-255 characters.
% set system location
Possible completions:
<string, min: 0 chars, max: 255 chars>
% set system location
“
Rochester, NY
”
[ok][2012-06-19 00:56:49]
[edit]
% commit
Commit complete.
[ok][2012-06-19 00:57:01]
6.5 Input of a List of Values
A node can take a list of values if it has been defined that way in the data model. The CLI will indicate a
node can take a list by displaying a bracket [, as shown below at the end of the possible completions
information. Items in the list are separated by a space character.
This example shows that there are three ways to input values to a list node:
Содержание MDS ORBIT ECR
Страница 15: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 15 ...
Страница 35: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 35 ...
Страница 145: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 145 ...
Страница 188: ...188 MDS Orbit MCR ECR Technical Manual MDS 05 6632A01 Rev F ...
Страница 302: ...302 MDS Orbit MCR ECR Technical Manual MDS 05 6632A01 Rev F Figure 3 224 SNMP Main Page ...
Страница 380: ...380 MDS Orbit MCR ECR Technical Manual MDS 05 6632A01 Rev F ...
Страница 389: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 389 ...
Страница 393: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 393 ...
Страница 407: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 407 ...
Страница 449: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 449 ...
Страница 451: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 451 ...
Страница 452: ...452 MDS Orbit MCR ECR Technical Manual MDS 05 6632A01 Rev F ...
Страница 453: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 453 ...
Страница 459: ...MDS 05 6632A01 Rev F MDS Orbit MCR ECR Technical Manual 459 NOTES ...
Страница 460: ...460 MDS Orbit MCR ECR Technical Manual MDS 05 6632A01 Rev F ...
Страница 461: ......
Страница 463: ...GE MDS LLC Rochester NY 14620 Telephone 1 585 242 9600 FAX 1 585 242 9620 www gemds com 175 Science Parkway ...