MDS 05-6628A01, Rev. B
MDS Orbit MCR-4G Technical Manual
17
Together, YANG and NETCONF present a structured user interface for the unit. The device data defined
by the YANG data model is either Operational Data or Configuration Data. Configuration Data may be
changed, but Operational Data can only be viewed.
Configuration Data
Configuration Data is any piece of data that can be changed by an administrator and the changes are persis-
tent even if the device reboots. The IP address of the LAN port is an example of Configuration Data.
Operational Data
Operational Data is any piece of data that is volatile and will not be saved if the device is rebooted. Opera-
tional data is typically
read-only
, such as statistics information showing status or a value representing the
operation of the device. Ethernet statistics are an example of operational data.
Default Values
While configuring the unit, some of the configuration data may not need to be explicitly set, but instead the
data assumes the default value defined in the data model. For example, when a File Server configuration is
added and the server type is specified as TFTP, then the remote TFTP port will default to
69
if the user does
not explicitly specify the port. Data nodes that do not have a default value will require the user to input a
value for that node during configuration. The command line interface (CLI) prompts the user to enter a value
for a node if the node is mandatory and does not have a default value.
When the user views the configuration, the nodes that have default values and have not been explicitly set
by the user are not displayed. Users can selectively view these defaulted values by using
details
option on
the CLI. The
show
command can be used to view configuration data. Notice the information displayed is
different, depending on which mode the CLI is in;
Operational
or
Configuartion
.
Remote Procedure Call (Request)
This is an action that a user requests the device to perform. Rebooting the device, for example, is an action
that is modeled as a request.
Privilege
A user who logs on to the device will belong to a role-based group. Each group is limited in capability to
view operational data or to change configuration data. Less-privileged groups will not be presented with the
option of viewing or changing data on the CLI which can be done by higher-privileged groups.
Changing Configuration Data and committing changes
Changing configuration data requires two steps. The first step is to use a user-interface to add, remove, or
alter a piece of configuration data. The second step is to use the user-interface to
commit
the change. Mul-
tiple changes can be made prior to committing them. This two-step process allows users to make multiple
changes to the configuration and apply them in a bulk commit. Additionally, the device can validate the bulk
commit and reject it if there is an error.
3.3.1 CLI Login Prompt
The CLI is available via the serial console or an SSH session. Use the default serial console settings shown
in the SERIAL CONSOLE section to connect a Computer to the unit via a serial cable. Once the network
settings are configured, users can also connect to the device via SSH over the network.
The CLI prompts for a login to the device before any other actions can be made. The default username is
admin
and the default password is
admin
. These credentials should be changed prior to placing the unit in
full service.
(none) login:
admin
Password:
(valid password)
Welcome to the CLI
admin connected from 127.0.0.1 using console on (none)