|
|
This chapter explains the function and syntax of the basic command-line interface commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.
To exit privileged EXEC mode and return to user EXEC mode, or exit to a lower privilege level, enter the disable EXEC command.
disable [level]
Syntax Description
level (Optional) Specifies the user-privilege level.
To disable Cisco IOS enhanced editing features, use the no form of this line configuration command. To reenable these features for a particular line, use the editing form of this command.
editingSyntax Description
This command has no arguments or keywords.
To enter privileged EXEC mode, or any other security level set by a system administrator, use the enable EXEC command.
enable [level]
Syntax Description
level (Optional) Privileged level on which to log in.
To exit configuration mode, or any of the configuration submodes, use the end global configuration command.
endSyntax Description
This command has no arguments or keywords.
To exit any configuration mode or close an active terminal session and terminate the EXEC, use the exit command at the system prompt.
exitSyntax Description
This command has no arguments or keywords.
To get help for the full set of user-level commands, use the full-help line configuration command.
full-helpSyntax Description
This command has no arguments or keywords.
To display a brief description of the help system, enter the help command.
helpSyntax Description
This command has no arguments or keywords.
Syntax Description
This command has no arguments or keywords.
Syntax Description
number-of-lines 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.
To display a preconfigured user menu, use the menu EXEC command.
menu name
Syntax Description
name The name of the menu.
To search the output of any more command, use the more begin command in EXEC mode. This command begins unfiltered output of the more command with the first line that contains the regular expression you specify.
more any-command | begin regular-expressionTo search the remaining output of the more command, use the following command at the --More-- prompt:
/regular-expressionTo filter the remaining output of the more command, use one of the following commands at the --More-- prompt:
-regular-expression
Syntax Description
any-command Any supported more command. | A vertical bar (the "pipe" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in more command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression. - Specifies a filter at a --More-- prompt that only displays output lines that do not contain the regular expression. + Specifies a filter at a --More-- prompt that only displays output lines that contain the regular expression.
To filter more command output so that it excludes lines that contain a particular regular expression, use the more exclude command in EXEC mode.
more any-command | exclude regular-expressionTo search the remaining output of the more command, use the following command at the --More-- prompt:
/regular-expression
Syntax Description
any-command Any supported more command. | A vertical bar (the "pipe" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in more command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression.
To filter more command output so that it only displays lines that contain a particular regular expression, use the more include command in EXEC mode.
more any-command | include regular-expressionTo search the remaining output of the more command, use the following command at the --More-- prompt:
/regular-expression
Syntax Description
any-command Any supported more command. | A vertical bar (the "|" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in more command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression.
To search the output of any show command, use the show begin command in EXEC mode.
show any-command | begin regular-expressionTo search the remaining output of the show command, use the following command at the --More-- prompt:
/regular-expressionTo filter the remaining output of the show command, use one of the following commands at the --More-- prompt:
-regular-expression
Syntax Description
any-command Any supported show command. | A vertical bar (the "pipe" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in show command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression. - Specifies a filter at a --More-- prompt that only displays output lines that do not contain the regular expression. + Specifies a filter at a --More-- prompt that only displays output lines that contain the regular expression.
To filter show command output so that it excludes lines that contain a particular regular expression, use the show exclude command in EXEC mode.
show any-command | exclude regular-expressionTo search the remaining output of the show command, use the following command at a --More-- prompt:
/regular-expression
Syntax Description
any-command Any supported show command. | A vertical bar (the "|" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in show command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression.
Syntax Description
This command has no arguments or keywords.
To filter show command output so that it only displays lines that contain a particular regular expression, use the show include command in EXEC mode.
show any-command | include regular-expressionTo search the remaining output of the show command, use the following command at the --More-- prompt:
/regular-expression
Syntax Description
any-command Any supported show command. | A vertical bar (the "|" symbol) indicates that an output processing specification follows. regular-expression Any regular expression found in show command output. / Specifies a search at a --More-- prompt that begins unfiltered output with the first line that contains the regular expression.
Syntax Description
This command has no arguments or keywords.
To get help for the full set of user-level commands, use the terminal full-help EXEC command.
terminal full-helpSyntax Description
This command has no arguments or keywords.
Syntax Description
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.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 14:40:43 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.