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

Editing Command Lines that Wrap, Ctrl-B, access-list, Esc C, Return, Space

Page 63 highlights

Chapter 5 Using the Command-Line Interface Using Editing Features Table 5-5 Editing Commands Through Keystrokes (continued) Capability Keystroke1 Purpose Capitalize or lowercase words or capitalize a set of letters. Esc C Esc L Capitalize at the cursor. Change the word at the cursor to lowercase. Esc U Capitalize letters from the cursor to the end of the word. Designate a particular keystroke as Ctrl-V or Esc Q an executable command, perhaps as a shortcut. Scroll down a line or screen on displays that are longer than the terminal screen can display. Return Space Scroll down one line. Scroll down one screen. Note The More prompt appears for output that has more lines than can be displayed on the terminal screen, including show command output. You can use the Return and Space bar keystrokes whenever you see the More prompt. Redisplay the current command line Ctrl-L or Ctrl-R if the access point suddenly sends a message to your screen. Redisplay the current command line. 1. The arrow keys function only on ANSI-compatible terminals such as VT100s. Editing Command Lines that Wrap You can use a wraparound feature for commands that extend beyond a single line on the screen. When the cursor reaches the right margin, the command line shifts ten spaces to the left. You cannot see the first ten characters of the line, but you can scroll back and check the syntax at the beginning of the command. To scroll back to the beginning of the command entry, press Ctrl-B or the left arrow key repeatedly. You can also press Ctrl-A to immediately move to the beginning of the line. Note The arrow keys function only on ANSI-compatible terminals such as VT100s. In this example, the access-list global configuration command entry extends beyond one line. When the cursor first reaches the end of the line, the line is shifted ten spaces to the left and redisplayed. The dollar sign ($) shows that the line has been scrolled to the left. Each time the cursor reaches the end of the line, the line is again shifted ten spaces to the left. ap(config)# access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1 ap(config)# $ 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.25 ap(config)# $t tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq ap(config)# $108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq 45 OL-4310-05 Cisco Aironet 1200 Series Access Point Hardware Installation Guide 5-7

  • 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-7
Cisco Aironet 1200 Series Access Point Hardware Installation Guide
OL-4310-05
Chapter 5
Using the Command-Line Interface
Using Editing Features
Editing Command Lines that Wrap
You can use a wraparound feature for commands that extend beyond a single line on the screen. When
the cursor reaches the right margin, the command line shifts ten spaces to the left. You cannot see the
first ten characters of the line, but you can scroll back and check the syntax at the beginning of the
command.
To scroll back to the beginning of the command entry, press
Ctrl-B
or the left arrow key repeatedly. You
can also press
Ctrl-A
to immediately move to the beginning of the line.
Note
The arrow keys function only on ANSI-compatible terminals such as VT100s.
In this example, the
access-list
global configuration command entry extends beyond one line. When the
cursor first reaches the end of the line, the line is shifted ten spaces to the left and redisplayed. The dollar
sign ($) shows that the line has been scrolled to the left. Each time the cursor reaches the end of the line,
the line is again shifted ten spaces to the left.
ap(config)#
access-list 101 permit tcp 131.108.2.5 255.255.255.0 131.108.1
ap(config)# $
101 permit tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.25
ap(config)# $
t tcp 131.108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq
ap(config)# $
108.2.5 255.255.255.0 131.108.1.20 255.255.255.0 eq 45
Capitalize or lowercase words or
capitalize a set of letters.
Esc C
Capitalize at the cursor.
Esc L
Change the word at the cursor to lowercase.
Esc U
Capitalize letters from the cursor to the end of the word.
Designate a particular keystroke as
an executable command, perhaps as a
shortcut.
Ctrl-V
or
Esc Q
Scroll down a line or screen on
displays that are longer than the
terminal screen can display.
Note
The
More
prompt appears for
output that has more lines
than can be displayed on the
terminal screen, including
show
command output. You
can use the
Return
and
Space
bar keystrokes
whenever you see the
More
prompt.
Return
Scroll down one line.
Space
Scroll down one screen.
Redisplay the current command line
if the access point suddenly sends a
message to your screen.
Ctrl-L
or
Ctrl-R
Redisplay the current command line.
1.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Table 5-5
Editing Commands Through Keystrokes (continued)
Capability
Keystroke
1
Purpose