RUGGEDCOM RSG2488
User Guide
Chapter 2
Using ROS
Executing Commands Remotely via RSH
37
Example:
>trace
Log has been cleared
009.445 IGMP TX General Query, VLAN 1, gr. 000.000.000.000,
to ports ALL VLAN PORTS
010.543 LINK Link 7 has risen.
000.550 STP TX port 7 RST BPDU: TCack 0 agg 1 lrn 0 fwd 0 role DP prop 1 TC 0
root 32768/0adc001000 cst 38, brdg 32768/0adc005000, prt 128/7
age 2.00, maxage 20, hello 2, fwddelay 15 V1Length 0
000.557 STP RX port 7 RST BPDU: TCack 0 agg 1 lrn 0 fwd 0 role DP prop 1 TC 0
root 32768/0adc004000 cst 0, brdg 32768/0adc004000, prt 128/14
age 0.00, maxage 20, hello 2, fwddelay 15 V1Length 0
Section 2.6.3
Executing Commands Remotely via 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
is the address or resolved name of the device.
•
auth_token
is the is the user name (i.e. guest, operator or admin) and corresponding password separated by
a comma. For example,
admin,secret
.
•
command_string
is the ROS CLI command to execute.
NOTE
The access level (corresponding to the user name) selected must support the given command.
NOTE
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.
Section 2.6.4
Using SQL Commands
ROS provides an
SQL-like
command facility that allows expert users to perform several operations not possible
under the traditional Web or CLI interface. For instance:
• Restoring the contents of a specific table, but not the whole configuration, to their factory defaults.
• Search tables in the database for specific configurations.
• Make changes to tables predicated upon existing configurations.
When combined with RSH, SQL commands provide a means to query and configure large numbers of devices
from a central location.
Содержание RSG2488
Страница 1: ...Rugged Operating System ROS v4 0 User Guide RUGGEDCOM RSG2488 April 5 2013 www RuggedCom com ...
Страница 12: ...Preface RUGGEDCOM RSG2488 User Guide xii Customer Support ...
Страница 36: ...Chapter 1 Introduction RUGGEDCOM RSG2488 User Guide 24 Removable Memory ...
Страница 190: ...Chapter 5 Setup and Configuration RUGGEDCOM RSG2488 User Guide 178 Viewing Statistics for LLDP Ports ...