Console Server Features
Configuring Menu Mode
3-5
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:
1
Start a new text file on a host other than the SCS. Once the file is complete, you will FTP it to the
SCS’s /flash disk. The /flash disk and the
Disk
commands are discussed in detail on page 2-18.
2
Define up to 10 groups of users. Each group, listed on separate lines, will later be assigned a specific
menu. Do not leave any whitespace between each name—the names should be separated by commas.
Note:
A space must be included on both sides of the = when defining the groups, as
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.
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.
Note:
For a list of dynamic print variables, see Set/Define Menu on page 12-112.
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.
End the Menu with the line ENDMENU.
GROUP austin = sandy,dave,bob,kathy,default
GROUP admin = admin
MENU austin
TITLE “Lantronix Console Server”
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
Summary of Contents for SCS
Page 14: ...xii ...
Page 171: ...Modem Sharing Examples 10 6 ...
Page 314: ...Command Reference Service Commands 12 110 ...
Page 403: ...Show 802 11 Errors Rightmost Number B 5 00000002 Internal error 00000001 Internal error ...
Page 424: ...Index 13 ...