cc/td/doc/product/lan/cat5000/rel_4_4
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

help
history---ATM
history---ROM monitor
history---switch
interface

help

Use the help command to display a brief description of the help system.

help
Syntax Description

This command has no arguments or keywords.

Command Type

Cisco  IOS ATM command.

Command Mode

Available in all ATM command modes.

Usage Guidelines

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.

Examples

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
 

history---ATM

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]
no history
Syntax Description

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.

Default

By default, number-of-lines is set to 10.

Command Type

Cisco  IOS ATM command.

Command Mode

Line configuration.

Usage Guidelines

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.


Table 2-4: History Keys
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.
Example

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)#
Related Command

show history

history---ROM monitor

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.

history
Syntax Description

This command has no arguments or keywords.

Default

This command has no defaults.

Command Type

ROM monitor command.

Command Mode

Normal.

Example

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
11  dis 0xa0001000
12  dis 0xbe000000
13  history
=============================================================================

history---switch

Use the history command to show the contents of the command history buffer.

history
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The history buffer size is fixed at 20 commands. Refer to the "Command-Line Interfaces" chapter for detailed information about the command history feature.

Example

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>

interface

Use the interface command within privileged EXEC mode to enter the interface configuration mode.

interface atm_num[.sub_interface_num mul] | loopback_num
Syntax Description

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.

Default

None.

Command Type

Cisco  IOS ATM command.

Command Mode

Interface configuration and subinterface configuration.

Usage Guidelines

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.

Examples

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)#
 

hometocprevnextglossaryfeedbacksearchhelp

Copyright 1989-1999©Cisco Systems Inc.