Spxadmport utility for configuring ports – Perle Systems RIO 5500036-17 User Manual
Page 240
![background image](/manuals/175973/240/background.png)
RIO Remote I/O System User Guide
SCO UnixWare utilities
Page 240
Chapter 4 Quick Reference
spxadmport utility for configuring ports
spxadmport
spxadmport
is provided to simplify the process of creating port logins on RIO ports. You can
use it in place of the
sacadm
and
pmadm
commands.You do this by typing a single line
command which contains the information required for a given configuration task using the
following syntax;
Syntax
/etc/spxadmport
command
svctag
[
label
] [
owner]
where;
Procedure
To use the
spxadmport
script to configure your RIO serial ports proceed as follows;
1. At the command prompt, type one of the commands detailed in the next table using the
syntax /etc/spxadmport [
command
] [
svctag
] [
label
] [
owner
]
2. Press the
Enter
key.
The revised RIO port configuration is now adopted by the system.
Item
Description
Example
command
add
,
enable
,
disable
,
remove
or
list.
remove
svctag
device number from /dev/term.
r01
label
/etc/ttydefs entry (optional).
9600
owner
user ID assigned to the port (optional).
root
Command
Description
Example command
Add
Adds a serial port to the
service monitor (riomon) and
enables the port for monitoring
logins.
/etc/spxadmport add r001 9600
root
Enable
Enables a previously disabled
port for monitoring.
/etc/spxadmport enable
Disable
Disables a port. Has the effect
of disabling all further logins on
this port.
/etc/spxadmport disable r001
Remove
Removes the selected serial
port from the service monitor
(riomon).
/etc/spxadmport remove r001
List
Lists the currently defined
services and/or port monitors.
/etc/spxadmport list
List p
Lists all logins configured.
/etc/spxadmport list p
List s
Lists all port services
configured.
/etc/spxadmport list s