5. Using the CLI Shell
ROS® v3.11User Guide
104
RMC30
5.7. Viewing DHCP Learned Information
The CLI command “ipconfig<CR>” will provide the current IP address, subnet mask and default
gateway. This command provides the only way of determining these values when DHCP is
used.
5.8. Executing Commands Remotely Through RSH
The Remote Shell (RSH) facility can be used from a workstation to cause the product to act
upon commands as if they were entered at the CLI prompt. The syntax of the RSH command
is usually of the form:
rsh ipaddr –l auth_token command_string
where:
•
ipaddr
= The address or resolved name of the RuggedCom device.
•
auth_token
= The authentication token, which for ROS® rsh is the user name (guest,
operator, or admin) and corresponding password separated by a comma. For example,
to run a command as user - "admin" with password - "secret", the token would be:
"admin,secret".
•
command_string
= The ROS® shell command to execute.
The access level (corresponding to the user name) selected must support the given command.
Any output from the command will be returned to the workstation submitting the command.
Commands that start interactive dialogs (such as trace) cannot be used.
5.9. Resetting the Device
The CLI command “reset<CR>” can be used to reset the device.