Aruba Fundamentals User guide

Category
Software
Type
User guide
HPE FlexFabric 5940 & 5930 Switch Series
Fundamentals Command Reference
P
art number: 5200-4863c
Software
version: Release 2609 and later
Document version: 6W103-20200310
© Copyright 2020 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
Basic CLI commands ····················································································· 1
alias ···························································································································································· 1
display | { begin | exclude | include } ·········································································································· 2
display | by-linenum ··································································································································· 3
display > ····················································································································································· 4
display >> ··················································································································································· 5
display alias ················································································································································ 6
display history-command ··························································································································· 6
display history-command all ······················································································································· 7
display hotkey ············································································································································ 8
hotkey ························································································································································· 9
quit ··························································································································································· 11
repeat ······················································································································································· 12
return ························································································································································ 13
screen-length disable ······························································································································· 13
system-view ············································································································································· 14
RBAC commands ························································································ 15
description ················································································································································ 15
display role ··············································································································································· 15
display role feature ··································································································································· 22
display role feature-group ························································································································ 24
feature ······················································································································································ 27
interface policy deny ································································································································ 28
permit interface ········································································································································ 29
permit vlan ················································································································································ 31
permit vpn-instance ·································································································································· 32
role ··························································································································································· 33
role default-role enable ···························································································································· 34
role feature-group ····································································································································· 35
rule ··························································································································································· 36
super ························································································································································ 39
super authentication-mode ······················································································································· 40
super default role ····································································································································· 41
super password ········································································································································ 42
super use-login-username ······················································································································· 43
vlan policy deny ········································································································································ 44
vpn-instance policy deny ·························································································································· 45
Login management commands ···································································· 47
activation-key ··········································································································································· 47
authentication-mode ································································································································· 49
auto-execute command ···························································································································· 50
command accounting ······························································································································· 52
command authorization ···························································································································· 52
databits ····················································································································································· 53
display ip http ··········································································································································· 54
display ip https ········································································································································· 54
display line ··············································································································································· 55
display telnet client ··································································································································· 57
display user-interface ······························································································································· 57
display users ············································································································································ 59
escape-key ··············································································································································· 60
flow-control ··············································································································································· 61
free line ···················································································································································· 62
free user-interface ···································································································································· 63
history-command max-size ······················································································································ 63
ii
http acl ······················································································································································ 64
https acl ···················································································································································· 65
idle-timeout ··············································································································································· 66
ip http acl ·················································································································································· 67
ip http enable ············································································································································ 67
ip http port ················································································································································ 68
ip https acl ················································································································································ 69
ip https certificate access-control-policy ··································································································· 69
ip https enable ·········································································································································· 70
ip https port ·············································································································································· 71
ip https ssl-server-policy ··························································································································· 71
line ···························································································································································· 72
line class ·················································································································································· 73
lock ··························································································································································· 74
lock reauthentication ································································································································ 75
lock-key ···················································································································································· 76
parity ························································································································································ 77
protocol inbound ······································································································································· 77
restful http enable ····································································································································· 79
restful https enable ··································································································································· 80
screen-length ··········································································································································· 80
send ························································································································································· 81
set authentication password ····················································································································· 82
shell ·························································································································································· 83
speed ······················································································································································· 84
stopbits ····················································································································································· 84
telnet ························································································································································ 85
telnet client source ··································································································································· 86
telnet ipv6 ················································································································································· 87
telnet server acl ········································································································································ 88
telnet server acl-deny-log enable ············································································································· 88
telnet server dscp ····································································································································· 89
telnet server enable ·································································································································· 90
telnet server ipv6 acl ································································································································ 90
telnet server ipv6 dscp ····························································································································· 91
telnet server ipv6 port ······························································································································· 92
telnet server port ······································································································································ 92
terminal type ············································································································································· 93
user-interface ··········································································································································· 94
user-interface class ·································································································································· 94
user-role ··················································································································································· 96
FTP commands ··························································································· 98
FTP server commands ····································································································································· 98
display ftp-server ······································································································································ 98
display ftp-user ········································································································································· 98
free ftp user ·············································································································································· 99
free ftp user-ip ········································································································································ 100
free ftp user-ip ipv6 ································································································································ 100
ftp server acl ··········································································································································· 101
ftp server acl-deny-log enable ················································································································ 101
ftp server dscp ········································································································································ 102
ftp server enable ···································································································································· 103
ftp server ipv6 dscp ································································································································ 103
ftp server ssl-server-policy ····················································································································· 104
ftp timeout ·············································································································································· 104
FTP client commands ···································································································································· 105
? ····························································································································································· 105
append ··················································································································································· 106
ascii ························································································································································ 106
binary ····················································································································································· 107
bye ························································································································································· 108
iii
cd ··························································································································································· 108
cdup ······················································································································································· 109
close ······················································································································································· 110
debug ····················································································································································· 110
delete ····················································································································································· 111
dir ··························································································································································· 111
disconnect ·············································································································································· 112
display ftp client source ·························································································································· 113
ftp ··························································································································································· 113
ftp client ipv6 source ······························································································································ 115
ftp client source ······································································································································ 115
ftp ipv6 ···················································································································································· 116
get ·························································································································································· 118
help ························································································································································ 119
lcd ··························································································································································· 119
ls ····························································································································································· 120
mkdir ······················································································································································ 121
newer ····················································································································································· 122
open ······················································································································································· 122
passive ··················································································································································· 123
put ·························································································································································· 124
pwd ························································································································································· 125
quit ························································································································································· 125
reget ······················································································································································· 125
rename ··················································································································································· 126
reset ······················································································································································· 127
restart ····················································································································································· 127
rhelp ······················································································································································· 128
rmdir ······················································································································································· 129
rstatus ···················································································································································· 130
status ······················································································································································ 132
system ···················································································································································· 133
user ························································································································································ 133
verbose ·················································································································································· 134
TFTP commands ······················································································· 135
tftp ·························································································································································· 135
tftp client ipv6 source ····························································································································· 136
tftp client source ····································································································································· 137
tftp ipv6 ··················································································································································· 138
tftp-server acl ········································································································································· 139
tftp-server ipv6 acl ·································································································································· 140
File system management commands ························································ 141
cd ··························································································································································· 141
copy ························································································································································ 142
delete ····················································································································································· 144
dir ··························································································································································· 145
fdisk ························································································································································ 146
file prompt ·············································································································································· 148
fixdisk ····················································································································································· 149
format ····················································································································································· 149
gunzip ····················································································································································· 150
gzip ························································································································································· 151
md5sum ················································································································································· 151
mkdir ······················································································································································ 152
more ······················································································································································· 152
mount ····················································································································································· 153
move ······················································································································································ 154
pwd ························································································································································· 154
rename ··················································································································································· 155
reset recycle-bin ····································································································································· 155
iv
rmdir ······················································································································································· 156
sha256sum ············································································································································· 156
tar create ················································································································································ 157
tar extract ··············································································································································· 158
tar list ······················································································································································ 159
umount ··················································································································································· 160
undelete ················································································································································· 160
Configuration file management commands ················································ 162
archive configuration ······························································································································ 162
archive configuration interval ················································································································· 163
archive configuration location ················································································································· 164
archive configuration max ······················································································································ 165
archive configuration server ··················································································································· 166
archive configuration server password··································································································· 167
archive configuration server user ··········································································································· 168
backup startup-configuration ·················································································································· 169
configuration commit ······························································································································ 170
configuration commit delay ···················································································································· 170
configuration encrypt ······························································································································ 171
configuration replace file ························································································································ 172
display archive configuration ·················································································································· 173
display current-configuration ·················································································································· 174
display current-configuration diff ············································································································ 175
display default-configuration ·················································································································· 177
display diff ·············································································································································· 177
display saved-configuration ···················································································································· 179
display startup ········································································································································ 180
display this ············································································································································· 181
reset saved-configuration ······················································································································· 181
restore startup-configuration ·················································································································· 182
save ························································································································································ 183
save binary-only ····································································································································· 185
startup saved-configuration ···················································································································· 186
Software upgrade commands ···································································· 188
boot-loader file ······································································································································· 188
boot-loader pex file ································································································································· 190
boot-loader update ································································································································· 191
bootrom update ······································································································································ 192
display boot-loader ································································································································· 193
ISSU commands ························································································ 194
display install active ······························································································································· 194
display install backup ····························································································································· 195
display install committed ························································································································ 197
display install inactive ····························································································································· 198
display install ipe-info ····························································································································· 199
display install job ···································································································································· 200
display install log ···································································································································· 200
display install package ··························································································································· 201
display install rollback ···························································································································· 202
display install which ································································································································ 203
display issu rollback-timer ······················································································································ 204
display issu state ···································································································································· 205
display version comp-matrix ··················································································································· 208
install abort ············································································································································· 209
install activate ········································································································································· 210
install add ··············································································································································· 212
install commit ········································································································································· 212
install deactivate ····································································································································· 213
install remove ········································································································································· 214
v
install rollback to ····································································································································· 215
install verify ············································································································································ 216
issu accept ············································································································································· 217
issu commit ············································································································································ 217
issu load ················································································································································· 219
issu one-step ·········································································································································· 221
issu rollback ··········································································································································· 223
issu rollback-timer ·································································································································· 224
issu run switchover ································································································································· 224
reset install log-history oldest ················································································································· 226
reset install rollback oldest ····················································································································· 226
Emergency shell commands ······································································ 228
copy ························································································································································ 228
delete ····················································································································································· 228
dir ··························································································································································· 229
display copyright ···································································································································· 231
display install package ··························································································································· 231
display interface m-eth0 ························································································································· 232
display ip routing-table ··························································································································· 233
display ipv6 routing-table ······················································································································· 234
display version ······································································································································· 235
format ····················································································································································· 235
ftp ··························································································································································· 236
install load ·············································································································································· 236
interface m-eth0 ····································································································································· 237
ip address ··············································································································································· 237
ip gateway ·············································································································································· 238
ipv6 address ··········································································································································· 239
ipv6 gateway ·········································································································································· 239
mkdir ······················································································································································ 240
more ······················································································································································· 241
move ······················································································································································ 241
ping ························································································································································ 241
ping ipv6 ················································································································································· 243
pwd ························································································································································· 243
quit ························································································································································· 244
reboot ····················································································································································· 244
reset ssh public-key ······························································································································· 244
rmdir ······················································································································································· 245
shutdown ················································································································································ 246
ssh2 ························································································································································ 246
system-view ··········································································································································· 247
telnet ······················································································································································ 247
tftp ·························································································································································· 248
Device management commands································································ 249
clock datetime ········································································································································ 249
clock protocol ········································································································································· 249
clock summer-time ································································································································· 250
clock timezone ······································································································································· 252
command ··············································································································································· 253
copyright-info enable ······························································································································ 254
display alarm ·········································································································································· 254
display clock ··········································································································································· 255
display copyright ···································································································································· 256
display cpu-usage ·································································································································· 256
display cpu-usage configuration············································································································· 257
display cpu-usage history ······················································································································· 258
display device ········································································································································· 259
display device manuinfo ························································································································· 260
display device manuinfo fan ··················································································································· 261
vi
display device manuinfo power ·············································································································· 261
display diagnostic-information ················································································································ 262
display environment ······························································································································· 264
display fan ·············································································································································· 265
display hardware-resource switch-mode ································································································ 265
display memory ······································································································································ 266
display memory-threshold ······················································································································ 267
display power ········································································································································· 269
display resource-monitor ························································································································ 270
display scheduler job ······························································································································ 271
display scheduler logfile ························································································································· 271
display scheduler reboot ························································································································ 272
display scheduler schedule ···················································································································· 273
display system stable state ···················································································································· 274
display system-working-mode ················································································································ 275
display transceiver alarm ······················································································································· 276
display transceiver diagnosis ················································································································· 277
display transceiver interface ··················································································································· 277
display transceiver manuinfo ·················································································································· 278
display version ······································································································································· 278
display version-update-record ················································································································ 279
fan prefer-direction ································································································································· 280
hardware-resource switch-mode ············································································································ 280
header ···················································································································································· 281
job ·························································································································································· 282
memory-threshold ·································································································································· 282
memory-threshold usage ······················································································································· 284
monitor cpu-usage enable ······················································································································ 285
monitor cpu-usage interval ····················································································································· 285
monitor cpu-usage threshold ·················································································································· 286
monitor resend cpu-usage ····················································································································· 287
monitor resend memory-threshold ········································································································· 288
parity-error monitor log enable ··············································································································· 289
parity-error monitor period ······················································································································ 289
parity-error monitor threshold ················································································································· 290
password-recovery enable ····················································································································· 291
reboot ····················································································································································· 291
reset scheduler logfile ···························································································································· 293
reset version-update-record ··················································································································· 293
resource-monitor minor resend enable ·································································································· 294
resource-monitor output ························································································································· 294
resource-monitor resource ····················································································································· 295
restore factory-default ···························································································································· 297
scheduler job ·········································································································································· 298
scheduler logfile size ······························································································································ 298
scheduler reboot at ································································································································ 299
scheduler reboot delay ··························································································································· 300
scheduler schedule ································································································································ 300
shutdown-interval ··································································································································· 301
sysname ················································································································································· 302
system-working-mode ···························································································································· 303
temperature-limit ···································································································································· 303
time at ···················································································································································· 304
time once ················································································································································ 305
time repeating ········································································································································ 306
usb disable ············································································································································· 308
user-role ················································································································································· 308
Tcl commands ··························································································· 310
cli ···························································································································································· 310
tclquit ······················································································································································ 310
tclsh ························································································································································ 311
vii
Python commands ····················································································· 312
exit() ······················································································································································· 312
python ···················································································································································· 312
python filename ······································································································································ 313
Preprovisioning commands ········································································ 314
display provision failed-config ················································································································ 314
provision ················································································································································· 314
reset provision failed-config ··················································································································· 315
slot ·························································································································································· 316
Document conventions and icons ······························································ 317
Conventions ··················································································································································· 317
Network topology icons ·································································································································· 318
Support and other resources ····································································· 319
Accessing Hewlett Packard Enterprise Support····························································································· 319
Accessing updates ········································································································································· 319
Websites ················································································································································ 320
Customer self repair ······························································································································· 320
Remote support ······································································································································ 320
Documentation feedback ······················································································································· 320
Index ·········································································································· 322
1
Basic CLI commands
alias
Use alias to configure a command alias.
Use undo alias to delete a command alias.
Syntax
alias alias command
undo alias alias
Default
The device has a set of system-defined command aliases, as listed in Table 1.
Table 1 System-defined command aliases
Command alias
Command or command keyword
access-list acl
end return
erase delete
exit quit
hostname sysname
logging info-center
no undo
show display
write save
Views
System view
Predefined user roles
network-admin
Parameters
alias: Specifies an alias, a case-sensitive string of 1 to 20 characters. An alias cannot be alias or
contain spaces.
command: Specifies a command string. Make sure the command string meets the syntax
requirements.
Usage guidelines
System-defined command aliases cannot be deleted.
You can configure one or more aliases for a command or the starting keywords of commands. Then,
you can use the aliases to execute the command or commands. If the command or commands have
undo forms, you can also use the aliases to execute the undo command or commands.
For example, if you configure the alias shiprt for display ip routing-table, you can enter shiprt to
execute the display ip routing-table command. If you configure the alias ship for display ip, you
can use ship to execute all commands that start with display ip:
2
•
Enter ship routing-table to execute the display ip routing-table command.
•
Enter ship interface to execute the display ip interface command.
The command string can include up to nine parameters. Each parameter starts with the dollar sign ($)
and a sequence number in the range of 1 to 9. For example, you can configure the alias shinc for the
display ip $1 | include $2 command. Then, to execute the display ip routing-table | include
Static command, you only need to enter shinc routing-table Static. To execute the display ip
interface | include Ten-GigabitEthernet1/0/1 command, you only need to enter shinc interface
Ten-GigabitEthernet1/0/1.
Examples
# Configure shiprt as the alias for the display ip routing-table command and verify the
configuration.
<Sysname> system-view
[Sysname] alias shiprt display ip routing-table
[Sysname] shiprt
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
3.3.3.3/32 Static 60 0 192.168.1.62 Vlan1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
169.254.0.0/24 Direct 0 0 169.254.0.188 Vlan1
169.254.0.0/32 Direct 0 0 169.254.0.188 Vlan1
169.254.0.188/32 Direct 0 0 127.0.0.1 InLoop0
169.254.0.255/32 Direct 0 0 169.254.0.188 Vlan1
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
# Configure shinc as the alias for display ip $1 | include $2.
[Sysname] alias shinc display ip $1 | include $2
# Use alias shinc to display all static routes.
[Sysname] shinc routing-table Static
3.3.3.3/32 Static 60 0 192.168.1.62 Vlan1
Related commands
display alias
display | { begin | exclude | include }
Use display | { begin | exclude | include } to filter the output from a display command with a regular
expression.
Syntax
display command | { begin | exclude | include } regular-expression
Views
Any view
3
Predefined user roles
network-admin
network-operator
Parameters
command: Specifies the keywords and arguments of a display command. To display available
keywords and arguments, enter display ?.
begin: Displays the first line matching the specified regular expression and all subsequent lines.
exclude: Displays all lines not matching the specified regular expression.
include: Displays all lines matching the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Use the | { begin | exclude | include } regular-expression option with a display command to filter
the command output. For more information about regular expressions, see Fundamentals
Configuration Guide.
Examples
# Display the lines that contain vlan in the running configuration.
<Sysname> display current-configuration | include vlan
vlan 1
vlan 999
port access vlan 999
display | by-linenum
Use display | by-linenum to number each output line for a display command.
Syntax
display command | by-linenum
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
command: Specifies the keywords and arguments of a display command. To display available
keywords and arguments, enter display ?.
Usage guidelines
By numbering each output line from a display command, you can easily identify the lines of interest.
Each line number is displayed as a 5-character string and might be followed by a colon (:) or hyphen
(-). If you specify both | by-linenum and | begin regular-expression for a display command, a
hyphen is displayed for all lines that do not match the regular expression.
Examples
# Display VLAN 999 settings, with each output line identified by a number.
<Sysname> display vlan 999 | by-linenum
1: VLAN ID: 999
4
2: VLAN type: Static
3: Route interface: Configured
4: IPv4 address: 192.168.2.1
5: IPv4 subnet mask: 255.255.255.0
6: Description: For LAN Access
7: Name: VLAN 0999
8: Tagged ports: None
9: Untagged ports:
10: Ten-GigabitEthernet1/0/1
# Display the first line that begins with user-group in the running configuration and all of the
following lines.
<Sysname> display current-configuration | by-linenum begin user-group
114: user-group system
115- #
116- return
display >
Use display > to save the output from a display command to a separate file.
Syntax
display command > filename
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
command: Specifies the keywords and arguments of a display command. To display available
keywords and arguments, enter display ?.
filename: Specifies the name of the file that is used to save the output, a string of 1 to 63 characters.
Usage guidelines
The display commands show the configuration, statistics, and states of the device. You can use the
display > command to save the output to a file.
If the specified file does not exist, the system creates the file and saves the output to the file. If the file
already exists, the system overwrites the file.
Examples
# Save VLAN 1 settings to a separate file named vlan.txt.
<Sysname> display vlan 1 > vlan.txt
# Check the content of the vlan.txt file.
<Sysname> more vlan.txt
VLAN ID: 1
VLAN type: Static
Route interface: Not configured
Description: VLAN 0001
Name: VLAN 0001
5
Tagged ports: None
Untagged ports:
Ten-GigabitEthernet1/0/2
display >>
Use display >> to append the output from a display command to the end of a file.
Syntax
display command >> filename
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
command: Specifies the keywords and arguments of a display command. To display available
keywords and arguments, enter display ?.
filename: Specifies the name of the file that is used to save the output, a string of 1 to 63 characters.
Usage guidelines
The display commands show the configuration, statistics, and states of the device. You can use
display >> to save the output to a file.
If the specified file does not exist, the system creates the file and saves the output to the file. If the file
already exists, the system appends the output to the end of the file.
Examples
# Append the VLAN 999 settings to the end of the vlan.txt file.
<Sysname> display vlan 999 >> vlan.txt
<Sysname>
# Check the content of the vlan.txt file.
<Sysname> more vlan.txt
VLAN ID: 1
VLAN type: Static
Route interface: Not configured
Description: VLAN 0001
Name: VLAN 0001
Tagged ports: None
Untagged ports:
Ten-GigabitEthernet1/0/2
VLAN ID: 999
VLAN type: Static
Route interface: Configured
IPv4 address: 192.168.2.1
IPv4 subnet mask: 255.255.255.0
Description: For LAN Access
Name: VLAN 0999
6
Tagged ports: None
Untagged ports:
Ten-GigabitEthernet1/0/2
display alias
Use display alias to display command aliases.
Syntax
display alias [ alias ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
alias: Specifies a command alias. If you do not specify this argument, the command displays all
command aliases.
Examples
# Display all command aliases.
<Sysname> display alias
Index Alias Command key
1 access-list acl
2 end return
3 erase delete
4 exit quit
5 hostname sysname
6 logging info-center
7 no undo
8 shinc display $1 | include $2
9 show display
10 sirt display ip routing-table
11 write save
# Display the command alias shinc.
<Sysname> display alias shinc
Alias Command key
shinc display ip $1 | include $2
Related commands
alias
display history-command
Use display history-command to display all commands that are saved in the command history
buffer for the current CLI session.
Syntax
display history-command
7
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
The system automatically saves commands you have successfully executed to the command history
buffer for the current CLI session. You can view them and execute them again.
By default, the system can save up to 10 commands in the buffer. You can use the
history-command max-size command to change the buffer size. To buffer a new command when
the buffer is full, the system deletes the oldest command entry in the buffer.
All commands in the command history buffer for the current CLI session will be cleared when you log
out.
Examples
# Display all commands saved in the command history buffer for the current CLI session.
<Sysname> display history-command
system-view
vlan 2
quit
Related commands
history-command max-size
display history-command all
Use display history-command all to display all commands that are saved in the command history
buffer for all CLI sessions.
Syntax
display history-command all
Views
Any view
Predefined user roles
network-admin
Usage guidelines
The system automatically saves commands successfully executed by users to the command history
buffer for all CLI sessions. Users can view them but cannot recall them from the buffer.
Up to 1024 commands can be saved in the command history buffer. To buffer a new command when
the buffer is full, the system deletes the oldest command entry in the buffer.
A user logout does not cause the system to delete commands from the history buffer for all CLI
sessions.
Examples
# Display all commands saved in the command history buffer for all CLI sessions.
<Sysname> display history-command all
Date Time Terminal Ip User
03/16/2012 20:03:33 vty0 192.168.1.26 **
8
Cmd:dis his all
03/16/2012 20:03:29 vty0 192.168.1.26 **
Cmd:sys
Table 2 Command output
Field
Description
Date Date when the command was executed.
Time Time when the command was executed.
Terminal User line used by the user.
Ip IP address of the terminal used by the user.
User Username used by the user if the user login authentication mode is
scheme. If the login authentication mode is none or password, this field
displays **.
Cmd Command string entered by the user.
Related commands
display history-command
display hotkey
Use display hotkey to display hotkey information.
Syntax
display hotkey
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display hotkey information.
<Sysname> display hotkey
----------------- Hotkeys -----------------
-Defined function hotkeys-
CTRL_A Move the cursor to the beginning of the line.
CTRL_B Move the cursor one character to the left.
CTRL_C Stop the current command.
CTRL_D Erase the character at the cursor.
CTRL_E Move the cursor to the end of the line.
CTRL_F Move the cursor one character to the right.
CTRL_H Erase the character to the left of the cursor.
CTRL_K Abort the connection request.
CTRL_N Display the next command in the history buffer.
CTRL_P Display the previous command in the history buffer.
CTRL_R Redisplay the current line.
9
CTRL_V Paste text from the clipboard.
CTRL_W Delete the word to the left of the cursor.
CTRL_X Delete all characters from the beginning of the line to the cursor.
CTRL_Y Delete all characters from the cursor to the end of the line.
CTRL_Z Return to the User View.
CTRL_] Kill incoming connection or redirect connection.
ESC_B Move the cursor back one word.
ESC_D Delete all characters from the cursor to the end of the word.
ESC_F Move the cursor forward one word.
ESC_N Move the cursor down a line.
ESC_P Move the cursor up a line.
ESC_< Move the cursor to the beginning of the clipboard.
ESC_> Move the cursor to the end of the clipboard.
-Defined command hotkeys-
CTRL_G display current-configuration
CTRL_L display ip routing-table
CTRL_O undo debugging all
-Undefined hotkeys-
CTRL_T NULL
CTRL_U NULL
Related commands
hotkey
hotkey
Use hotkey to configure a hotkey.
Use undo hotkey to restore the default.
Syntax
hotkey hotkey { command | function function | none }
undo hotkey hotkey
Default
The device supports 29 hotkeys. Table 3 shows the default definitions for the hotkeys.
Table 3 Default definitions for hotkeys
Hotkey
Function or command
Ctrl+A move_the_cursor_to_the_beginning_of_the_line: Moves the cursor to the
beginning of a line.
Ctrl+B move_the_cursor_one_character_to_the_left: Moves the cursor one
character to the left.
Ctrl+C stop_the_current_command: Stops the current command.
Ctrl+D
erase_the_character_at_the_cursor
: Deletes the character at the cursor.
Ctrl+E move_the_cursor_to_the_end_of_the_line: Moves the cursor to the end of a
line.
10
Hotkey
Function or command
Ctrl+F move_the_cursor_one_character_to_the_right: Moves the cursor one
character to the right.
Ctrl+G display current-configuration: Displays the running configuration.
Ctrl+H erase_the_character_to_the_left_of_the_cursor: Deletes the character to the
left of the cursor.
Ctrl+K abort_the_connection_request: Aborts the connection request.
Ctrl+L display ip routing-table: Displays the IPv4 routing table information.
Ctrl+N display_the_next_command_in_the_history_buffer: Displays the next
command in the history buffer.
Ctrl+O undo debugging all: Displays all debugging functions.
Ctrl+P display_the_previous_command_in_the_history_buffer: Displays the
previous command in the history buffer.
Ctrl+R redisplay_the_current_line: Redisplays the current line.
Ctrl+T N/A
Ctrl+U N/A
Ctrl+V paste_text_from_the_clipboard: Pastes text from the clipboard.
Ctrl+W delete_the_word_to_the_left_of_the_cursor: Deletes the word to the left of the
cursor.
Ctrl+X delete_all_characters_from_the_beginning_of_the_line_to_the_cursor:
Deletes all characters to the left of the cursor.
Ctrl+Y delete_all_characters_from_the_cursor_to_the_end_of_the_line: Deletes all
characters from the cursor to the end of the line.
Ctrl+Z return_to_the_User_View: Returns to user view.
Ctrl+] kill_incoming_connection_or_redirect_connection: Terminates the current
connection.
Esc+B move_the_cursor_back_one_word: Moves the cursor back one word.
Esc+D delete_all_characters_from_the_cursor_to_the_end_of_the_word: Deletes
all characters from the cursor to the end of the word.
Esc+F move_the_cursor_forward_one_word: Moves the cursor forward one word.
Esc+N move_the_cursor_down_a_line: Moves the cursor down one line. You can use
this hotkey before pressing
Enter
.
Esc+P move_the_cursor_up_a_line: Moves the cursor up one line. You can use this
hotkey before pressing Enter.
Esc+< move_the_cursor_to_the_beginning_of_the_clipboard: Moves the cursor to
the beginning of the clipboard.
Esc+> move_the_cursor_to_the_end_of_the_clipboard: Moves the cursor to the end
of the clipboard.
Views
System view
Predefined user roles
network-admin
11
Parameters
hotkey: Specifies a hotkey. To display the supported hotkeys, enter hotkey ? or see Table 3.
command: Specifies the command to be assigned to the hotkey.
function function: Specifies the function to be assigned to the hotkey. To display the supported
functions, enter hotkey hotkey function ? or see Table 3.
none: Removes the command or function assignment for the hotkey. After you remove the
assignment for a hotkey, pressing the hotkey does not execute any command or function.
Usage guidelines
The system supports 29 hotkeys. Pressing a hotkey executes the command or function assigned to
the hotkey.
A hotkey can correspond to only one command or function. If you assign multiple commands or
functions to the same hotkey, the most recently assigned command or function takes effect.
A command or function can be assigned to multiple hotkeys. You can use any of those hotkeys to
execute the command or function.
If a hotkey is also defined by the terminal software you are using to interact with the device, the
terminal software definition takes effect.
Examples
# Assign the display tcp statistics command to hotkey Ctrl+T.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp statistics
# Assign move_the_cursor_to_the_beginning_of_the_line function to hotkey Ctrl+U.
<Sysname> system-view
[Sysname] hotkey ctrl_u function move_the_cursor_to_the_beginning_of_the_line
# Disable the configurable command or function assigned to hotkey Ctrl+A.
<Sysname> system-view
[Sysname] hotkey ctrl_a none
Related commands
display hotkey
quit
Use quit to return to the upper-level view.
Syntax
quit
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
Executing this command in user view disconnects you from the device.
Examples
# Return from Ten-GigabitEthernet 1/0/1 interface view to system view and then to user view.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334

Aruba Fundamentals User guide

Category
Software
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI