Disable, Configure, Disable 22-2 configure 22-2 – Asante Technologies 40240/40480-10G User Manual

Page 402

Advertising
background image

Example

Console#configure

Console(config)#

Related Commands

end (22-4)

show history

This command shows the contents of the command history buffer.

Default Setting

None

Command Mode

Normal Exec, Privileged Exec

Command Usage

The history buffer size is fixed at 10 Execution commands and
10 Configuration commands.

Example

In this example, the show history command lists the contents of the command
history buffer:

Console#show history

Execution command history:

2 config

1 show history

Configuration command history:

4 interface vlan 1

3 exit

2 interface vlan 1

1 end

Console#

The ! command repeats commands from the Execution command history buffer
when you are in Normal Exec or Privileged Exec Mode, and commands from the
Configuration command history buffer when you are in any of the configuration
modes. In this example, the !2 command repeats the second command in the
Execution history buffer (config).

Console#!2

Console#config

Console(config)#

22-3

show history

22

Advertising