Ruggedcom; Using Rsh And Sql; Figure 77 Bulk Inspections Using Rsh And Sql - RuggedCom RuggedSwitch RS1600 User Manual

Ruggedcom hub/switch user guide
Hide thumbs Also See for RuggedSwitch RS1600:
Table of Contents

Advertisement

RuggedSwitch™ User Guide

Using RSH And SQL

The combination of remote shell scripting and sql commands offer a means to
interrogate and maintain large numbers of switches. Consistency of configuration
across sites may be verified by this method. The following presents a simple
example where the switches to interrogate are drawn from the file "switches".
C:> type switches
10.0.1.1
10.0.1.2
10.0.1.3
c:\> for /F %i in (switches) do rsh %i -l admin sql select from ethportcfg where
flow_control = disabled
C:\>rsh 10.0.1.1 -l admin sql select from ethportcfg where flow_control =
disabled
Port Name
5
Port 5
1 records selected
C:\>rsh 10.0.1.2 -l admin sql select from ethportcfg where flow_control =
disabled
0 records selected
C:\>rsh 10.0.1.3 -l admin sql select from ethportcfg where flow_control =
disabled
Port Name
3
Port 3
7
Port 7
8
Port 8
13
Port 13
4 records selected

Figure 77 Bulk Inspections Using RSH and SQL

Status
Media Type
Flow Control FEFI
Enabled
Auto Select Disabled
Status
Media Type
Flow Control FEFI
Enabled
Auto Select Disabled
Enabled
Auto Select Disabled
Enabled
Auto Select Disabled
Enabled
Auto Select Disabled
Link Alarms
Disabled Enabled
Link Alarms
Disabled Enabled
Disabled Enabled
Disabled Enabled
Disabled Enabled

RuggedCom

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RuggedSwitch RS1600 and is the answer not in the manual?

Table of Contents

Save PDF