O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

menu text — global

Synopsis

menu name text number 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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required