|
|
Use the help command to display a brief description of the help system.
helpThis command has no arguments or keywords.
Cisco IOS ATM command.
Available in all ATM command modes.
This command is not supported by the Catalyst 4000 and 2948G series switches.
To list all commands available for a particular command mode, enter a question mark (?) at the system prompt.
To obtain commands that begin with a particular character string, enter the abbreviated command entry and then a question mark (?). This form of help is called word help, because it lists only the keywords or arguments that begin with the abbreviation you entered.
To list associated keywords or arguments for a command, enter a question mark (?) in place of a keyword or argument on the command line. This form of help is called command syntax help, because it lists the keywords or arguments that apply based on the command, keywords, and arguments you have already entered.
This example shows how to display a brief description of the help system:
ATM#help Help may be requested at any point in a command by entering a question mark '?'. If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options. Two styles of help are provided: 1. Full help is available when you are ready to enter a command argument (e.g. 'show ?') and describes each possible argument. 2. Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show pr?'.)
This example shows how to use word help to display the privileged EXEC commands that begin with the letters co:
ATM#co? configure copy
Use the history command to enable the command history function or to change the command history buffer size for a particular line. Use the no form of this command to disable the command history feature.
history [size number-of-lines]
size number-of-lines | (Optional) Keyword to specify the number of command entries that the system will record in its history buffer. The range of number-of-lines is 0 to 256. |
By default, number-of-lines is set to 10.
Cisco IOS ATM command.
Line configuration.
This command is not supported by the Catalyst 4000 and 2948G series switches.
The history command provides a record of EXEC commands you have entered. This feature is useful for recalling long or complex commands or entries, such as access lists.
The history command enables the history function with the last buffer size specified or with the default of ten lines if there was no prior setting. The history size number-of-lines command sets the number of command entries stored in the command history buffer.
The no history command disables the history feature but remembers the buffer size if it was set to a value other than the default. The no history size command resets the buffer size to the default.
Table 2-4 lists the keys and functions you can use to recall commands from the command history buffer.
| Key | Function |
|---|---|
Up Arrow or Ctrl-P1 | Recalls commands in the history buffer in a backward sequence, beginning with the most recent command. Repeat the key sequence to recall older commands. |
Down Arrow or Ctrl-N1 | Returns to more recent commands in the history buffer after recalling commands with the up arrow or Ctrl-P. Repeat the key sequence to recall more recent commands. |
| 1The arrow keys function only with ANSI-compatible terminals such as VT100s. |
This example shows how to configure virtual terminal line 4 with a history buffer size of 35 lines:
ATM#config terminal Enter configuration commands, one per line. End with Ctrl-Z. ATM(config)#line vty 4 ATM(config-line)#history size 35 ATM(config-line)#
Use the history command to display the command history (the last 16 commands executed in the ROM monitor environment). This command is aliased to "h" by the ROM monitor for convenience.
historyThis command has no arguments or keywords.
This command has no defaults.
ROM monitor command.
Normal.
This example shows how to use the history command:
rommon 13 > history 1 help 2 break -s 0x20090 3 break -s 10090 4 break -s 0xa0001000 5 cont 6 help 7 dev 8 dir 9 dir bootflash: 10 dis 11dis 0xa0001000 12dis 0xbe000000 13history =============================================================================
Use the history command to show the contents of the command history buffer.
historyThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The history buffer size is fixed at 20 commands. Refer to the "Command-Line Interfaces" chapter for detailed information about the command history feature.
In this example, the history command lists the contents of the command history buffer:
Console> history
1 help
2 history
Console> !2
history
1 help
2 history
3 history
Console>
Use the interface command within privileged EXEC mode to enter the interface configuration mode.
interface atm_num[.sub_interface_num mul] | loopback_num
atm_num | Number of the ATM interface; valid values are 0 to 4294967295. |
.sub_interface_num | (Optional) Number of the subinterface. |
mul | Keyword to specify multipoint. |
loopback_num | Keyword to specify the loopback interface number; valid values are 0 to 2147483647. |
None.
Cisco IOS ATM command.
Interface configuration and subinterface configuration.
This command is not supported by the Catalyst 4000 and 2948G series switches.
If you do not specify the mul keyword when entering a subinterface number, the CLI does not accept the command.
This example shows how to enter interface configuration mode for interface atm0:
ATM(config)#interface atm0 ATM(config-if)#
This example shows how to enter subinterface configuration mode for subinterface atm0.1:
ATM(config-if)#interface atm0.1 ATM(config-subif)#
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Mar 31 08:46:36 PST 1999
Copyright 1989-1999©Cisco Systems Inc.