[Top] [Table Of Contents] [Prev] [Next] [Index]
This chapter describes how to use the command line interface to configure asynchronous ports. Detailed command definitions follow a command summary table. A summary table for the modem table commands also appears in this chapter, followed by a description of the commands.
Asynchronous ports can be configured as login, device, or network ports, or any combination of these.
Examples in this chapter are from a PortMaster 2R, which uses the indicator S0 for the first asynchronous port. Some PortMaster models use this same designation for the first asynchronous port, while others use the designation C0. See Table 1-1, "Configurable Ports Available for Each PortMaster Model," on page 1-1 for the range of asynchronous ports available on each PortMaster model.
Note ¯
After making any configuration changes to an asynchronous port, you must use the reset s0 command for the changes to take effect.
To display information about your configuration, use the following commands:
The asynchronous port commands in Table 5-1 configure asynchronous serial ports. Commands marked with a leading bullet (·) can be used only if the port is configured for a dedicated network connection with the set network hardwired command.
Asynchronous port types are described in Table 5-2. The first three options can be combined with the last three options. A port configured as a network hardwired port cannot be combined with another port type.
These commands affect the asynchronous ports of the PortMaster. Table 1-1, "Configurable Ports Available for Each PortMaster Model," on page 1-1 lists the range of asynchronous ports available on each PortMaster model.
add modem
This command adds modem details and configuration information to the modem table.
add modem ModemName(short) ModemName(long) Speed String
The short and long names are chosen by the user.
Command> add modem multitech-v34 "at&f&w\r^OK^at&c1&d3$ba0$sb115200s0=1&w\r^OK"
New script entry successfully added.
Modem multitech-v34 successfully added.
show modem - page 5-52
show table modem - page 5-53
attach S0
This command allows you to communicate directly to a device attached to a specified asynchronous or ISDN PortMaster port.
attach S0
Typical uses of this command are as follows:
To communicate directly to an analog modem attached to asynchronous port S5, and configure the modem with the AT command at&f1s0=1&w, use the attach command as follows:
Command> attach s5
Trying 192.168.1.1
Connected - Escape character is `^]' (Ctrl + Right bracket)
at&f1s0=1&w
OK
^]
telnet> send esc
Connection Closed
Command>
add modem - page 5-5
set location script - page 14-22
reset nHandle - page 2-15
delete modem
This command deletes a modem entry from the modem table.
delete modem ModemName(short)
Use the modem short name in the command, exactly as it is listed in the response to a show table modem command.
Command> delete modem att-v34
Modem att-v34 successfully deleted.
show modem - page 5-52
show table modem - page 5-53
set S0|all access
This command sets the access override for a single asynchronous port or all asynchronous ports, and is used in conjunction with the access filter.
set S0|all access on|off
When access override is set to on, users can override the port's access filter with their own access filter by providing a correct username and password. User access filters must first be defined before you can use this option. Refer to the PortMaster Configuration Guide for more information on defining access filters.
You can set the access override for all asynchronous ports simultaneously by using the set all access command.
Command> set s0 access on
Access Enhancement for port S0 changed from off to on
set S0 ifilter - page 5-25
set S0 address
This command sets the local IP address of a selected network hardwired asynchronous port to create a numbered interface.
set S0 address Ipaddress
If the local IP address is set to 0.0.0.0, the PortMaster uses the Ether0 IP address for this end of the serial link. If the local IP address is set to 255.255.255.255, the PortMaster negotiates an IP address for the hardwired connection.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 address 192.168.7.2
Port S0 local address changed from 0.0.0.0 to 192.168.7.2
set Ether0 address - page 4-3
set reported_ip - page 3-18
set S0|all cd
This command enables the PortMaster to monitor the presence of the data carrier detect (DCD) signal on a modem attached to the asynchronous port to determine whether the line is in use.
set S0|all cd on|off
You can set the command for all asynchronous ports simultaneously by using the set all cd command.
If set on, the PortMaster tracks the actual state of the DCD signal as input on the port.
If set off, the PortMaster assumes that DCD is always asserted-DCD is high.
The following table indicates the effect of DCD assertion for each port type:
Command> set s0 cd on
CD required for port S0 changed from off to on
add modem - page 5-5
show table modem - page 5-53
set S0 compression
This command sets Van Jacobson TCP/IP header compression and/or Stac LZS data compression on a network hardwired asynchronous port.
set S0 compression on|off
|stac|vj
Van Jacobson TCP/IP header compression can be used for SLIP and PPP connections. With SLIP, both sides need to be configured identically. For PPP connections, the PortMaster supports both bidirectional and unidirectional compression.
The PortMaster supports Stac LZS data compression only for PPP connections with bidirectional compression. Stac LZS data compression cannot be used for SLIP connections.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 compression on
Compression for port S0 changed from off to on
set location compression - page 14-9
set S0 protocol - page 5-40
set user compression - page 13-8
set S0|all databits
This command sets the number of data bits per byte for a single asynchronous port or all asynchronous ports.
set S0|all databits 5|6|7|8
The default of 8 is the most widely used.
You can set the data bits for all the asynchronous ports simultaneously by using the
set all databits command.
Command> set s0 databits 8
Data bits for port S0 changed from 7 to 8
set S0 modem-type ModemName - page 5-31
set S0 parity - page 5-38
set S0 speed - page 5-45
set S0 stopbits - page 5-46
set S0 destination
This command sets the IP address and the netmask of the remote router for a network hardwired asynchronous port connection.
set S0 destination Ipaddress [Ipmask]
If the remote destination is set to 255.255.255.255 for PPP connections, the PortMaster attempts to learn the remote system IP address. If the destination is set to 0.0.0.0, the port is disabled.
Note ¯
This command is used only on network hardwired ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 destination 255.255.255.255
Port S0 destination changed from 0.0.0.0 to 255.255.255.255
set W1 destination - page 6-7
set S0 device
This command sets an asynchronous port to provide access to a shared network device via a host-or for device sharing and remote dial-in and/or dial-out access.
set S0 device Device [network dialin|dialout|twoway]
An asynchronous port configured as a device port operates as a host device. You must also do the following to establish device sharing:
-
To use the PortMaster device service, you must have the PortMaster in.pmd daemon installed
and running on the specified host.
In addition to setting an asynchronous port for device sharing, you can also set it for network dial-in and/or dial-out use by multiple users. Multiple users can dial in to the network through the port from remote locations, dial out from the network through the port to remote locations-like another office or the Internet-or both.
In the following example, a PortMaster shared device-/dev/ttyp0-is shown. Note that two ports cannot have the same tty designation.
Command> set s0 device /dev/ttyp0
Port type for port S0 changed from User Login to Host Device(/dev/ttyp0)
set S0 host - page 5-22
set S0 login - page 5-27
set S0 twoway - page 5-48
set S0|all dialback_delay
This command sets the delay between the disconnection of a callback user and the time when the PortMaster can return the user's call to establish a connection.
set S0|all dialback_delay Seconds
Modems that take a long time to reset after DTR drops require a callback delay, so that the modem is ready to accept dial commands after the PortMaster has disconnected the user.
You can simultaneously set the delay time for all ports by using the set all dialback_delay command.
Command> set s0 dialback_delay 5
Dialback delay for port S0 changed from 0 to 5
set user dialback - page 13-9
set S0|all dtr_idle
This command turns the DTR signal off to enable bidirectional communications, or turns it back on.
set S0|all dtr_idle on|off
This command changes the behavior of the port to better accommodate connecting the PortMaster to systems or hosts that do not support TCP/IP, but do have serial ports. This type of connection requires that you connect the PortMaster port to the host, typically with a null modem cable.
Set DTR idle when you want to connect a PortMaster to a bulletin board service (BBS) or other host allowing bidirectional communications. You can simultaneously turn DTR on or off on all ports by using the set all dtr-idle command.
Refer to the PortMaster Configuration Guide for more information.
Command> set s0 dtr_idle off
DTR Idle for port S0 changed from on to off
set S0 hangup - page 5-21
set S0 modem-type ModemName - page 5-31
set S0|all extended
This command sets the extended mode on or off for a single asynchronous port, or for all asynchronous ports.
set S0|all extended on|off
When extended mode is on, the show command provides more detailed output.
Command> set s0 extended on
Extended mode for port S0 changed from off to on
set S0|all group
This command assigns asynchronous ports to modem pools for use by dial-out locations. A group number is assigned to each location in the location table. Refer to Chapter 14, "Locations and DLCIs," for more information.
set S0|all group Group
For dial-out modem pools to work, each port must be assigned to a dial group, and each location must specify a dial group. All ports can be assigned to a single group by using the set all group Group command.
Command> set s0 group 2
Group number for port S0 changed from 0 to 2
set location group - page 14-10
set S0|all hangup
This command controls whether the DTR signal on a port, or on all ports, is dropped for 500 milliseconds (ms) after the termination of a user session.
set S0|all hangup on|off
Resetting the port administratively with the reset command always drops the DTR signal.
Command> set s0 hangup on
DTR Hangup for port S0 changed from off to on
reset S0 - page 2-15
set dtr_idle - page 5-18
set S0|all host
This command sets the default IP address or hostname for login sessions for a single asynchronous port or all asynchronous ports.
set S0|all host default|prompt|[1|2|3|4]Ipaddress
Note ¯
Global host setting is not available on PortMaster IRX products.
The login host is the host to which the user is connected upon login, in one of the three ways. Use the set host command to define a default host. After you set the login host on a port, prompts are displayed in the following order:
host:
login:
Password:
You can set the login host for all asynchronous ports simultaneously by using the
set all host command, as shown in the example.
If you do not want the PortMaster to provide login or host device service, do not use this command. Setting the hostname to 0.0.0.0 removes the entry.
Command> set host 172.16.200.1
Default host changed from to 172.16.200.1
Command> set s0 host prompt
User will be prompted for host on port S0
Command> set all host default
Host changed to default for all ports
set S0 service_device - page 5-43
set S0 service_login - page 5-44
set user host - page 13-10
set S0|all idletime
This command indicates how long the PortMaster waits after outbound activity stops on a single asynchronous port or all asynchronous ports, before disconnecting a dial-in connection.
set S0|all idletime Number [minutes|seconds]
If the idle time value is set to 0, the idle timer is disabled.
If the idle time is set to the special value of 1 second, a dial-in user has 5 minutes to respond to a login, password, or host prompt. If the user does not respond, the port resets and becomes available to another user. Setting the idle time to 1 second turns off the idle timer after the user logs in. If the value is set to 2 seconds or a longer interval, the port is reset after having no traffic for the designated time.
Note ¯
The idle time special value of 1 second applies only to asynchronous ports that have modem control turned on with the set S0 cd on command. Ports that are in the command state-with an administrator logged on-are not timed out with the special value of 1 second. In ComOS releases earlier than 3.5, the idle time special value was 1 minute.
You can set the idle time of all asynchronous ports simultaneously by using the
set all idletime command as shown in the examples.
Command> set s0 idletime 15
Idle timeout for S0 changed from 0 minutes to 15 minutes
Command> set all idletime 120 seconds
Idle timeout for S0 changed from 0 minutes to 120 seconds
Idle timeout for S1 changed from 0 minutes to 120 seconds
Idle timeout for S2 changed from 0 minutes to 120 seconds
. . . . . . . . .
. . . . . . . . .
Idle timeout for S29 changed from 0 minutes to 120 seconds
add S0 modem - page 5-31
set S0 cd on - page 5-11
set S0|all ifilter
This command sets an input packet filter for packets entering the PortMaster on a single network hardwired asynchronous port, or all network hardwired asynchronous ports. The command can also be used to set an access filter for login users on these ports.
set S0|all ifilter [Filtername
]
When an input filter is specified on a network hardwired port, all packets received from the interface are evaluated against the rule set for this filter.
This filter is used as an access filter for login users who are prompted for a host, and as the input filter for network hardwired ports. Filters become effective after the port is reset and when a user logs in.
This setting is not used for dial-in and dial-out networking. Filters for dial-in users are set in the user table or RADIUS, and filters for dial-out locations are set in the location table.
You remove the filter by entering the command without a filter name.
You can set the input filter for all hardwired asynchronous ports simultaneously by using the set all ifilter command.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 ifilter s0.in
Input filter for port S0 changed from to s0.in
add filter - page 15-4
set S0 ofilter - page 5-36
set S0 ipxnet
This command sets the IPX network number for the network hardwired asynchronous or synchronous connection.
set S0 ipxnet Ipxnetwork
IPX traffic can be passed through a port if you assign an IPX network number to the hardwired network connection. The serial link itself must have a unique IPX network number that is different from those at each end of the Ethernet.
Note ¯
This command is used only on network hardwired asynchronous or synchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 ipxnet OXC009C801
Port S0 ipxnet changed from 00000000 to OXC009C801
set Ether0 ipxnet - page 4-8
set ipx on - page 3-8
set W1 ipxnet - page 6-14
set S0|all login
This command sets a single asynchronous port or all asynchronous ports for user login-or for user login and remote dial-in and/or dial-out access.
set S0|all login [network dialin|dialout|twoway]
Using the set S0 login command with no optional keywords sets the port for user login. You must also do the following if the host and service settings are not configured in the user profile:
Command> set s0 login network dialin
Port type for port S0 changed from Login to User Login/Network(dialin)
Command> set all login network twoway
Port type for port S0 changed from Netwrk to User Login/Network(twoway)
Port type for port S1 changed from Netwrk to User Login/Network(twoway)
Port type for port S2 changed from Netwrk to User Login/Network(twoway)
. . . . . . . . . . . . .
Port type for port S29 changed from Network to User Login/Network(twoway)
set S0 device - page 5-16
set S0 host - page 5-22
set S0 service-login - page 5-44
set S0|all map
This command sets the PPP asynchronous map for the interpretation of nonprinting ASCII characters found in the data stream for a single network hardwired asynchronous port, or all network hardwired asynchronous ports.
set S0|all map Hex
The PPP protocol supports the replacement of nonprinting ASCII data in the PPP stream. These characters are not sent through the line, but instead are replaced by a special set of characters that the remote site interprets as the original characters. The PPP asynchronous map is a bit map of characters that should be replaced. The lowest-order bit corresponds to the first ASCII character NUL, and so on. Most environments should set the asynchronous map to 0 (zero) to achieve maximum throughput. This command does not apply to the Serial Line Internet Protocol (SLIP).
You can set the PPP asynchronous map for all the hardwired asynchronous ports simultaneously by using the set all map command. The command set S0 map 0 disables the asynchronous mapping.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 map 0xc0a86000
Async Char Map for port S0 changed from 0x0 to 0xc0a86000
set location map - page 14-15
set S0 protocol - page 5-40
set user map - page 13-15
set S0|all message
This command sets the login message to be displayed to the user prior to the login prompt on a single asynchronous port or all asynchronous ports.
set S0|all message String
The value for this parameter is a string. Use the caret symbol (^) to designate new lines. It can be helpful to include network identification information in this message.
You can set the login message for all asynchronous ports simultaneously by using the set all message command.
Note ¯
The combined maximum length of the strings in set S0 message and set S0 prompt must not exceed 224 characters.
Command> set s0 message Welcome to the Network (PMI/0)
New message:
Welcome to the Network (PMI/0)
For ports: S0
set S0 prompt - page 5-39
set S0|all modem-type
This command selects a modem from the modem table.
set S0|all modem-type ModemName
Before you can select a modem name, you must first define the names and associated parameters in the modem table. (Refer to Table 5-3, "Modem Table Commands," on page 5-51 for more information.)
You can set all ports for the same modem type by using the set all modem-type command.
Command> set s0 modem-type usr-v34
Modem type for port S0 changed from to usr-v34
add modem - page 5-5
show table modem - page 5-53
set S0|all mtu
This command sets the maximum transmission unit (MTU) for a single network hardwired asynchronous port, or all network hardwired asynchronous ports.
set S0|all mtu MTU
The MTU defines the largest frame or packet that can be sent through this port, without fragmentation or discard. A packet that exceeds this value is automatically fragmented if IP, or discarded if IPX. PPP connections have a maximum of 1500 bytes, and SLIP connections have a maximum of 1006. For IPX, the MTU should be set to 1500.
You can set the MTU for all hardwired asynchronous ports simultaneously by using the set all mtu command.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 mtu 1500
MTU for port S0 changed from 0 to 1500
set S0 protocol - page 5-40
set S0 netmask
This command sets the IP netmask of the remote router for a network hardwired asynchronous port.
set S0 netmask Ipmask
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 netmask 255.255.255.0
S0 netmask changed from 0.0.0.0 to 255.255.255.0
set Ether0 netmask - page 10-7
set location netmask - page 14-19
set user netmask - page 13-18
set W1 netmask - page 6-17
set S0|all network dialin|dialout|twoway
This command sets a single asynchronous port or all asynchronous ports to provide dial-in network access to multiple remote users, dial-out access for multiple users from the network to remote locations-or both-via PPP or SLIP.
set S0|all network dialin|dialout|twoway
An asynchronous port set for any of these three network uses can also be configured to support user login and/or device sharing concurrently.
By using the all keyword, you can set the port type to network dialin, network dialout, or network twoway for all asynchronous ports simultaneously, as shown in the second example.
Command> set s0 network twoway
Port type for port S0 changed from Login to Network(twoway)
Command> set all network dialin
Port type for port S0 changed from Netwrk to Network(dialin)
Port type for port S1 changed from Netwrk to Network(dialin)
Port type for port S2 changed from Login to Network(dialin)
. . . . . . . . . . .
Port type for port S29 changed from Netwrk to Network(dialin)
set S0 device - page 5-16
set S0 login - page 5-27
set S0 twoway - page 5-48
set S0|all network hardwired
This command sets a single asynchronous port or all asynchronous ports for a permanent network connection that requires no dialing or authentication.
set S0|all network hardwired
Use this command for ports used in a dedicated or hardwired network connection between two sites. The port immediately begins running the specified protocol. None of the other port types can be combined with network hardwired.
You can set the port type to network hardwired for all the asynchronous ports simultaneously by using the set all network hardwired command.
You must also set the address of the other end of the network hardwired connection with the set S0 destination command.
Command> set s0 network hardwired
Port type for port S0 changed from Login to Network(hardwired)
set S0 destination - page 5-15
set S0|all ofilter
This command sets a packet filter for packets exiting the PortMaster on a single network hardwired asynchronous port, or all network hardwired asynchronous ports.
set S0|all ofilter [Filtername
]
When this command is specified, all packets being sent from the network hardwired port are evaluated against the rule set for this filter. Only packets permitted by this filter are sent out of the PortMaster.
You remove the filter by entering the command without a filter name.
You can set the output filter for all hardwired asynchronous ports simultaneously by using the set all ofilter command.
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
command> set s0 ofilter s0.out
Output filter for port S0 changed from to s0.out
add filter - page 15-4
set S0 ifilter - page 5-25
set S0|all override
This command sets a single asynchronous port or all asynchronous port parameters as overrideable by the host in Host Device mode.
set S0|all override xon|rts|speed|parity|databits on|off
The PortMaster allows overrides to be set for baud rate, parity, databits, and flow control. This feature allows the host running in.pmd to alter the active parameters through software control, by using operating system I/O calls (ioctl calls in UNIX).
You can set an override parameter for all the asynchronous ports simultaneously by using the set all override command.
Command> set s0 override speed on
Host override of speed for port S0 changed from off to on
set S0 device - page 5-16
set S0 modem-type ModemName - page 5-31
set S0 parity - page 5-38
set S0 speed - page 5-45
set S0|all parity
This command sets the parity checking to be used for a single asynchronous port or all asynchronous ports.
set S0|all parity even|none|odd|strip
When strip is selected, the parity bit is removed upon receipt by the PortMaster. For most purposes, none should be selected.
You can set the parity for all the asynchronous ports simultaneously by using the set all parity command.
Command> set s0 parity none
Parity for port S0 changed from even to none
set S0 databits - page 5-14
set S0 modem-type ModemName - page 5-31
set S0 speed - page 5-45
set S0 stopbits - page 5-46
set S0|all prompt
This command sets the user login prompt for a single asynchronous port or all asynchronous ports.
set S0|all prompt String
Any printable ASCII characters can be entered. If the string $hostname is included in the login prompt, the hostname for the port is substituted for the string. Use the caret symbol (^) to designate new lines. The command set S0 prompt returns the prompt to its default setting of $hostname login:.
You can set the prompt for all asynchronous ports simultaneously by using the set all prompt command.
Note ¯
The combined maximum length of the strings in set S0 message and set S0 prompt must not exceed 224 characters.
Command> set s0 prompt $hostname login:
New Login Prompt:
$hostname login:
For ports: S0
set host - page 5-22
set message - page 5-30
set S0 username - page 5-49
set S0 protocol
This command sets the transport protocol for a single network hardwired asynchronous port, or all network hardwired asynchronous ports.
set S0 protocol slip|ppp
|x75-sync
Note ¯
This command is used only on network hardwired asynchronous ports. Dial-in users must use the user table or RADIUS instead. Dial-out locations must use the location table instead.
Command> set s0 protocol slip
Protocol for port S0 changed from ppp to slip
set debug - page 17-5
set S0 compression - page 5-13
set S0 mtu - page 5-32
set S0|all rts/cts
This command sets the use of hardware flow control on a single asynchronous port or all asynchronous ports.
set S0|all rts/cts on|off
This parameter is used by devices that require hardware flow control. When the PortMaster is able to receive data from the attached device, it raises the RTS signal on pin 4 of the RS-232 connector. Output from the PortMaster occurs only if the modem line on pin 5 of the RS-232 connector has CTS raised by the attached device.
You can set the hardware flow control for all the asynchronous ports simultaneously by using the set all rts/cts command.
Command> set s0 rts/cts on
RTS/CTS flow control for port S0 changed from off to on
set S0 modem-type ModemName - page 5-31
set S0 xon/xoff - page 5-50
set S0|all security
This command sets the security level for a single asynchronous port or all asynchronous ports.
set S0|all security on|off
If security is set to off, any username that is not found in the user table is connected to the port's host for authentication and login. If security is set to on, the user table is checked first, and if the username is not found and a RADIUS server is configured, RADIUS is consulted. When you are using RADIUS security, this command must be set to on.
You can set the security for all asynchronous ports simultaneously by using the set all security command.
Command> set s0 security on
Security for port S0 changed from off to on
set authentication_server - page 3-27
set S0|all service_device
This command sets the device service to be used by a single asynchronous port or all asynchronous ports.
set S0|all service_device netdata|portmaster|rlogin|telnet [Tport]
If the port type is device or twoway, you can set the device service. This command allows users to connect through the PortMaster to shared devices such as printers or modems.
You can set the device service for all asynchronous ports simultaneously by using the set all service_device command.
Command> set s0 service_device portmaster
Device Service for port S0 changed from telnet to portmaster
set S0 device - page 5-16
set S0 host - page 5-22
set S0 login - page 5-27
set S0|all service_login
This command sets the network service to use in establishing login sessions for a selected asynchronous port, or all asynchronous ports.
set S0|all service_login netdata|portmaster|rlogin|telnet [Tport]
When you set the port type as login or twoway, you can specify the login service to be used for login sessions.
You can set the network service for all asynchronous ports simultaneously by using the set all service_login command.
Command> set s0 service_login telnet
Login service for port S0 changed from portmaster to telnet
set S0 login - page 5-27
set S0 modem-type ModemName - page 5-31
set S0 service-device - page 5-43
set telnet - page 3-22
telnet - page 2-41
set S0|all speed
This command sets the baud rate for a single asynchronous port or all asynchronous ports.
set S0|all speed [1|2|3] 300|600|1200|2400|4800|9600|19200|
38400|57600|76800|115200
Modern modems should be set to run at a fixed rate. To define a fixed rate, lock the DTE rate by setting all three baud rates to the same value.
You can set the speed for all the asynchronous ports simultaneously by using the set all speed command.
Command> set s0 speed 115200
Speed for port S0 (1) changed from 9600 to 115200
Command> set s0 speed 2 115200
Speed for port S0 (2) changed from UNKNWN to 115200
Command> set s0 speed 3 115200
Speed for port S0 (3) changed from UNKNWN to 115200
set S0 modem-type ModemName - page 5-31
set S0|all stopbits
This command sets the number of stop bits in the data frame on a single asynchronous port or all asynchronous ports.
set S0|all stopbits 1|2
The default of 1 is the most widely used.
You can set the stop bits for all the asynchronous ports simultaneously by using the set all stopbits command.
Command> set s0 stopbits 1
Stop bits for port S0 changed from 2 to 1
set S0 databits - page 5-14
set S0 modem-type ModemName - page 5-31
set S0 parity - page 5-38
set S0 speed - page 5-45
set S0|all termtype
This command sets the terminal type in the user's environment on a single asynchronous port or all asynchronous ports that are set for user login or two-way operation via the rlogin or PortMaster login service.
set S0|all termtype String
If the port is set for either login or two-way operation, this terminal type is set in the user's environment when a new session is established to the host. Make sure that the terminal type is valid on the host that the user is connected to with the rlogin or PortMaster login service.
You can set the terminal type for all asynchronous ports simultaneously by using the set all termtype command.
Command> set s0 termtype vt100
Terminal Type for port S0 changed from to vt100
set S0 login - page 5-27
set S0 twoway - page 5-48
set S0 twoway
This command sets an asynchronous port for "two-way" operation-both user login and device sharing-or for two-way operation and remote dial-in and/or dial-out access.
set S0 twoway Device [network dialin|dialout|twoway]
A PortMaster asynchronous port can be configured for several different types of operation. For example, a port set for login users can also be set to access host devices. This combined inbound and outbound use is called two-way operation. You must also do the following to establish two-way operation:
Command> set s0 twoway /dev/ttyp0
Port type for port S0 changed from Login to TwoWay(/dev/ttyp0)
set S0 device - page 5-16
set S0 host - page 5-22
set S0 login - page 5-27
set S0 network twoway - page 5-34
set S0 service_device - page 5-43
set S0 service_login - page 5-44
set S0 username|autolog
This command sets an automatic login name for the asynchronous port.
set S0 username|autolog [String
]
If this command is used, the user does not receive the standard login prompt. Instead, the PortMaster initiates a session to the default host as if the user had typed String in response to the login prompt.
To disable the automatic login, use the command set s0 autolog without a value String.
Command> set s0 autolog posales
Username for port S0 changed from off to posales
set S0 message - page 5-30
set S0 prompt - page 5-39
set S0|all xon/xoff
This command sets the use of software flow control on a single asynchronous port or all asynchronous ports.
set S0|all xon/xoff on|off
The PortMaster uses software flow control, with the ASCII control characters DC1 and DC3, to communicate with the attached device to start and stop the flow of data. This command should be used only if Request To Send/Clear To Send (RTS/CTS) flow control is not available on the attached device.
You can set the software flow control for all the asynchronous ports simultaneously by using the set all xon/xoff command.
Command> set s0 xon/xoff off
Xon/Xoff flow control for port S0 changed from on to off
set S0 rts/cts - page 5-41
The modem table commands in Table 5-3 are used to view and configure the modem table, which stores configuration information for modems you commonly use. See also the following commands for modems attached to asynchronous ports:
Use the modem short name in the command, exactly as it is listed in the show table modem response.
add modem - page 5-5
delete modem - page 5-8
show table modem - page 5-53
show table modem
This command displays a table listing the modems currently configured in the modem table.
show table modem
The list provides the names of the modems, which can then be used to display details of the modem configuration.
add modem - page 5-5
delete modem - page 5-8
show modem - page 5-52
[Top] [Table Of Contents] [Prev] [Next] [Index]
spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights
reserved.