Name
menu text — global
Synopsis
menuname
textnumber text
Configures
Descriptive text for menus
Default
None
Description
This command lets you provide descriptive text to associate with menu items. The menus are accessible from the router’s command-line prompt using the menu
command, followed by the menu name.
-
name
The name of the menu. Names cannot be more than 20 characters long.
-
number
The selection number associated with the menu entry.
-
text
The text to be displayed for the given menu selection.
Example
The following commands set up a menu called incoming
with several selections. If a user types 1, the command telnet 10.1.1.1
is executed; if she types 2, the command telnet 10.1.1.2
is executed; if she types 3, the menu exits.
menu incoming command 1 telnet 10.1.1.1 menu incoming text 1 Telnet to New York router (10.1.1.1) menu incoming command 2 telnet 10.1.1.2 menu incoming text 2 Telnet to San Francisco router (10.1.1.2) menu incoming command 3 menu-exit menu incoming text 3 Exit
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.