cc/td/doc/product/software/ios120/12supdoc/12cmdsum
hometocprevnextglossaryfeedbacksearchhelp

Table of Contents

Basic Command Line Interface Commands

Basic Command Line Interface Commands

This chapter describes the function and displays the syntax for basic command line interface commands. 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.

disable [level]

level

(Optional) Specifies the user-privilege level.


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.

editing
no editing

enable

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

enable [level]

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.

end

exit

To exit any configuration mode or close an active terminal session and terminate the EXEC, use the exit command at the system prompt.

exit

full-help

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

full-help

help

To display a brief description of the help system, enter the help command.

help

history

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.

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

size number-of-lines

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


international

If you are Telneting to a Cisco  IOS platform and you want to display 8-bit and multibyte international characters (for example, Japanese) and print the ESC character as a single character instead of as the caret and bracket symbols (^[), use the international line configuration command. Use the no form of this command to display characters in 7-bit format.

international
no international

ip http access-class

To assign an access list to the HTTP server used by the Cisco  IOS ClickStart software or the Cisco Web browser interface, use the ip http access-class global configuration command. To remove the assigned access list, use the no form of this command.

ip http access-class {access-list-number | name}
no ip http access-class {access-list-number | name}

access-list-number

Standard IP access list number in the range 0 to 99, as configured by the access-list (standard) command.

name

Name of a standard IP access list, as configured by the ip access-list command.


ip http authentication

Use the ip http authentication global configuration command to specify a particular authentication method for HTTP server users. Use the no form of this command to disable a configured authentication method.

ip http authentication {aaa | enable | local | tacacs}
no ip http authentication {aaa | enable | local | tacacs}

aaa

Indicates that the AAA facility is used for authentication.

enable

Indicates that the enable password method, which is the default method of HTTP server user authentication, is used for authentication.

local

Indicates that the local user database as defined on the Cisco router or access server is used for authentication.

tacacs

Indicates that the TACACS or XTACACS server is used for authentication.


ip http port

To specify the port to be used by the Cisco  IOS ClickStart software or the Cisco Web browser interface, use the ip http port global configuration command. To use the default port, use the no form of this command.

ip http port number
no ip http port

number

Port number for use by ClickStart or the Cisco Web browser interface. The default is 80.


ip http server

To enable a Cisco 1003, Cisco 1004, or Cisco 1005 router to be configured from a browser using the Cisco  IOS ClickStart software, and to enable any router to be monitored or have its configuration modified from a browser using the Cisco Web browser interface, use the ip http server global configuration command. To disable this feature, use the no form of this command.

ip http server
no ip http server

menu (EXEC)

Use the menu EXEC command to invoke a user menu.

menu name

name

The name of the menu.


menu clear-screen

Use the menu global configuration command to clear the terminal screen before displaying a menu.

menu name clear-screen

name

The configuration name of the menu.


menu command

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

menu name command item command

name

The configuration name of the menu. You can specify a maximum of 20 characters.

item

Number, character, or string used as the key for the item. The key is displayed to the left of the menu item text. 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.

command

Command to issue when the user selects an item.


menu default

Use the menu default global configuration command to specify the menu item to use as the default.

menu name default item

name

The name of the menu. You can specify a maximum of 20 characters.

item

Number, character, or string key of the item to use as the default.


menu-exit

Use the menu-exit command within a menu command command to allow a user to exit the menu.

menu-exit

menu line-mode

Use the menu line-mode global configuration command to require the user to press Enter after specifying an item.

menu name line-mode

name

The configuration name of the menu.


menu options

Use the menu options global configuration command to set options for items in user interface menus.

menu name options item {login | pause}

name

The name of the menu. You can specify a maximum of 20 characters.

item

Number, character, or string key of the item affected by the option.

login

Requires a login before issuing the command.

pause

Pauses after the command is entered before redrawing the menu.


menu prompt

Use the menu prompt global configuration command to specify the prompt for a user interface menu.

menu name prompt delimiter prompt delimiter

name

The name of the menu. You can specify a maximum of 20 characters.

delimiter

Characters that mark the beginning and end of the prompt. 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.

prompt

Prompt string for the menu.


menu single-space

Use the menu single-space global configuration command to display menu items single-spaced rather than double-spaced.

menu name single-space

name

The configuration name of the menu.


menu status-line

Use the menu status-line global configuration command to display a line of status information about the current user at the top of a menu.

menu name status-line

name

The configuration name of the menu.


menu text

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

menu name text item text

name

The configuration name of the menu. You can specify a maximum of 20 characters.

item

Number, character, or string used as the key for the item. The key is displayed to the left of the menu item text. You can specify a maximum of 18 menu items. When the tenth item is added to the menu, the menu line-mode and menu single-space commands are activated automatically.

text

Text of the menu item.


menu title

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

menu name title delimiter title delimiter

name

The configuration name of the menu. You can specify a maximum of 20 characters.

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.

title

The lines of text to appear at the top of the menu.


no menu

Use the no menu global configuration command to delete the specified menu from the configuration.

no menu name

name

The configuration name of the menu.


show history

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

show history

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 editing
terminal no editing

terminal full-help

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

terminal full-help

terminal history

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.

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

size

(Optional) Sets command history buffer size.

number-of-lines

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


terminal international

If you are Telneting to a Cisco  IOS platform and you want to display 8-bit and multibyte international characters (for example, Japanese) and print the ESC character as a single character instead of as the caret and bracket symbols (^[) for a current Telnet session, use the terminal international EXEC command. Use the no form of this command to display characters in 7-bit format for a current Telnet session.

terminal international
no terminal international


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Feb 8 14:22:35 PST 1999
Copyright 1989-1999©Cisco Systems Inc.