cc/td/doc/product/software/ios111/supdocs
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

User Interface Commands

User Interface Commands

This chapter describes the function and displays the syntax of each command used to enter and exit the command modes supported by the Cisco Internetwork Operating System (Cisco IOS). For more information about defaults and usage guidelines, see the corresponding chapter of the Configuration Fundamentals Command Reference.

disable

To exit privileged EXEC mode and return to user EXEC mode, enter the disable EXEC command.

[no] editing

To enable enhanced editing mode for a particular line, use the editing line configuration command. To disable the enhanced editing mode, use the no form of this command.

enable [level]

To enter privileged EXEC mode, use the enable EXEC command..

level (Optional) Privileged level on which to log in.

end

To exit configuration mode, or any of the configuration submodes, use the end global configuration command.

exit

To exit any command mode or close an active terminal session and terminate the EXEC, use the exit command at the system prompt. This command is available in all modes.

full-help

To get help for the full set of user-level commands, use the full-help line configuration command.

help

To display a brief description of the help system, enter the help command.This command is available in all modes.

[no] history [size number-of-lines]

To enable the command history function, or to change the command history buffer size for a particular line, use the history line configuration command. To disable the command history feature, use the no form of this command.

size number-of-lines (Optional) Number of command lines that the system will record in its history buffer. The range is 0 to 256. The default is 10 lines.

menu [name]

Use the menu EXEC command to invoke a user menu.

name The configuration name of the menu.

menu name [clear-screen | line-mode | single-space | status-line]
[
no] menu name

Use the menu global configuration command with the appropriate keyword to specify menu-display options. Use the no form of the global configuration command to delete a specified, or named, menu from the configuration.

name The configuration name of the menu.
clear-screen Clears the terminal screen before displaying a menu.
line-mode In a menu of nine or fewer items, you ordinarily select a menu item by entering the item number. In line mode, you select a menu entry by entering the item number and pressing Return. Line mode allows you to backspace over the selected number and enter another number before pressing Return to execute the command. This option is activated automatically when more than nine menu items are defined but also can be configured explicitly for menus of nine or fewer items.
single-space Displays menu items single-spaced rather than double-spaced. This option is activated automatically when more than nine menu items are defined but also can be configured explicitly for menus of nine or fewer items.
status-line Displays a line of status information about the current user.

menu name command number

Use the menu command global configuration command to specify underlying commands for user interface menus.

name The configuration name of the menu. You can specify a maximum of 20 characters.
command The Cisco EXEC command that is executed when the user selects number from the menu. Only one command per entry can be specified.
number The selection number associated with the menu entry. This number is displayed to the left of the menu entry. You can specify a maximum of 18 menu entries. When the tenth item is added to the menu, the line-mode and single-space options are activated automatically.

menu name text number

Use the menu text global configuration command to specify the text of a menu item in a user interface menu.

name The configuration name of the menu. You can specify a maximum of 20 characters.
text The descriptive text for the menu item associated with selection number of the named menu. This text is the item name that is displayed on the user's screen when the menu appears.
number The selection number associated with the menu item. This number is displayed to the left of the menu item. You can specify a maximum of 18 menu items. When the tenth item is added to the menu, the line-mode and single-space options are activated automatically.

menu name title delimiter

Use the menu title global configuration command to create a title, or banner, for a user menu.

name The configuration name of the menu. You can specify a maximum of 20 characters.
title The title that is displayed when the menu is invoked.
delimiter Characters that mark the beginning and end of a title. Text delimiters are characters that do not ordinarily appear within the text of a title, such as slash ( / ), double quote ("), and tilde ( ~ ). Ctrl-C is reserved for special use and should not be used in the text of the title.

show history

To list the commands you have entered in the current EXEC session, use the show history EXEC command.

[no] terminal editing

To enable the enhanced editing mode on the local line, use the terminal editing EXEC command. To disable the enhanced editing mode on the current line, use the no form of this command.

terminal full-help

To get help for the full set of user-level commands, use the terminal full-help EXEC command.

terminal history [size] [number-of-lines]
terminal no history [size]

To enable the command history feature for the current terminal session or change the size of the command history buffer for the current terminal session, use the terminal history EXEC command. To disable the command history feature or reset the command history buffer to its default size, use the no form of this command.]

size Set command history buffer size.
number-of-command-lines Specifies the number of command lines that the system will record in its history buffer. The range is 0 through 256. The default is 10 lines.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.