HPE HPE D6020 Manual

HPE FlexNetwork MSR Router Series
Comware 7 Fundamentals Command Reference
Part number: 5200-2363
Software version: MSR-CMW710-R0411
Document version: 6W101-20161114

© Copyright 2016 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 trademarks of the Microsoft group of companies.
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 ········································································································7
display history-command all ····································································································7
display hotkey·······················································································································8
hotkey·································································································································9
quit··································································································································· 10
repeat ······························································································································· 11
return································································································································ 12
screen-length disable··········································································································· 12
system-view ······················································································································· 13
RBAC commands···········································································14
description ························································································································· 14
display role························································································································· 14
display role feature ·············································································································· 22
display role feature-group ····································································································· 25
feature ······························································································································ 27
interface policy deny ············································································································ 28
permit interface··················································································································· 29
permit security-zone ············································································································ 30
permit vlan························································································································· 32
permit vpn-instance ············································································································· 33
role··································································································································· 34
role default-role enable········································································································· 35
role feature-group················································································································ 36
rule··································································································································· 37
security-zone policy deny······································································································ 41
super ································································································································ 42
super authentication-mode···································································································· 43
super default role ················································································································ 44
super password ·················································································································· 44
vlan policy deny ·················································································································· 45
vpn-instance policy deny······································································································· 46
Login management commands ·························································48
activation-key ····················································································································· 48
authentication-mode ············································································································ 50
auto-execute command········································································································ 51
command accounting··········································································································· 53
command authorization ········································································································ 53
databits ····························································································································· 54
display line························································································································· 55
display telnet client·············································································································· 58
display user-interface··········································································································· 58
display users······················································································································ 61
escape-key ························································································································ 62
flow-control ························································································································ 63
free line····························································································································· 64
free user-interface ··············································································································· 67
history-command max-size···································································································· 69
idle-timeout ························································································································ 70

ii
ip alias ······························································································································ 70
line··································································································································· 71
line class ··························································································································· 74
lock ·································································································································· 76
lock-key····························································································································· 77
lock reauthentication············································································································ 78
parity ································································································································ 79
protocol inbound ················································································································· 79
redirect disconnect ·············································································································· 81
redirect enable···················································································································· 82
redirect listen-port················································································································ 82
redirect passthrough············································································································ 83
redirect refuse-negotiation····································································································· 84
redirect timeout··················································································································· 84
screen-length ····················································································································· 85
send ································································································································· 86
set authentication password ·································································································· 88
shell·································································································································· 89
speed································································································································ 90
stopbit-error intolerance········································································································ 91
stopbits ····························································································································· 91
telnet ································································································································ 92
telnet client source··············································································································· 93
telnet ipv6·························································································································· 93
telnet server acl ·················································································································· 94
telnet server dscp················································································································ 95
telnet server enable ············································································································· 96
telnet server ipv6 acl············································································································ 96
telnet server ipv6 dscp ········································································································· 97
telnet server ipv6 port··········································································································· 98
telnet server port················································································································· 98
terminal type ······················································································································ 99
user-interface ····················································································································· 99
user-interface class············································································································ 102
user-role·························································································································· 105
FTP commands ··········································································· 107
FTP server commands·············································································································· 107
display ftp-server··············································································································· 107
display ftp-user ················································································································· 108
free ftp user······················································································································ 108
free ftp user-ip ·················································································································· 109
free ftp user-ip ipv6············································································································ 109
ftp server acl ···················································································································· 110
ftp server dscp·················································································································· 111
ftp server enable ··············································································································· 111
ftp server ipv6 dscp············································································································ 112
ftp server ssl-server-policy ·································································································· 112
ftp timeout························································································································ 113
FTP client commands ··············································································································· 113
append···························································································································· 114
ascii································································································································ 114
binary······························································································································ 115
bye································································································································· 115
cd··································································································································· 116
cdup ······························································································································· 117
close······························································································································· 117
debug ····························································································································· 118
delete······························································································································ 118
dir··································································································································· 119
disconnect ······················································································································· 120
display ftp client source ······································································································ 120

iii
ftp··································································································································· 121
ftp client ipv6 source·········································································································· 122
ftp client source················································································································· 123
ftp ipv6···························································································································· 123
get·································································································································· 124
help································································································································ 126
lcd·································································································································· 126
ls···································································································································· 127
mkdir ······························································································································ 128
newer······························································································································ 129
open······························································································································· 129
passive···························································································································· 130
put·································································································································· 131
pwd ································································································································ 132
quit································································································································· 132
reget······························································································································· 133
rename···························································································································· 133
reset······························································································································· 134
restart ····························································································································· 134
rhelp······························································································································· 135
rmdir······························································································································· 137
rstatus····························································································································· 137
status······························································································································ 139
system ···························································································································· 140
user································································································································ 140
verbose··························································································································· 141
? ···································································································································· 142
TFTP commands ········································································· 143
tftp·································································································································· 143
tftp client ipv6 source ········································································································· 144
tftp client source················································································································ 145
tftp ipv6 ··························································································································· 146
tftp-server acl ··················································································································· 147
tftp-server ipv6 acl············································································································· 148
File system management commands················································ 149
auto-copy destination-directory ···························································································· 150
auto-copy source-directory·································································································· 151
cd··································································································································· 152
copy ······························································································································· 153
delete······························································································································ 156
dir··································································································································· 158
file prompt························································································································ 161
fixdisk ····························································································································· 161
format ····························································································································· 162
gunzip····························································································································· 162
gzip ································································································································ 163
md5sum ·························································································································· 164
mkdir ······························································································································ 164
more······························································································································· 165
mount ····························································································································· 167
move ······························································································································ 168
pwd ································································································································ 168
rename···························································································································· 169
reset recycle-bin················································································································ 169
rmdir······························································································································· 170
rsync······························································································································· 170
rsync client source············································································································· 172
sha256sum ······················································································································ 173
tar create························································································································· 174
tar extract ························································································································ 175

iv
tar list······························································································································ 176
umount···························································································································· 176
undelete ·························································································································· 177
Configuration file management commands ········································ 179
archive configuration·········································································································· 179
archive configuration interval······························································································· 180
archive configuration location ······························································································ 180
archive configuration max ··································································································· 182
backup startup-configuration ······························································································· 183
configuration encrypt·········································································································· 184
configuration replace file····································································································· 185
display archive configuration ······························································································· 185
display current-configuration································································································ 186
display current-configuration diff··························································································· 188
display default-configuration································································································ 189
display diff························································································································ 189
display saved-configuration································································································· 191
display startup ·················································································································· 192
display this······················································································································· 194
reset saved-configuration···································································································· 195
restore startup-configuration································································································ 197
save ······························································································································· 199
startup saved-configuration ································································································· 203
Software upgrade commands ························································· 205
boot-loader file·················································································································· 205
boot-loader update ············································································································ 208
bootrom update················································································································· 211
display boot-loader ············································································································ 212
firmware update················································································································ 214
version auto-update enable································································································· 216
version check ignore·········································································································· 217
ISSU commands·········································································· 218
display install active··········································································································· 218
display install backup········································································································· 222
display install committed····································································································· 224
display install inactive········································································································· 226
display install ipe-info········································································································· 227
display install job··············································································································· 227
display install log··············································································································· 228
display install package ······································································································· 229
display install rollback ········································································································ 231
display install which··········································································································· 231
display version comp-matrix ································································································ 233
install abort ······················································································································ 238
install activate··················································································································· 239
install add ························································································································ 244
install commit ··················································································································· 245
install deactivate ··············································································································· 246
install remove ··················································································································· 247
install rollback to ··············································································································· 248
install verify······················································································································ 249
reset install log-history oldest······························································································· 252
reset install rollback oldest·································································································· 252
Emergency shell commands··························································· 254
copy ······························································································································· 254
delete······························································································································ 255
dir··································································································································· 255
display copyright ··············································································································· 257

v
display install package ······································································································· 257
display ip routing-table ······································································································· 258
display ipv6 routing-table ···································································································· 259
display version·················································································································· 260
format ····························································································································· 260
ftp··································································································································· 261
mkdir ······························································································································ 261
more······························································································································· 262
move ······························································································································ 262
ping································································································································ 263
ping ipv6·························································································································· 264
pwd ································································································································ 265
quit································································································································· 265
reboot ····························································································································· 265
reset ssh public-key··········································································································· 266
rmdir······························································································································· 267
shutdown························································································································· 267
ssh2 ······························································································································· 268
system-view ····················································································································· 269
telnet ······························································································································ 269
tftp·································································································································· 269
Automatic configuration commands·················································· 271
autodeploy sms enable······································································································· 271
autodeploy udisk enable····································································································· 271
Security zone commands······························································· 272
display security-zone ········································································································· 272
display zone-pair security···································································································· 272
import interface················································································································· 273
security-zone···················································································································· 274
security-zone intra-zone default permit·················································································· 274
zone-pair security·············································································································· 275
Device management commands······················································ 277
card-mode ······················································································································· 277
clock datetime ·················································································································· 279
clock protocol ··················································································································· 280
clock summer-time ············································································································ 281
clock timezone·················································································································· 282
command························································································································· 283
copyright-info enable·········································································································· 284
display alarm···················································································································· 284
display clock····················································································································· 286
display copyright ··············································································································· 287
display cpu-usage ············································································································· 287
display cpu-usage configuration··························································································· 290
display cpu-usage history···································································································· 291
display device··················································································································· 294
display device manuinfo ····································································································· 297
display device manuinfo fan ································································································ 300
display device manuinfo power ···························································································· 302
display diagnostic-information······························································································ 303
display environment··········································································································· 305
display fan ······················································································································· 307
display memory················································································································· 308
display memory-threshold··································································································· 309
display power ··················································································································· 311
display power-supply ········································································································· 311
display scheduler job ········································································································· 312
display scheduler logfile······································································································ 313
display scheduler reboot····································································································· 313

vi
display scheduler schedule ································································································· 314
display system stable state·································································································· 315
display transceiver alarm ···································································································· 317
display transceiver diagnosis······························································································· 318
display transceiver interface································································································ 319
display transceiver manuinfo ······························································································· 320
display version·················································································································· 321
display version-update-record······························································································ 321
header ···························································································································· 322
job·································································································································· 324
memory-threshold ············································································································· 324
memory-threshold usage ···································································································· 327
monitor cpu-usage enable··································································································· 328
monitor cpu-usage interval·································································································· 329
monitor cpu-usage threshold ······························································································· 330
password-recovery enable ·································································································· 331
power-supply off················································································································ 332
power-supply on················································································································ 333
power-supply policy enable ································································································· 334
power-supply policy redundant····························································································· 335
reboot ····························································································································· 336
remove···························································································································· 339
reset scheduler logfile ········································································································ 340
restore factory-default ········································································································ 341
scheduler job···················································································································· 341
scheduler logfile size·········································································································· 342
scheduler reboot at············································································································ 342
scheduler reboot delay······································································································· 343
scheduler schedule············································································································ 344
shutdown-interval·············································································································· 345
sysname·························································································································· 346
time at····························································································································· 346
time once························································································································· 347
time repeating··················································································································· 348
usb disable ······················································································································ 350
user-role·························································································································· 350
Tcl commands············································································· 352
cli··································································································································· 352
tclquit······························································································································ 352
tclsh································································································································ 353
Python commands········································································ 354
python····························································································································· 354
python filename ················································································································ 354
Document conventions and icons ···················································· 356
Conventions···························································································································· 356
Network topology icons ············································································································· 357
Support and other resources··························································· 358
Accessing Hewlett Packard Enterprise Support·············································································· 358
Accessing updates··················································································································· 358
Websites ························································································································· 359
Customer self repair ·········································································································· 359
Remote support ················································································································ 359
Documentation feedback ···································································································· 359
Index························································································· 361

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 GigabitEthernet0/0/1 command, you only need to enter shinc interface
GigabitEthernet0/0/1.
Examples
# Configure the alias shiprt for the display ip routing-table command and verify the configuration.
<Sysname> system-view
[Sysname] alias shiprt display ip routing-table
[Sysname] shiprt
Destinations : 14Routes : 14
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 GE0/0
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 GE0/0
169.254.0.0/32 Direct 0 0 169.254.0.188 GE0/0
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 GE0/0
192.168.57.0/24 RIP 100 1 192.168.1.62 GE0/0
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 the alias shinc for display ip $1 | include $2.
[Sysname] alias shinc display ip $1 | include $2
# Use the alias shinc to display all static routes.
[Sysname] shinc routing-table Static
3.3.3.3/32 Static 60 0 192.168.1.62 GE0/0
# Use the alias shinc to display all RIP routes.
[Sysname] shinc routing-table RIP
192.168.57.0/24 RIP 100 1 192.168.1.62 GE0/0
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

3
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 ?.
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.

4
Examples
# Display VLAN 999 settings, with each output line identified by a number.
<Sysname> display vlan 999 | by-linenum
1: VLAN ID: 999
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: None
10:
# 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

5
VLAN ID: 1
VLAN type: Static
Route interface: Not configured
Description: VLAN 0001
Name: VLAN 0001
Tagged ports: None
Untagged ports:
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
# 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:
GigabitEthernet1/0/2
VLAN ID: 999
VLAN type: Static
Route interface: Configured

6
IPv4 address: 192.168.2.1
IPv4 subnet mask: 255.255.255.0
Description: For LAN Access
Name: VLAN 0999
Tagged ports: None
Untagged ports:
GigabitEthernet1/0/1
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

7
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
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.

8
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 **
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.
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 command hotkeys-
CTRL_G display current-configuration
CTRL_L display ip routing-table
CTRL_O undo debugging all
-Undefined command hotkeys-

9
CTRL_T NULL
CTRL_U NULL
-System-reserved 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.
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.
Related commands
hotkey
hotkey
Use hotkey to assign a command to a configurable hotkey.
Use undo hotkey to restore the default.
Syntax
hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command
undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U }
Default
•
Ctrl_G: display current-configuration (display the running configuration).
•
Ctrl_L: display ip routing-table (display the IPv4 routing table information).
•
Ctrl_O: undo debugging all (disable all debugging functions).
•
Ctrl_T: No command is assigned to this hotkey.
•
Ctrl_U: No command is assigned to this hotkey.

10
Views
System view
Predefined user roles
network-admin
Parameters
CTRL_G: Assigns a command to Ctrl+G.
CTRL_L: Assigns a command to Ctrl+L.
CTRL_O: Assigns a command to Ctrl+O.
CTRL_T: Assigns a command to Ctrl+T.
CTRL_U: Assigns a command to Ctrl+U.
command: Specifies the command to be assigned to the hotkey.
Usage guidelines
The system defines some hotkeys and provides five configurable command hotkeys. Pressing a
hotkey executes the command assigned to the hotkey.
To display system-defined and configurable hotkeys, use the display hotkey command.
Examples
# Assign the display tcp statistics command to hotkey Ctrl+T.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp statistics
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 GigabitEthernet 1/0/1 interface view to system view and then to user view.
[Sysname-GigabitEthernet1/0/1] quit
[Sysname] quit
<Sysname>

11
repeat
Use repeat to repeat commands in the command history buffer for the current CLI session.
Syntax
repeat [number ] [ count times ][delay seconds ]
Views
Any view
Predefined user roles
network-admin
Parameters
number: Specifies the number of the most recently executed commands in the command history
buffer for the current CLI session that you want to execute. The value range is 1 to 10. The default is
1.
count times: Specifies the number of times that you want to execute the commands. The value
range is 0 to 4294967295. The default is 0. If you do not specify this option, the system keeps
executing the commands until you press the escape key to terminate the execution.
delay seconds: Specifies the time (in seconds) for the system to wait before executing the
commands again. The value range is 0 to 4294967295. The default is 1.
Usage guidelines
To repeat a command, first enter the view for the command. To repeat multiple commands, first enter
the view for the first command.
The repeat command executes commands in the order they were executed.
The system waits for your interaction when it repeats an interactive command.
Examples
# Configure the system to execute the two most recently executed commands (display cpu and
display clock) three times at an interval of 10 seconds.
<Sysname> repeat 2 count 3 delay 10
<Sysname> display cpu
Unit CPU usage:
33% in last 5 seconds
32% in last 1 minute
33% in last 5 minutes
<Sysname> display clock
12:20:08 UTC Thu 06/19/2014
<Sysname> display cpu
Unit CPU usage:
33% in last 5 seconds
32% in last 1 minute
33% in last 5 minutes
<Sysname> display clock
12:20:18 UTC Thu 06/19/2014
<Sysname> display cpu
Unit CPU usage:

12
33% in last 5 seconds
32% in last 1 minute
33% in last 5 minutes
<Sysname> display clock
12:20:28 UTC Thu 06/19/2014
Related commands
display history-command
escape-key
history-command max-size
return
Use return to return to user view from any other view.
Syntax
return
Views
Any view except user view
Predefined user roles
network-admin
network-operator
Usage guidelines
Pressing Ctrl+Z has the same effect as the return command.
Examples
# Return to user view from GigabitEthernet 1/0/1 interface view.
[Sysname-GigabitEthernet1/0/1] return
<Sysname>
screen-length disable
Use screen-length disable to disable pausing between screens of output for the current CLI
session.
Use undo screen-length disable to enable pausing between screens of output for the current CLI
session.
Syntax
screen-length disable
undo screen-length disable
Default
The default depends on the configuration of the screen-length command in user line view.
The following are the default settings for the screen-length command:
•
Pausing between screens of output.
•
Displaying up to 24 lines on a screen.
Other manuals for HPE D6020
2
Table of contents
Other HPE Enclosure manuals