Cisco AIR-AP1242AG-E-K9 Hardware Installation Guide - Page 61

Recalling Commands, Disabling the Command History Feature, Using Editing Features

Page 61 highlights

Chapter 5 Using the Command-Line Interface Using Editing Features The range is from 0 to 256. Beginning in line configuration mode, enter this command to configure the number of command lines the access point records for all sessions on a particular line: ap(config-line)# history [size number-of-lines] The range is from 0 to 256. Recalling Commands To recall commands from the history buffer, perform one of the actions listed in Table 5-4: Table 5-4 Recalling Commands Action1 Result Press Ctrl-P or the up arrow key. Recall commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall successively older commands. Press Ctrl-N or the down arrow key. Return to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively more recent commands. show history While in privileged EXEC mode, list the last several commands that you just entered. The number of commands that are displayed is determined by the setting of the terminal history global configuration command and history line configuration command. 1. The arrow keys function only on ANSI-compatible terminals such as VT100s. Disabling the Command History Feature The command history feature is automatically enabled. To disable the feature during the current terminal session, enter the terminal no history privileged EXEC command. To disable command history for the line, enter the no history line configuration command. Using Editing Features This section describes the editing features that can help you manipulate the command line. It contains these sections: • Enabling and Disabling Editing Features, page 5-6 • Editing Commands Through Keystrokes, page 5-6 • Editing Command Lines that Wrap, page 5-7 OL-4310-05 Cisco Aironet 1200 Series Access Point Hardware Installation Guide 5-5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160

5-5
Cisco Aironet 1200 Series Access Point Hardware Installation Guide
OL-4310-05
Chapter 5
Using the Command-Line Interface
Using Editing Features
The range is from 0 to 256.
Beginning in line configuration mode, enter this command to configure the number of command lines
the access point records for all sessions on a particular line:
ap(config-line)#
history
[
size
number-of-lines
]
The range is from 0 to 256.
Recalling Commands
To recall commands from the history buffer, perform one of the actions listed in
Table 5-4
:
Disabling the Command History Feature
The command history feature is automatically enabled.
To disable the feature during the current terminal session, enter the
terminal no history
privileged
EXEC command.
To disable command history for the line, enter the
no history
line configuration command.
Using Editing Features
This section describes the editing features that can help you manipulate the command line. It contains
these sections:
Enabling and Disabling Editing Features, page 5-6
Editing Commands Through Keystrokes, page 5-6
Editing Command Lines that Wrap, page 5-7
Table 5-4
Recalling Commands
Action
1
1.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Result
Press
Ctrl-P
or the up arrow key.
Recall commands in the history buffer, beginning with the most recent command.
Repeat the key sequence to recall successively older commands.
Press
Ctrl-N
or the down arrow key.
Return to more recent commands in the history buffer after recalling commands
with
Ctrl-P
or the up arrow key. Repeat the key sequence to recall successively
more recent commands.
show history
While in privileged EXEC mode, list the last several commands that you just
entered. The number of commands that are displayed is determined by the setting
of the
terminal history
global configuration command and
history
line
configuration command.