Menu Configuration Files - Lantronix SCS Reference Manual

Secure console servers
Table of Contents

Advertisement

Console Server Features

3.4.2 Menu Configuration Files

If you need to configure menus for multiple sets of users, you should create a menu configuration file. These
files provide more flexibility than the command line options and are easier to use when setting up larger
menus. The file is typically stored on the SCS flash disk (/flash).
Each menu in a configuration file is associated with a group. Each group consists of one or more users. One
group can include a user default, meaning that menu will be used for any users not explicitly in an other
group. Only one group can include the default user.
Follow the steps below to create a menu configuration file:
Start a new text file on a host other than the SCS. Once the file is complete, you will FTP it to the
1
SCS's /flash disk. The /flash disk and the Disk commands are discussed in detail on page 2-18.
Define up to 10 groups of users. Each group, listed on separate lines, will later be assigned a specific
2
menu. Do not leave any whitespace between each name—the names should be separated by commas.
GROUP austin = sandy,dave,bob,kathy,default
GROUP admin = admin
A space must be included on both sides of the = when defining the groups, as
Note:
shown in the example above. Also, remove any extra spaces from the end of each
line, as they will cause the menu parsing to fail.
If desired, you can use wildcards in usernames. To match a single character, use
a question mark (?), and to match any number of characters, use an asterisk (*).
3
Begin defining the menus. Start by assigning a menu to a specific group.
MENU austin
Then, assign the menu a title (up to five lines). This string will appear at the top of the menu. You can
use dynamic print variables in the title, which will appear appropriately when the menu is viewed.
You can include up to 5 lines of title information per menu.
TITLE "Lantronix Console Server"
For a list of dynamic print variables, see Set/Define Menu on page 12-112.
Note:
4
Define the items that will appear in the menu. The items will be numbered in the order entered. Up to
36 items can be defined in one menu.
ITEM "Cisco Router" "telnet 192.0.1.250"
ITEM "Sun Server" "telnet 192.0.1.251"
ITEM "Linux Server" "connect local port_4"
ITEM "Exit" "Logout"
ENDMENU
End the Menu with the line ENDMENU.
3-5
Configuring Menu Mode

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SCS and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents