70
Appendix | Korenix
-b
Cisco IOS uses a different mechanism for specifying the baud rates than the mechanism
described in RFC2217. This option sets the IOS version of setting the baud rates. The
default is RFC2217‟s.
-v
Prints the version of the program and exits.
-p
controlport
Enables the control port and sets the TCP port to listen to for the control port. A port
number may be of the form [host,]port, such as 127.0.0.1,2000 or localhost,2000. If
this is specified, it will only bind to the IP address specified for the port. Otherwise, it
will bind to all the addresses on the machine.
If the port number is zero, that means that standard in/out will be used for the only
input/output, and only one port should be specified in the config. This way, it can be used from
inetd.
Control Port
The control port provides a simple interface for controlling the ports and viewing t heir status.
To accomplish this, it has the following commands:
showport
[<TCP
port>]
Show information about a port. If no port is given, all ports are displayed.
showshortport
[<TCP
port>]
Show information about a port, each port on one line. If no port i s given, all ports are displayed.
This can produce very wide output.
help
Display a short list and summary of commands.
exit
Disconnect from the control port.
version
Display the version of this program.
monitor
<type>
<tcp
port>
Display all the input for a given port on the calling control port. Only one direction may be
monitored at a time. The type field may be
tcp
or
term
and specifies whether to monitor data
from the TCP port or from the serial port Note that data monitoring is best effort, if the
controller port cannot keep up the data will be silently dropped. A controller may only monitor
one thing and a port may only be monitored by one controller.
monitor
stop
Stop the current monitor.