Service manual

Appendices 125
7. Execute saveconf command to save the configuration in Flash.
8. Check the console server configuration by entering the following command at
your workstation.
# lpr -P lp@<ACS IP address> <file that you want printer>
CAS port pool
CAS port pooling allows you to access a free serial port from a pool in addition to the original
feature where you could access a specific serial port. When you access a serial port through the
pool sniff session and multiple sessions, features are not available. This feature is available for
serial ports configured as CAS profile only.
You may define more than one pool of serial ports. Each serial port may only belong to one pool.
The pool is uniquely identified by a four parameter scheme.
•protocol
pool_ipno
pool_alias
pool_socket_port
The three parameters pool_ipno, pool_alias and pool_socket_port have the same meaning as ipno,
alias and socket_port respectively. Ports that belong to the same pool must be configured with the
same value.
It is strongly recommended that you configure the same values in all parameters related to
authentication for all serial ports belonging to a pool. You may access the serial ports from a pool
with the same commands you use to access a specific serial port. You need to use pool_ipno,
pool_alias or pool_socket_port instead of ipno, alias or socket_port with an SSH or
Telnet command.
When a connection request arrives using one of pool_ipno, pool_alias, or pool_socket_port, the
console server looks for the first free serial port from the pool and assigns it to the connection. If
there is no free serial port in the pool, the connection is dropped.
To configure port pooling:
Configuration is made in the /etc/portslave/pslave.conf file. Don’t forget to activate and save the
configuration by issuing the commands runconf and saveconf respectively.
The following is an example of serial port pool configuration. In this example there are two pools.
pool-1 (identified by Protocol socket_server, TCP port #3000, IP 10.1.0.1 and alias pool-1)
pool-2 (identified by Protocol socket_ssh, TCP port #4000, IP 10.2.0.1 and alias pool-2)
The serial ports ttyS1 and ttyS2 belong to pool-1. The serial ports ttyS3 and ttyS4 belong to pool-2.
You may access serial port ttyS1 by using TCP port 7001, IP address 10.0.0.1 or alias serial-1. If
the ttyS1 is in use and if the user is not an admin user, then the connection is dropped.