Using Digi_Menu To Simplify Port Connections - Digi PortServer CM User Manual

Table of Contents

Advertisement

Using digi_menu to simplify port connections

Use the digi_menu script to avoid typing long telnet or ssh commands. digi_menu is ready to use
immediately, and requires no configuration. It presents a short menu with the names of the servers connected
to the serial ports of the PortServer CM. The server is selected by its corresponding number. For more
advanced menuing options, see "About Menus" on page 3-4.
Only ports configured for console access (protocols socket_server or socket_ssh) will be presented.
Enter
with no command line options displays the default menu
digi_menu
Serial Console Server Connection menu
1 Lucy
5 ttyS5
Type 'q' to quit, a valid option [1-8], or anything else to refresh:
Selecting option 2 will telnet/ssh to the server Snoopy. If a name is present in the serverfarm parameter for
a port, that name will appear. Otherwise, ttySN is used where N is the port number.
The digi_menu script has the following command line options:
-p: Displays IP Address and TCP port instead of server names:
Serial Console Server Connection menu
1 10.1.2.3 7001
4 10.1.2.3 7004
Type 'q' to quit, a valid option [1-8], or anything else to refresh:
-i: Displays Local IP assigned to the serial port instead of server names:
Serial Console Server Connection menu
1 192.168.1.101
3-2
2 Snoopy
6 ttyS6
2 10.1.2.3 7002
5 10.1.2.3 7005
2 192.168.1.102
3 Chris
7 ttyS7
3 10.1.2.3 7003
6 10.1.2.3 7006
3 192.168.1.103

Using digi_menu to simplify port connections

4 Ringo
8 ttyS8
4 192.168.1.104

Advertisement

Table of Contents
loading

Table of Contents