User guide
set menu
Chapter 2 Command Descriptions 159
set menu
Device support This command is supported in PortServer TS Family devices only.
Purpose The "set menu" command is used to create and modify custom menus.
Use the "set menu" command to:
• Create menus for users.
• Display menu table entries.
• Display lines of a menu.
• Remove a line from a menu.
Required
permissions
The root user can configure menus. Normal users can display menu
settings.
Syntax Create a menu
set menu [c#=command]
[m#=string]
[range=range]
[t#=string]
[name=string]
Display menu table entries
set menu [range=range]
Display lines of a menu
set menu range=range [show={on|off}]
Remove a line from a menu
set menu range=range rmentry=line num
Options c#=command
A command that is executed when a user selects this menu line, where:
c
Specifies that this is a command that is executed when a user selects
this menu line.
#
A line number. Lines appear in numeric order on the menu.
command
Any command. Enclose commands containing spaces in quotation
marks.