You are on page 1of 211

HP 5820X & 5800 Switch Series

Fundamentals
Command Reference

Abstract
This document describes the commands and command syntax options available for the HP 5820X &
5800 Series products.
This document is intended for network planners, field technical support and servicing engineers, and
network administrators who work with HP 5820X & 5800 Series products.

Part number: 5998-1619
Software version: Release 1211
Document version: 6W102-20130520

Legal and notice information
© Copyright 2013 Hewlett-Packard Development Company, L.P.
No part of this documentation may be reproduced or transmitted in any form or by any means without
prior written consent of Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice.
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained
herein or for incidental or consequential damages in connection with the furnishing, performance, or use
of this material.
The only warranties for HP 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. HP shall not be liable for technical or editorial errors or omissions contained herein.

Contents
CLI configuration commands ······································································································································· 1
command-alias enable ············································································································································· 1
command-alias mapping ········································································································································· 1
command-privilege ··················································································································································· 2
display clipboard ····················································································································································· 3
display command-alias ············································································································································ 4
display history-command ········································································································································· 4
display hotkey ··························································································································································· 5
hotkey ········································································································································································ 7
quit ············································································································································································· 9
return·········································································································································································· 9
screen-length disable············································································································································· 10
super ······································································································································································· 10
super authentication-mode ··································································································································· 11
super password ····················································································································································· 12
system-view ···························································································································································· 13

Logging in to the switch commands·························································································································· 15
acl (user interface view) ········································································································································ 15
activation-key ························································································································································· 16
auto-execute command ········································································································································· 17
authentication-mode ·············································································································································· 19
command accounting ··········································································································································· 20
command authorization ········································································································································ 21
databits ··································································································································································· 21
display ip http ························································································································································ 22
display ip https ······················································································································································ 23
display telnet client configuration ························································································································ 24
display user-interface ············································································································································ 25
display users ·························································································································································· 27
display web users ·················································································································································· 28
escape-key ····························································································································································· 29
flow-control ····························································································································································· 31
free user-interface ·················································································································································· 31
free web-users ························································································································································ 32
history-command max-size ··································································································································· 33
idle-timeout ····························································································································································· 34
ip http acl ······························································································································································· 34
ip http enable ························································································································································· 35
ip http port······························································································································································ 35
ip https acl ······························································································································································ 36
ip https certificate access-control-policy ·············································································································· 37
ip https enable ······················································································································································· 38
ip https port ···························································································································································· 38
ip https ssl-server-policy········································································································································· 39
lock ········································································································································································· 40
parity ······································································································································································ 40
protocol inbound ··················································································································································· 41
screen-length ·························································································································································· 42
send ········································································································································································ 43
set authentication password ································································································································· 44
iii

shell ········································································································································································· 45
speed (user interface view) ·································································································································· 45
stopbits ··································································································································································· 46
telnet ······································································································································································· 47
telnet client source ················································································································································· 48
telnet ipv6······························································································································································· 49
telnet server enable ··············································································································································· 49
terminal type ·························································································································································· 50
user privilege level ················································································································································ 51
user-interface ·························································································································································· 52

FTP configuration commands ···································································································································· 53
FTP server configuration commands····························································································································· 53
display ftp-server ··················································································································································· 53
display ftp-user ······················································································································································· 54
free ftp user ···························································································································································· 55
ftp server acl ·························································································································································· 56
ftp server enable ···················································································································································· 56
ftp timeout······························································································································································· 57
ftp update ······························································································································································· 57
FTP client configuration commands ······························································································································ 59
ascii········································································································································································· 59
binary ····································································································································································· 59
bye ·········································································································································································· 60
cd ············································································································································································ 61
cdup ········································································································································································ 61
close ········································································································································································ 62
debugging ······························································································································································ 63
delete ······································································································································································ 64
dir ············································································································································································ 65
disconnect ······························································································································································ 66
display ftp client configuration····························································································································· 66
ftp ············································································································································································ 67
ftp client source······················································································································································ 68
ftp ipv6 ··································································································································································· 69
get ··········································································································································································· 70
lcd ··········································································································································································· 71
ls ·············································································································································································· 72
mkdir ······································································································································································· 73
open ········································································································································································ 73
open ipv6 ······························································································································································· 74
passive ···································································································································································· 75
put ··········································································································································································· 76
pwd ········································································································································································· 77
quit ·········································································································································································· 77
remotehelp ····························································································································································· 78
rmdir ······································································································································································· 80
user ········································································································································································· 80
verbose ··································································································································································· 81
TFTP client configuration commands ···························································································································· 83
display tftp client configuration···························································································································· 83
tftp-server acl ·························································································································································· 83
tftp ··········································································································································································· 84
tftp client source····················································································································································· 86
tftp ipv6 ·································································································································································· 87

iv

File management commands····································································································································· 88 cd ············································································································································································ 88 copy ········································································································································································ 89 delete ······································································································································································ 89 dir ············································································································································································ 90 display nandflash file-location ····························································································································· 92 display nandflash badblock-location ·················································································································· 93 display nandflash page-data ······························································································································· 94 execute ··································································································································································· 95 file prompt ······························································································································································ 96 fixdisk ····································································································································································· 96 format ····································································································································································· 97 mkdir ······································································································································································· 97 more ········································································································································································ 98 move ······································································································································································· 99 pwd ······································································································································································· 100 rename ································································································································································· 100 reset recycle-bin ··················································································································································· 101 rmdir ····································································································································································· 103 undelete ································································································································································ 103 Configuration file management commands ·········································································································· 105 archive configuration ·········································································································································· 105 archive configuration interval ···························································································································· 105 archive configuration location ··························································································································· 106 archive configuration max·································································································································· 107 backup startup-configuration ······························································································································ 108 configuration replace file ··································································································································· 109 display archive configuration ···························································································································· 110 display current-configuration ······························································································································ 111 display default-configuration ······························································································································ 112 display saved-configuration ······························································································································· 114 display startup ····················································································································································· 117 display this ··························································································································································· 118 reset saved-configuration ···································································································································· 120 restore startup-configuration ······························································································································· 121 save······································································································································································· 122 slave auto-update config ···································································································································· 124 startup saved-configuration ································································································································ 125 Software upgrade commands ································································································································ 127 boot-loader ··························································································································································· 127 boot-loader update file ······································································································································· 128 bootrom ································································································································································ 129 bootrom-update security-check enable ·············································································································· 130 display boot-loader ············································································································································· 131 display patch information ··································································································································· 132 patch active·························································································································································· 133 patch deactive ····················································································································································· 134 patch delete ························································································································································· 134 patch install ·························································································································································· 135 patch load ···························································································································································· 136 patch location ······················································································································································ 136 patch run ······························································································································································ 137 ISSU commands ······················································································································································ 138 display issu rollback-timer ·································································································································· 138 v .

display issu state·················································································································································· 139 display version comp-matrix······························································································································· 141 issu accept···························································································································································· 142 issu commit ··························································································································································· 143 issu load ······························································································································································· 143 issu rollback ························································································································································· 144 issu rollback-timer ················································································································································ 145 issu run switchover ·············································································································································· 146 Device management commands ···························································································································· 148 clock datetime ······················································································································································ 148 clock summer-time one-off··································································································································· 148 clock summer-time repeating ······························································································································ 149 clock timezone ····················································································································································· 151 copyright-info enable ·········································································································································· 151 display clock ························································································································································ 153 display cpu-usage················································································································································ 154 display cpu-usage history ··································································································································· 156 display device ······················································································································································ 159 display device manuinfo····································································································································· 161 display diagnostic-information ··························································································································· 164 display environment ············································································································································ 165 display fan ··························································································································································· 166 display job ··························································································································································· 168 display memory ··················································································································································· 169 display power ······················································································································································ 170 display reboot-type ·············································································································································· 171 display rps···························································································································································· 172 display schedule job ··········································································································································· 173 display schedule reboot ······································································································································ 174 display system-failure ·········································································································································· 175 display transceiver ·············································································································································· 175 display transceiver alarm ··································································································································· 177 display transceiver diagnosis ····························································································································· 179 display transceiver manuinfo ····························································································································· 180 display version····················································································································································· 181 display version-update-record ···························································································································· 182 fan prefer-direction ·············································································································································· 183 header ·································································································································································· 184 job ········································································································································································· 186 reboot ··································································································································································· 186 reset unused porttag············································································································································ 187 reset version-update-record ································································································································ 188 schedule job ························································································································································· 188 schedule reboot at ··············································································································································· 190 schedule reboot delay ········································································································································ 191 shutdown-interval ················································································································································· 192 sysname ································································································································································ 193 system-failure ························································································································································ 194 temperature-limit ·················································································································································· 194 time at ··································································································································································· 196 time delay····························································································································································· 197 view ······································································································································································ 198 Support and other resources ·································································································································· 199 Contacting HP ······························································································································································ 199 Subscription service ············································································································································ 199 vi .

Related information ······················································································································································ 199 Documents ···························································································································································· 199 Websites ······························································································································································ 199 Conventions ·································································································································································· 200 Index ········································································································································································ 202 vii .

Syntax command-alias enable undo command-alias enable View System view Default level 2: System level Parameters None Examples 1. <Sysname> system-view [Sysname] command-alias enable 2. Use undo command-alias enable to disable the command alias function (disabled is the default condition). Syntax command-alias mapping cmdkey alias undo command-alias mapping cmdkey View System view 1 . By default. Use undo command-alias mapping to restore the original configuration.CLI configuration commands command-alias enable Description Use command-alias enable to enable the command alias function. <Sysname> system-view [Sysname] undo command-alias enable command-alias mapping Description Use command-alias mapping to configure command aliases. Enable the command alias function. a command has no alias. Disable the command alias function.

ftp server enable. Assign a privilege level according to the user’s need. now its alias is show clock and you can input the alias to view the system time and date. which cannot be the same as the first keyword of an existing command. They cannot execute the command with the get. HP recommends that you use the default command level or that you modify the command level under the guidance of professional staff. • The command specified in undo command-privilege view can be incomplete. and manage (3). monitor (1). if the original command is display clock.1.txt). <Sysname> system-view [Sysname] undo command-alias mapping display command-privilege Description Use command-privilege to change the command privilege level in the specified view. the default level of the tftp server-address { get | put | sget } source-filename [ destinationfilename ] [ source { interface interface-type interface-number | ip source-ip-address } ] command is 3.26 put syslog. users with privilege level 0 log in to the switch. and ftp timeout) are restored to their default levels. system (2). 2. and security problems.1. the user can access the assigned level and all levels below it. alias: Specifies the command alias. If you want to make the interface command available to the level 1 users. execute the following three commands: command-privilege level 1 view shell system-view. When logging in to the switch.cfg is executed. sget or source keyword. By default.168.Default level 2: System level Parameters cmdkey: The complete form of the first keyword of a command. and can execute the tftp server-address put source-filename command (such as tftp 192. Changes can cause maintenance. Command levels include four privileges: visit (0). Delete the command aliases by canceling the replacement of the display keyword. Configure command aliases by specifying show as the replacement of the display keyword. modify the command levels of the quit command and the corresponding command that is used to enter this view. each command in a view has a specified privilege level.1 put a.1. • If you modify the command level of in a specified view from the default level to a lower level. If you have modified the level of ftp server enable and ftp timeout and you want to restore only ftp server enable to its default level. For example. command-privilege level 1 view system interface GigabitEthernet 1/0/1. For example. For example. The 2 . after undo command-privilege view system ftp is executed. the display commands have aliases. and cannot specify the destination-filename argument. and command-privilege level 1 view system quit. • The command specified in command-privilege must be complete and have valid arguments. use undo command-privilege view system ftp server. Examples 1. After command-privilege level 0 view shell tftp 1. all commands starting with the keyword ftp (such as ftp server acl. For example. the default command level of interface and system-view is 2 (system level). operation. <Sysname> system-view [Sysname] command-alias mapping display show After you configure the command aliases.

view view: Specifies a view. Syntax display clipboard [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. After the configuration. (By default. and return to user view. To copy content to the clipboard: • Move the cursor to the starting position of the content and press Esc+Shift+. The view argument must be the view where the command resides. execute the interface GigabitEthernet command.” 3 . command: Command to be set in the specified view. • Use undo command-privilege view to disable the change.. only level 3 users can use this command.) <Sysname> system-view [Sysname] command-privilege level 3 view shell system-view display clipboard Description Use display clipboard to view the contents of the clipboard. For more information about regular expressions.. level 2 and level 3 users can use the system-view command. The value represents a user view. which ranges from 0 to 3. Example # Set the command level of the system-view command to 3 in system view. • Move the cursor to the ending position of the content and press Esc+Shift+. see “CLI configuration.level 1 users can enter system view. Syntax command-privilege level level view view command undo command-privilege view view command View System view Default level 3: Manage level Parameters level level: Command level.

begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Example
# View the content of the clipboard.
<Sysname> display clipboard
---------------- CLIPBOARD----------------display current-configuration

display command-alias
Description
Use display command-alias to display defined command aliases and their corresponding commands.

Syntax
display command-alias [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
1: Monitor level

Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see “CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Example
# Display the defined command aliases and the corresponding commands.
<Sysname> display command-alias
Command alias is enabled
index

alias

command key

1

show

display

display history-command
Description
Use display history-command to display commands saved in the history command buffer.

4

By default, the system saves the last 10 executed commands. To set the buffer size, use the historycommand max-size command. For more information, see “Logging in to the switch commands.”

Syntax
display history-command [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
1: Monitor level

Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see “CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Example
# Display history commands in current user view.
<Sysname> display history-command
display history-command
system-view
vlan 2
quit

display hotkey
Description
Use display hotkey to display hotkey information.

Syntax
display hotkey [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
1: Monitor level

Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see "CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
5

include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Example
# Display hotkey information.
<Sysname> display hotkey
----------------- HOTKEY -----------------

=Defined hotkeys=
Hotkeys Command
CTRL_G

display current-configuration

CTRL_L

display ip routing-table

CTRL_O

undo debug all

=Undefined hotkeys=
Hotkeys Command
CTRL_T

NULL

CTRL_U

NULL
=System hotkeys=

Hotkeys Function
CTRL_A

Move the cursor to the beginning of the current line.

CTRL_B

Move the cursor one character left.

CTRL_C

Stop current command function.

CTRL_D

Erase current character.

CTRL_E

Move the cursor to the end of the current line.

CTRL_F

Move the cursor one character right.

CTRL_H

Erase the character left of the cursor.

CTRL_K

Kill outgoing connection.

CTRL_N

Display the next command from the history buffer.

CTRL_P

Display the previous command from the history buffer.

CTRL_R

Redisplay the current line.

CTRL_V

Paste text from the clipboard.

CTRL_W

Delete the word left of the cursor.

CTRL_X

Delete all characters up to the cursor.

CTRL_Y

Delete all characters after the cursor.

CTRL_Z

Return to the User View.

CTRL_]

Kill incoming connection or redirect connection.

ESC_B

Move the cursor one word back.

ESC_D

Delete remainder of 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_<

Specify the beginning of clipboard.

ESC_>

Specify the end of clipboard.

6

hotkey
Description
Use hotkey to associate a hot key to a command.
Use undo hotkey to remove the association. By default, Ctrl+G, Ctrl+L, and Ctrl+O are associated with
these commands:

Ctrl+G corresponds to display current-configuration.

Ctrl+L corresponds to display ip routing-table.

Ctrl+O corresponds to undo debugging all.

You can modify the associations as needed.

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 }

View
System view

Default level
2: System level

Parameters
CTRL_G: Associates hot key Ctrl+G to a command.
CTRL_L: Associates hot key Ctrl+L to a command.
CTRL_O: Associates hot key Ctrl+O to a command.
CTRL_T: Associates hot key Ctrl+T to a command.
CTRL_U: Associates hot key Ctrl+U to a command.
command: The command line associated with the hot key.

Examples
1.

Associate the hot key Ctrl+T to the display tcp status command.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp status

7

CTRL_V Paste text from the clipboard. ESC_F Move the cursor forward one word. CTRL_W Delete the word left of the cursor. ESC_> Specify the end of clipboard. Display hotkeys. CTRL_F Move the cursor one character right. CTRL_Z Return to the user view. CTRL_H Erase the character left of the cursor.HOTKEY ----------------=Defined hotkeys= Hotkeys Command CTRL_G display current-configuration CTRL_L display ip routing-table CTRL_O undo debug all CTRL_T display tcp status =Undefined hotkeys= Hotkeys Command CTRL_U NULL =System hotkeys= Hotkeys Function CTRL_A Move the cursor to the beginning of the current line. ESC_P Move the cursor up a line. CTRL_E Move the cursor to the end of the current line. CTRL_] Kill incoming connection or redirect connection. CTRL_N Display the next command from the history buffer. CTRL_X Delete all characters up to the cursor. CTRL_D Erase current character. ESC_< Specify the beginning of clipboard. CTRL_P Display the previous command from the history buffer.2. CTRL_B Move the cursor one character left. CTRL_C Stop current command function. ESC_D Delete remainder of word. CTRL_R Redisplay the current line. ESC_B Move the cursor one word back. 8 . ESC_N Move the cursor down a line. CTRL_K Kill outgoing connection. [Sysname] display hotkey ----------------. CTRL_Y Delete all characters after the cursor.

which can also be done with the hot key Ctrl+Z. quit terminates the connection and reconnects to the switch.quit Description Use quit to return to a lower-level view. and then to user view. [Sysname-GigabitEthernet1/0/1] quit [Sysname] quit <Sysname> return Description Use return to go back into user view. Syntax quit View Any view Default level 0: Visit level (in user view) 2: System level (in other views) Parameters None Example # Switch from GigabitEthernet 1/0/1 interface view to system view. In user view. Related commands: quit. Syntax return View Any view except user view Default level 2: System level Parameters None 9 .

[Sysname-GigabitEthernet1/0/1] return <Sysname> screen-length disable Description Use screen-length disable to disable the multiple-screen output function. The default settings of the screen-length command are: multiple-screen output enabled and 24 lines displayed on the next screen. system (2).Example # Return to user view from GigabitEthernet 1/0/1 view. the user can access the assigned level and all levels below it. If no level is specified.” When the user logs out. <Sysname> screen-length disable super Description Use super to switch user privilege levels. For more information about screen-length. When logging in to the switch. the settings restore to their default values. 10 . monitor (1). the command switches the user privilege level to 3. Syntax screen-length disable undo screen-length disable View User view Default level 1: Monitor level Parameters None Example # Disable multiple-screen output for the current user. Command levels include four privileges: visit (0). see “Logging in to the switch commands. Assign privilege level according to the user’s need. Use undo screen-length disable to enable the multiple-screen output function. and manage (3).

Syntax super [ level ] View User view Default level 0: Visit level Parameter level: User level. Related commands: super password. 3-MANAGE super authentication-mode Description Use super authentication-mode to set the authentication mode for user privilege level switch. 2-SYSTEM. Use undo super authentication-mode to restore the default condition (authentication mode). 1-MONITOR. 1-MONITOR. Privilege note: 0-VISIT. and only those commands can be used whose level is equal or less than this. If the password is incorrect or no password is configured. • A VTY user must input the switching password set by the super password command to switch to a higher privilege level. To switch to a higher privilege level: • An AUX user can switch to a higher privilege level without entering any password. the switching operation fails. and only those commands can be used whose level is equal or less than this.A user can switch to a lower privilege level unconditionally. 2-SYSTEM. the user privilege level cannot be switched to 3. <Sysname> super 2 User privilege level is 2. Privilege note: 0-VISIT. Related commands: super password. Syntax super authentication-mode { local | scheme } * undo super authentication-mode View System view 11 . Switch to user privilege level 2 from privilege level 3. If no password is set. Examples 1. Switch the user privilege level back to 3 (the switching password 123 has been set). which ranges from 0 to 3 and defaults to 3. <Sysname> super 3 Password: User privilege level is 3. 3-MANAGE 2.

which authenticates a user by performing the AAA authentication first.Default level 2: System level Parameters local: Authenticates a user by using the local password set by the super password command. see the Security Configuration Guide. scheme: AAA authentication. <Sysname> system-view [Sysname] super authentication-mode scheme local super password Description Use super password to set the password used to switch user privilege to a higher level. If the AAA configuration is invalid (the domain parameters or authentication scheme are not configured) or the server does not respond. For more information about AAA. Use undo super password to restore the default condition (no password is set). <Sysname> system-view [Sysname] super authentication-mode local 2. Examples 1. • simple: Plain-text password. A cipher-text password is recommended. the switch operation fails. which authenticates a user by using the local password first. a string of 1 to 16 characters. two results can occur: the privilege level switch succeeds if the user is logged in through the AUX user interface. 12 . the switch operation fails if the user logs in through a VTY user interface. • Use the cipher parameter to set a cipher-text password. scheme local: First scheme and then local. When no password is set. you must input a cipher-text password regardless of the password type you set. local scheme: First local and then scheme. Syntax super password [ level user-level ] { simple | cipher } password undo super password [ level user-level ] View System view Default level 2: System level Parameters level user-level: User privilege level. Set the authentication mode for the user privilege level switch to local. which ranges from 1 to 3 and defaults to 3. other users need to pass AAA authentication before they can switch the privilege level. • During authentication. • Use the simple parameter to set a simple-text password. the user logged in through the AUX user interface can switch the privilege level. If the user enters the incorrect password. Set the authentication mode for the user privilege level switch to scheme local. the local password authentication is performed. If no password is set.

[Sysname] display current-configuration # super password level 3 simple abc Set cipher-text password abc for switching to user privilege level 3. Syntax system-view View User view Default level 2: System level Parameters None 13 .• cipher: Cipher-text password. <Sysname> system-view [Sysname] super password level 3 simple abc 2.YGQ=^Q`MAF4<1!! system-view Description Use system-view to enter system view from the user view. A cipher password is a string of 1 to 16 characters in plain text or 24 characters in cipher text. return. a case-sensitive string of characters. For example. the simple text “1234567” corresponds to the cipher text “(TT8F]Y\5SQ=^Q`MAF4<1!!”. Set simple-text password abc for switching to user privilege level 3. Related commands: quit. <Sysname> system-view [Sysname] super password level 3 cipher abc 3. Display the configured password for level switching. Display the configured password for level switching. Examples 1. password: Password. [Sysname] display current-configuration | include super # super password level 3 cipher .)<01%^&.

[Sysname] 14 .Example # Enter system view from the user view. <Sysname> system-view System View: return to User View with Ctrl+Z.

the connection is permitted only when packets establishing a Telnet or SSH connection match a permit statement in the ACL. • The system regards the basic/advanced ACL with the inbound keyword. • The match order is basic/advanced ACL.Logging in to the switch commands acl (user interface view) Description Use acl to reference ACLs to control access to the VTY user interface. • If an ACL is referenced in VTY user interface view. see the ACL and QoS Configuration Guide. otherwise. the command supports IPv6. which can coexist in one VTY user interface. At most one ACL of each type can be referenced in the same VTY user interface. Use undo acl to cancel the ACL application. By default. access to the VTY user interface is not restricted. Ethernet frame header ACL as four different types of ACLs. Syntax • To use a basic or advanced ACL: acl [ ipv6 ] acl-number { inbound | outbound } undo acl [ ipv6 ] acl-number { inbound | outbound } • To use an Ethernet frame header ACL: acl acl-number inbound undo acl acl-number inbound View VTY user interface view Default level 2: System level Parameters ipv6: When this keyword is present. the basic/advanced ACL with the outbound keyword. it supports IPv4. 15 . acl-number: Number of the ACL. • If no ACL is referenced in VTY user interface view. The value range varies with devices: • Basic ACL: 2000 to 2999 • Advanced ACL: 3000 to 3999 • Ethernet frame header ACL: 4000 to 4999 inbound: Restricts Telnet or SSH connections established in the inbound direction through the VTY user interface. If the received packets for establishing a Telnet or SSH connection are permitted by an ACL rule. and the last configured one takes effect. Ethernet frame header ACL. the VTY user interface has no access control over establishing a Telnet or SSH connection. For more information about ACL.

Use undo activation-key to restore the default. If a connection failure occurs. • If a new shortcut key is defined with the activation-key command. <Sysname> system-view [Sysname] acl number 2001 [Sysname-acl-basic-2001] rule permit source 192.168.60) cannot. When the device functions as a Telnet client.1.168. Syntax activation-key character undo activation-key View User interface view Default level 3: Manage level 16 .the connection is allowed to be established. the "%connection closed by remote host!" message will appear. use the display current-configuration| include activation-key command.1. the Enter key no longer functions. Example # Allow only the user with the IP address of 192.1. user A (with IP address 192.26 0 [Sysname-acl-basic-2001] quit [Sysname] user-interface vty 0 [Sysname-ui-vty0] acl 2001 inbound With this configuration. activation-key Description Use activation-key to define a shortcut key for starting a terminal session. • The activation-key command is not supported by the VTY user interface. • To display the shortcut key you have defined. pressing the Enter key starts a terminal session. this keyword is used to control access of Telnet clients or SSH clients. If the packets sent for establishing a Telnet connection are permitted by an ACL rule. By default.26 to access the device through Telnet or SSH.168. When the device functions as a Telnet server or SSH server. this keyword is used to define Telnet servers accessible to the client.168. outbound: Restricts Telnet connections established in the outbound direction through the VTY user interface.26) can Telnet to the device but user B (with IP address 192. the connection is allowed to be established.1.

* * Without the owner's prior written consent. make sure that you can access the device through VTY and AUX interfaces to remove the configuration when a problem occurs. To start the terminal session. For example. pressing Enter does not start a session. 17 . Only the first character functions as the shortcut key. 4. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] activation-key s To verify the configuration. the system uses the first character b as the shortcut key.Parameters character: Shortcut key for starting a terminal session. Configure character s as the shortcut key for starting a terminal session on the console port. and tears down the user connection after the command is executed. a single character (or its ASCII code value that ranges from 0 to 127) or a string of one to three characters. Examples 1.P. If you input string b@c. L. the system uses its character a as the shortcut key. Before configuring the command and saving the configuration (by using the save command). Exit the terminal session on the console port. * ****************************************************************************** User interface aux0 is available. The following message appears: ****************************************************************************** * Copyright (c) 2010-2011 Hewlett-Packard Development Company. if you input an ASCII code value of 97. At this moment. enter s. auto-execute command Description CAUTION: Applying auto-execute command to the user interface may disable you from configuring the system. <Sysname> %Mar 2 18:40:27:981 2005 Sysname SHELL/5/LOGIN: Console logged in from aux0. Please press ENTER. * * no decompiling or reverse-engineering shall be allowed. Use auto-execute command to specify a command automatically executed when a user logs in to the current user interface. [Sysname-ui-aux0] return <Sysname> quit 3. • The system automatically executes the command when a user logs in to the user interface. auto-execute command is not supported by the console port. perform the following operations: 2. Log in to the console port again.

L.41 % This action will lead to configuration failure through ui-vty0.168.40 **************************************************************************** * Copyright(c)2010-2011 Hewlett-Packard Development Company.168.P. the system does not tear down the user connection until the task is completed.1.41 after a user logs in to interface VTY 0.1. Examples 1. Syntax auto-execute command command undo auto-execute command View User interface view Default level 3: Manage level Parameter command: Specifies a command to be automatically executed.168.1. perform the following operations: Telnet to 192.1. * * Without the owner's prior written consent. * **************************************************************************** 18 . * * no decompiling or reverse-engineering shall be allowed. <Sysname> system-view <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] auto-execute command telnet 192.40. The following output is displayed: C:\> telnet 192.41.1. command auto-execution is disabled. Configure the device to automatically Telnet to 192. By default. Use undo auto-execute command to remove the configuration. Are you sure? [Y/N]:y [Sysname-ui-vty0] 2.168. To verify the configuration. The device automatically Telnets to 192.• If the command triggers another task.168.

* * no decompiling or reverse-engineering shall be allowed.1. **************************************************************************** * Copyright (c) 2010-2011 Hewlett-Packard Development Company.P.40 breaks down at the same time.41 breaks down.168.168... 19 .1.41 .41. authentication-mode Description Use authentication-mode to set the authentication mode for the user interface. For more information about AAA.41 .168.. see the Security Configuration Guide. Use undo authentication-mode to restore: • VTY user interfaces authentication mode default (password) • AUX user interface authentication mode default (none) Related commands: set authentication password.<Sysname> Trying 192.1. L. If the Telnet connection to 192. Syntax authentication-mode { none | password | scheme } undo authentication-mode View User interface view Default level 3: Manage level Parameters none: Performs no authentication.168. password: Performs local password authentication. * **************************************************************************** <Sysname. the Telnet connection to 192..1.41> This operation is the same as directly logging in to the device at 192. Press CTRL+K to abort Connected to 192.1.168. * * Without the owner's prior written consent. scheme: Performs AAA authentication.

Use undo command accounting to restore the default (command accounting disabled). The accounting server does not record the commands that users have executed. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] authentication-mode none 2. Set the username to 123 and the password to 321. Specify that no authentication is needed when users log in to the device through VTY 0. Use password authentication when users log in to the device through VTY 0. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] authentication-mode password [Sysname-ui-vty0] set authentication password cipher 321 3. every executed command is recorded on the HWTACACS server. Syntax command accounting undo command accounting View User interface view Default level 3: Manage level Parameters None 20 . Authenticate users by username and password when users log in to the device through VTY 0. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] authentication-mode scheme [Sysname-ui-vty0] quit [Sysname] local-user 123 [Sysname-luser-123] password cipher 321 [Sysname-luser-123] service-type telnet [Sysname-luser-123] authorization-attribute level 3 command accounting Description Use command accounting to enable command accounting.Examples 1. only the authorized and executed commands are recorded on the HWTACACS server. This mode is insecure. • When both command accounting and command authorization are enabled. • When command accounting is enabled and command authorization is not. and set the authentication password to 321.

The data bits setting must be the same for the user interface of the connecting port on the device and the terminal device for communication.Example # Enable command accounting on VTY 0. Logged-in users can execute commands without authorization. Use undo command authorization to restore the default (command authorization disabled). Use databits to set data bits for each character. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] command authorization databits Description This command only applies to the console port. Syntax databits { 5 | 6 | 7 | 8 } undo databits 21 . users can only perform commands authorized by the server. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] command accounting command authorization Description Use command authorization to enable command authorization. Syntax command authorization undo command authorization View User interface view Default level 3: Manage level Parameters None Example # Enable command accounting for VTY 0 so that users logging in from VTY 0 can perform only the commands authorized by the HWTACACS server. Use undo databits to restore the default (8 data bits per character). When enabled. The HWTACACS server records the commands executed by users that have logged in through VTY 0.

regular-expression: Specifies a regular expression.View User interface view Default level 2: System level Parameters 5: Sets 5 data bits for each character. 6: Sets 6 data bits for each character.” begin: Displays the first line that matches the regular expression and all lines that follow. 8: Sets 8 data bits for each character. 7: Sets 7 data bits for each character. <Sysname> display ip http HTTP port: 80 Basic ACL: 2222 Current connection: 0 22 . Example # Specify 5 data bits for each character. exclude: Displays all lines that do not match the regular expression. see “CLI configuration. a case-sensitive string of 1 to 256 characters. include: Displays all lines that match the regular expression. Syntax display ip http [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] databits 5 display ip http Description Use display ip http to display HTTP information. Example # Display information about HTTP. For more information about regular expressions.

• Stopped—HTTP service is disabled.Operation status: Running Table 1 Command output Field Description HTTP port Port number used by the HTTP service. display ip https Description Use display ip https to display information about HTTPS. Operation status: Operation status • Running—HTTP service is enabled. Current connection Number of current connections. For more information about regular expressions. a case-sensitive string of 1 to 256 characters. Syntax display ip https [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. 23 . Basic ACL Basic ACL number associated with the HTTP service. exclude: Displays all lines that do not match the regular expression. include: Displays all lines that match the regular expression.” begin: Displays the first line that matches the regular expression and all lines that follow. regular-expression: Specifies a regular expression. see “CLI configuration.

SSL server policy SSL server policy associated with the HTTPS service. Syntax display telnet client configuration [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. include: Displays all lines that match the regular expression. Operation status: Operation status • Running—HTTPS service is enabled. display telnet client configuration Description Use display telnet client configuration to display device configuration when it serves as a Telnet client. 24 . <Sysname> display ip https HTTPS port: 443 SSL server policy: test Certificate access-control-policy: Basic ACL: 2222 Current connection: 0 Operation status: Running Table 2 Command output Field Description HTTPS port Port number used by the HTTPS service.Example # Display information about HTTPS. see the Fundamentals Configuration Guide. For more information about regular expressions. • Stopped—HTTPS service is disabled. begin: Displays the first line that matches the regular expression and all lines that follow. exclude: Displays all lines that do not match the regular expression. Basic ACL Basic ACL number associated with the HTTPS service. Current connection Number of current connections. Certificate access-control-policy Certificate attribute access control policy associated with the HTTPS service.

a case-sensitive string of 1 to 256 characters. vty: Specifies the VTY user interface.1. the authentication mode.1. the user privilege level. and the access port. num2: Relative number of a user interface. Example # Display the configuration of the device when it serves as a Telnet client. the transmission rate. exclude: Displays all lines that do not match the regular expression. regular-expression: Specifies a regular expression.” begin: Displays the first line that matches the regular expression and all lines that follow. the absolute or relative number. • If the summary parameter is not included. Syntax display user-interface [ num1 | { aux | vty } num2 ] [ summary ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters num1: Absolute number of a user interface. the source IPv4 address for sending Telnet packets is 1. summary: Displays summary about user interfaces. |: Filters command output by specifying a regular expression.1.1.1. include: Displays all lines that match the regular expression.regular-expression: Specifies a regular expression. For more information about regular expressions. a case-sensitive string of 1 to 256 characters. The output shows that when the device serves as a client. <Sysname> display telnet client configuration The source IP address is 1. 25 . It ranges from 0 to 9 for an AUX user interface and 0 to 15 for a VTY user interface. • If the summary parameter is included. aux: Specifies the AUX user interface.1. display user-interface Description Use display user-interface to display information about a specific interface or all user interfaces. The value range varies with devices. the command displays all user interface numbers and types. the command displays the type of the user interface. see “CLI configuration.

Int : The physical location of UIs. Type : Type and relative index of user-interface. F The current user interface is active and works in asynchronous mode. P : Authentication use current UI's password. Idx Absolute number of the user interface. F : Current user-interface is active and work in async mode. N : Current UI need not authentication. the hyphen (-) is displayed to indicate that this function is disabled. 26 . Idx : Absolute index of user-interface. Display information about user interface 29. N No authentication with the authentication mode of none. L—Local authentication. A : Authentication use AAA. A AAA authentication with the authentication mode of scheme. Int The physical port that corresponds to the user interface. L Local authentication (not supported). dial out (out). P Password authentication with the authentication mode of password. or both (inout). Indicates the command level of a user under that user interface. L : Authentication use local database. Type Type and relative number of the user interface.Examples 1. Authentication mode for the users: Auth • • • • A—AAA authentication. Modem Privi Whether the modem is allowed to dial in (in). P—Password authentication. Auth : The authentication mode of user-interface. Table 3 Command output Field Description + The current user interface is active. N—None authentication. Privi: The privilege of user-interface. <Sysname> display user-interface 29 Idx Type + 29 Tx/Rx VTY 0 Modem Privi Auth Int - - 3 N + : Current user-interface is active. Tx/Rx Transmission/Receive rate of the user interface. By default.

|: Filters command output by specifying a regular expression. 28 UI never used. Use display users all to display information about all interfaces supported by the device. • U—This user interface is in use. (U) (X) 1 total UI in use Table 4 Command output Field Description User interface type Type of user interface (AUX or VTY). 27 .” begin: Displays the first line that matches the regular expression and all lines that follow. display users Description Use display users to display information about the interfaces that are active. Total number of user interfaces in use. Number of user interfaces not used or the total number of character X. UI never used. Total UI in use (U) (X) Number of users or the total number of character U. Character mode users.2. see “CLI configuration. For more information about regular expressions. Display summary about all user interfaces. Syntax display users [ all ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters all: Displays information about all user interfaces that the device supports. exclude: Displays all lines that do not match the regular expression. 0:X • 0—Represents the absolute number of the user interface. • X—This user interface is not used. <Sysname> display user-interface summary User interface type : [TTY] 0:XXX User interface type : [AUX] 3:XXXX XXXX XX User interface type : [VTY] 29:UXXX XXXX XXXX XXXX 1 character mode users.

0. 1 for monitor. with VTY. Table 5 Command output Field Description Idx Absolute number of the user interface.include: Displays all lines that match the regular expression. and the second column represents the relative number of the user interface. display web users Description Use display web users to display information about web users. Type User type. For example. F The current user works in asynchronous mode. regular-expression: Specifies a regular expression. Location IP address of the user. SSH. UI Relative number of the user interface. Userlevel User level: 0 for visit. Delay Time elapsed since the user's last input. VTY 0 : Location: 192. F : Current operation user work in async mode. such as Telnet. the first column represents user interface type. + Current user. a case-sensitive string of 1 to 256 characters. Syntax display web users [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level 28 . 2 for system.168. Example # Display information about the user interfaces that are being used. and 3 for manage. <Sysname> display users The user application information of the user interface(s): Idx UI + 29 VTY 0 Delay Type Userlevel 00:00:00 TEL 3 Following are more details. in the format of hh:mm:ss.5 + : Current operation user.

see "CLI configuration. Language Login language used by the web user. a case-sensitive string of 1 to 256 characters. exclude: Displays all lines that do not match the regular expression. Enter e as a common character on the A. Level Level of the web user. LinkCount Number of tasks that the web user runs. for example) To avoid this. State State of the web user. Use undo escape-key to restore the default key combination (Ctrl+C). you can only use e to terminate the task running on Device B. On Device B. include: Displays all lines that match the regular expression. If you set the character parameter in a user interface of a device to log in to the device and then Telnet to another device. For more information about regular expressions. regular-expression: Specifies a regular expression. if you specify character as e on Device A and log in to Device A on a PC (Hyper Terminal): • The problem does not occur on Device A. Example # Display information about the current web users. in a VTY 0 user interface.” begin: Displays the first line that matches the regular expression and all lines that follow. the character argument can only be used as a control character to abort a task (not for input as a common character). LastTime Last time when the web user accessed the switch. specify character as a key combination. This can cause problems. LoginTime Time when the web user logged in. escape-key Description Use escape-key to define a shortcut key for aborting a task. <Sysname> display web users UserID Name Language Level State ab890000 admin Chinese Management Enable LinkCount LoginTime LastTime 0 14:13:46 14:14:18 Table 6 Command output Field Description UserID ID of a web user.Parameter |: Filters command output by specifying a regular expression. For example. which you can avoid by specifying character as a key combination rather than as a single character. 29 . • The problem occurs if you Telnet from Device A to Device B. You cannot input e as a common character (as part of another command. The new shortcut key functions to terminate a task. and also use e to terminate the task running on Device A. Name Name of the web user.

a single character (or its ASCII code value in the range 0 to 127). <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] escape-key a # To verify the configuration.00% packet loss round-trip min/avg/max = 3/3/3 ms <Sysname> 30 . perform the following operations: 1. press a to break Reply from 192. <Sysname> ping -c 20 192.168. default: Restores the default escape key combination of Ctrl+C. Syntax escape-key { default | character } undo escape-key View User interface view Default level 3: Manage level Parameters character: Specifies the shortcut key for aborting a task.168.49: bytes=56 Sequence=1 ttl=255 time=3 ms Reply from 192.168. or a string of 1 to 3 characters.168. the system uses its character q as the shortcut key.49 ping statistics --2 packet(s) transmitted 2 packet(s) received 0.1. Examples # Define key a as the shortcut key for aborting a task. Use the ping command to check the reachability of the device with the IP address of 192. If you enter an ASCII code value of 113.49. --.1. Only the first character of a string functions as the shortcut key. use the display current-configuration command.1.To display the shortcut key you have defined. the system uses the first character q as the shortcut key.49 PING 192.1.168.1.168. If you enter the string q@c.192. The task terminates immediately and the system returns to system view.1. Enter a. and use the -c keyword to specify the number of ICMP echo packets to be sent as 20.49: 56 data bytes.49: bytes=56 Sequence=2 ttl=255 time=3 ms 2.

No flow control is performed. Use free user-interface to release the established connection. Use undo flow-control to restore the default (none is the default flow control mode).flow-control Description Use flow-control to configure the flow control mode. software: Performs software flow control. Syntax free user-interface { num1 | { aux | vty } num2 } View User view Default level 3: Manage level 31 . • The command only applies to the console port. • The switch supports the none flow control mode only. Syntax flow-control { hardware | none | software } View User interface view Default level 2: System level Parameters hardware: Performs hardware flow control. none: Disables flow control. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] flow-control none free user-interface Description This command cannot release the connection that you are using. Example # Configure no flow control in the inbound and outbound directions for AUX 0.

<Sysname> display users The user application information of the user interface(s): Idx UI + 29 VTY 0 Delay Type Userlevel 00:00:00 TEL 3 Following are more details. <Sysname> free user-interface vty 1 Are you sure to free user-interface vty1? [Y/N]:y 3. you can release the connection established on VTY 1. Display the connection established on user interface VTY 1. + : Current operation user. username: User name of the web user. F : Current operation user work in async mode. free web-users Description Use free web-users to disconnect a specific web user or all web users by force. Examples 1. all: Specifies all web users. The value ranges from 0 to 9 for an AUX user interface and 0 to 15 for a VTY user interface. aux: Specifies the AUX user interface. num2: Relative number of a user interface. VTY 0 : Location: 192.5 2. You can display information about the users that are using the device. The value range varies with devices.0. vty: Specifies the VTY user interface.168.Parameters num1: Absolute number of a user interface. To make configurations without interruption from the user using VTY 1. Syntax free web-users { all | user-id userid | user-name username } View User view Default level 2: System level Parameter userid: Web user ID. This argument can contain 1 to 80 characters. 32 .

Buffers for different user interfaces do not affect each other. • • The history command buffer saves executed history commands for each user interface. Example # Set the buffer to store a maximum of 20 history commands. see “CLI configuration commands. • To display the commands that are stored in the history buffer. The value ranges from 0 to 256. Syntax history-command max-size size-value undo history-command max-size View User interface view Default level 2: System level Parameters size-value: Specifies the maximum number of history commands that the buffer can store. press the upper or lower arrow key. the system automatically removes the commands saved in the history buffer. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] history-command max-size 20 33 .” • After you terminate the current session. For more information about display history-command. <Sysname> free web-users all history-command max-size Description Use history-command max-size to set the size of the history command buffer for the current user interface.Example # Disconnect all web users by force. use display history. Use undo history-command max-size to restore the default (10 commands saved). • To view the recently executed commands.

only the clients permitted by the ACL can access the device through HTTP. seconds: Specifies the timeout time. • Setting idle-timeout to 0 disables the timer and maintains the connection until you terminate it. Syntax ip http acl acl-number undo ip http acl View System view 34 . Example # Set the idle-timeout timer to 1 minute and 30 seconds.idle-timeout Description Use idle-timeout to set the idle-timeout timer. in minutes. which ranges from 0 to 59 and defaults to 0 seconds. which ranges from 0 to 35791 and defaults to 10 minutes. Use undo ip http acl to remove the association and restore the default condition (HTTP service is not associated with any ACL by default). acl (see ACL and QoS Command Reference). After the HTTP service is associated with an ACL. Related commands: display ip http. Use undo idle-timeout to restore the default timeout (10 minutes). in seconds. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] idle-timeout 1 30 ip http acl Description Use ip http acl to associate an ACL with the HTTP service. the system automatically terminates the connection. • If no information interaction occurs between the device and the user within the timeout time. Syntax idle-timeout minutes [ seconds ] undo idle-timeout View User interface view Default level 2: System level Parameters minutes: Specifies the timeout time.

10. This command does not check for conflicts with configured port numbers. Use undo ip http enable to disable the HTTP service.255 [Sysname-acl-basic-2001] quit [Sysname] ip http acl 2001 ip http enable Description Use ip http enable to enable the HTTP service. A basic IPv4 ACL ranges from 2000 to 2999.0. 35 .0.255.0.10. Related commands: display ip http.0/16 network to access the device through HTTP.Default level 2: System level Parameters acl-number: ACL number. Example # Associate the HTTP service with ACL 2001 to only allow the clients within the 10. <Sysname> system-view [Sysname] acl number 2001 [Sysname-acl-basic-2001] rule permit source 10. The device can act as the HTTP server when enabled. Use ip http port to configure the port number of the HTTP service. Syntax ip http enable undo ip http enable View System view Default level 2: System level Parameters None Example # Enable the HTTP service.0 0. <Sysname> system-view [Sysname] ip http enable ip http port Description Verify that the port number is not used by another service.

Related commands: display ip https. only clients permitted by the ACL rules can access the device. Use undo ip https acl to remove the association and restore the default condition (no association is the default). After this association. Related commands: display ip http. Syntax ip https acl acl-number undo ip https acl View System view Default level 3: Manage level Parameter acl-number: ACL number.10.Use undo ip http port to restore the default port number (80 is the default port). <Sysname> system-view [Sysname] ip http port 8080 ip https acl Description Use ip https acl to associate HTTPS service with an ACL. <Sysname> system-view 36 .0/16 network segment to access the HTTPS server through HTTP. Syntax ip http port port-number undo ip http port View System view Default level 3: Manage level Parameter port-number: Port number of the HTTP service. Example # Associate the HTTPS service with ACL 2001 to only allow the clients in the 10. A basic IPv4 ACL ranges from 2000 to 2999.0. acl (ACL and QoS Command Reference). The value range depends on the device model. which ranges from 1 to 65535. Example # Configure the port number of the HTTP service as 8080.

pki certificate access-control-policy (see Security Command Reference).10.[Sysname] acl number 2001 [Sysname-acl-basic-2001] rule permit source 10.255. a string of 1 to 16 characters.0.0 0. Use undo ip https certificate access-control-policy to remove the association and restore the default condition (no association by default). Related commands: display ip https.255 [Sysname-acl-basic-2001] quit [Sysname] ip https acl 2001 ip https certificate access-control-policy Description Use ip https certificate access-control-policy to associate the HTTPS service with a certificate attribute access control policy. <Sysname> system-view [Sysname] ip https certificate access-control-policy myacl 37 . Example # Associate the HTTPS server with certificate attribute access control policy myacl. Association of the HTTPS service with a certificate attribute access control policy controls client access rights. Syntax ip https certificate access-control-policy policy-name undo ip https certificate access-control-policy View System view Default level 3: Manage level Parameter policy-name: Name of the certificate attribute access control policy.0.

Related commands: display ip https. This command does not check for conflicts with configured port numbers. Enabling the HTTPS service triggers an SSL handshake negotiation process. Syntax ip https port port-number undo ip https port 38 . Related commands: display ip https. • If no local certificate exists. If that happens. <Sysname> system-view [Sysname] ip https enable ip https port Description Verify that the port number is not used by another service. Use ip https port to configure the port number of the HTTPS service. Syntax ip https enable undo ip https enable View System view Default level 3: Manage level Parameters None Example # Enable the HTTPS service. • If the local certificate of the device exists. execute the ip https enable command multiple times to start the HTTPS service. The device can act as the HTTP server if enabled. the SSL negotiation succeeds and the HTTPS service can be started.ip https enable Description Use ip https enable to enable the HTTPS service. Use undo ip https port to restore the default port number (443 is the default port). Use undo ip https enable to disable the HTTPS service (the default condition). the SSL negotiation triggers a certificate application process that often fails because it times out.

<Sysname> system-view [Sysname] ip https port 6000 ip https ssl-server-policy Description Use ip https ssl-server-policy to associate the HTTPS service with an SSL server-end policy. you cannot: • Modify the associated SSL server-end policy. ssl server-policy (Security Command Reference). a string of 1 to 16 characters. Syntax ip https ssl-server-policy policy-name undo ip https ssl-server-policy View System view Default level 3: Manage level Parameter policy-name: Name of an SSL server policy. The HTTPS service can be enabled only after this command is configured. After the HTTPS service is enabled. Example # Associate the HTTPS service with SSL server-end policy myssl. <Sysname> system-view [Sysname] ip https ssl-server-policy myssl 39 . Example # Configure the port number of the HTTPS service as 6000. Related commands: display ip https. • Remove the association between the HTTPS service and the SSL server-end policy. Use undo ip https ssl-server-policy to remove the association and restore the default condition (no association). which ranges from 1 to 65535.View System view Default level 3: Manage level Parameter port-number: Port number of the HTTPS service.

the next time you access it. enter the same password. • When entering the lock command: 1.lock Description Use lock to prevent unauthorized users from using the user interface. This setting must be identical for the user interface of the connecting port on the device and the target terminal device. <Sysname> lock Please input password<1 to 16> to lock current user terminal interface: Password: Again: locked ! Password: <Sysname> parity Description This command only applies to the console port. Syntax parity { even | mark | none | odd | space } undo parity 40 . Use parity to set a parity check method. Syntax lock View User view Default level 3: Manage level Parameters None Example # Lock the current user interface. Use undo parity to restore the default (no parity check performed). To set the password. Confirm it by entering the password again. • After locking the user interface. 2. Enter a password (up to 16 characters). you must press Enter and enter the correct password. 3.

SSH. see authentication-mode. • The authentication mode of the Telnet protocol is password. Syntax protocol inbound { all | ssh | telnet } View VTY interface view Default level 3: Manage level Parameters all: Supports all three protocols: Telnet.View User interface view Default level 2: System level Parameters even: Performs an even parity check. By default: • All protocols are supported. or both. none: Performs no parity check. and both. 41 . ssh: Supports SSH only. Example # Configure the console port to perform odd parity check. space: Performs a space parity check. set the authentication mode to scheme for users logging in through the user interface. odd: Performs an odd parity check. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] parity odd protocol inbound Description Use protocol inbound to enable the user interface to support Telnet. telnet: Supports Telnet only. For more information. mark: Performs a mark parity check. protocol inbound ssh fails. SSH. • Before configuring a user interface to support SSH. Otherwise. The configuration is effective next time you log in.

or Page Down key to display additional lines of information. Use undo screen-length to restore the default next screen display (24 lines). which ranges from 0 to 512. if you set screen-length to 40. Because terminal display varies. the device sends 40 lines. <Sysname> system-view [Sysname] user-interface vty 0 15 [Sysname-ui-vty0-15] authentication-mode scheme [Sysname-ui-vty0-15] protocol inbound ssh screen-length Description Not all display terminals support this command setting. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] screen-length 30 42 . For more information about the screen-length disable command. Example # Set the next screen of the AUX user interface to display 30 lines. Use screen-length to set the number of lines on the next screen. see “CLI configuration commands.Example # Enable the VTYs 0 through 15 to support SSH only. For example. but the next screen displays only lines 18 through 40. Setting a value of 0 disables pausing between screens of output. Page Up. but the terminal screen can display only 24 lines: When you press Space. you may need to press the Space. To view the first 17 lines. To disable multiple-screen output of the current user interface. you must press the Page Up or Page Down key.” Syntax screen-length screen-length undo screen-length View User interface view Default level 2: System level Parameter screen-length: Number of lines on the next screen. use the screen-length disable command.

press Ctrl+C. press Ctrl+Z. end with CTRL+Z or Enter. The value range varies with devices.send Description Use send to send messages to the specified user interfaces. aux: Specifies the AUX user interface. The value ranges from 0 to 9 for an AUX user interface and 0 to 15 for a VTY user interface. Example # Send message “hello abc” to the AUX user interface. abort with CTRL+C: hello abc^Z Send message? [Y/N]:y <Sysname> *** *** ***Message from aux0 to aux0 *** hello abc <Sysname> 43 . num1: Absolute number of a user interface. To cancel the message input and return to user view. Syntax send { all | num1 | { aux | vty } num2 } View User view Default level 1: Monitor level Parameters all: Sends messages to all user interfaces. num2: Relative number of a user interface. <Sysname> send aux 0 Enter message. vty: Specifies the VTY user interface. To end the message input.

If the format is cipher. Example # Set the local authentication password for the user interface of console port 0 to hello. A plain-text password can be easily compromised. A plain-text password can be a string of up to 16 characters. Use undo set authentication password to restore the default (no local authentication password).set authentication password Description Use set authentication password to set a local authentication password. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] authentication-mode password [Sysname-ui-aux0] set authentication password cipher hello Next time you enter the system. the password is required. You must enter the password in plain-text during authentication. It is safer to use a cipher-text password. A cipher-text password or the encrypted version of the plain-text password comprises 24 characters. password can be either in cipher text or in plain text. Related commands: authentication-mode. the password argument must be in plain text. 44 . password: A case-sensitive string. and the configuration file saves the password in plain text. such as _(TT8F]Y\5SQ=^Q`MAF4<1!!. If the password format is simple. simple: Plain-text password. and the configuration file always saves the password in cipher text. Syntax set authentication password { cipher | simple } password undo set authentication password View User interface view Default level 3: Manage level Parameters cipher: Cipher-text password.

Use undo shell to disable terminal services. Disable terminal services on the VTYs 0 through 4.shell Description The command is not applicable to the console port. Syntax speed speed-value undo speed 45 . terminal services are enabled on all user interfaces. are you sure? [Y/N]:y [Sysname-ui-vty0-4] 2. You cannot disable the terminal services on the user interface through which you are logged in. By default. This setting must be identical for the user interface of the connecting port on the device and the target terminal device for communication Use undo speed to restore the default transmission rate (9600 bps is the default rate). Use shell to enable terminal services on the user interface. Syntax shell undo shell View User interface view Default level 3: Manage level Parameters None Examples 1. The following message appears when a terminal tries to Telnet to the device: The connection was closed by the remote host! speed (user interface view) Description This command only applies to the console port. <Sysname> system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4] undo shell % Disable ui-vty0-4 . Use speed to set the transmission rate on the user interface.

Example # Set the transmission rate on the user interface AUX 0 to 19200 bps. This setting must be identical for the user interface of the connecting port on the device and the target device for communication.5 | 2 } undo stopbits View User interface view Default level 2: System level 46 .View User interface view Default level 2: System level Parameters speed-value: Transmission rate in bps. Syntax stopbits { 1 | 1. The transmission rates available with asynchronous serial interfaces follow: • 300 bps • 600 bps • 1200 bps • 2400 bps • 4800 bps • 9600 bps • 19200 bps • 38400 bps • 57600 bps • 115200 bps The transmission rate varies with devices and configuration environment. Use undo stopbits to restore the default stop bit (1). <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] speed 19200 stopbits Description This command only applies to the console port. Use stopbits to set the number of stop bits transmitted per byte.

a case-insensitive string of 1 to 20 characters. vpn-instance vpn-instance-name: Specifies the MPLS L3VPN that the remote system belongs to.1. specifying the source IP address of Telnet packets as 1. <Sysname> telnet 1. To stop the current Telnet connection. where vpninstance-name is a case-sensitive string of 1 to 31 characters.1. 2: Two stop bits. do not specify this keyword and argument combination. source: Specifies the source interface or source IPv4 address of Telnet packets.1.1 47 .Parameters 1: One stop bit. If the remote system is on the public network.5. Example # Set the stop bits on the user interface AUX 0 to 1. service-port: TCP port number of the Telnet service on the remote host.1. Syntax telnet remote-host [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interface-type interface-number | ip ip-address } ] View User view Default level 0: Visit level Parameters remote-host: IPv4 address or host name of a remote host. It ranges from 0 to 65535 and defaults to 23. The source IPv4 address of the Telnet packets that are sent is the IPv4 address of the specified source interface.1.5 telnet Description Use telnet to establish Telnet connection with a remote host. respectively. interface-type interfacenumber represents the interface type and number.1. ip ip-address: Specifies the source IPv4 address of Telnet packets.5: One and a half stop bits. 1. The source IPv4 address or source interface specified by this command applies to the current Telnet connection only. <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] stopbits 1.2 source ip 1.1.1. Example # Telnet to the remote host 1.2. interface interface-type interface-number: Specifies the source interface.1. press Ctrl+K or use the quit command.

1 48 . The source IPv4 address is selected by routing.1. Example # Specify the source IPv4 address for sending Telnet packets when the device serves as a Telnet client as 1. the source IPv4 address or interface specified by the telnet command takes effect. Syntax telnet client source { interface interface-type interface-number | ip ip-address } undo telnet client source View System view Default level 2: System level Parameters interface interface-type interface-number: Specifies the source interface. ip ip-address: Specifies the source IPv4 address of Telnet packets. respectively.1. <Sysname> system-view [Sysname] telnet client source ip 1. By default. Use telnet client source to specify the source IPv4 address or source interface for sending Telnet packets when the device serves as a Telnet client. The source IPv4 address or source interface specified by this command applies to all Telnet connections. interface-type interface-number represents the interface type and number.1. Related commands: display telnet client configuration. no source IPv4 address or source interface for sending Telnet packets is specified.telnet client source Description If you use both this command and the telnet command to specify the source IPv4 address or source interface. Use undo telnet client source to remove the source IPv4 address or source interface for sending Telnet packets. The source IPv4 address of the Telnet packets sent is the IPv4 address of a specific interface.1.1.

Syntax telnet ipv6 remote-host [ -i interface-type interface-number ] [ port-number ] [ vpn-instance vpn-instancename ] View User view Default level 0: Visit level Parameters remote-host: IP address or host name of a remote host. Use undo telnet server enable to disable the Telnet server (disabled is the default condition). do not specify this keyword and argument combination. It ranges from 0 to 65535 and defaults to 23. If the remote system is on the public network. Syntax telnet server enable undo telnet server enable View System view Default level 3: Manage level 49 . -i interface-type interface-number: Specifies the outbound interface for sending Telnet packets. where vpninstance-name is a case-sensitive string of 1 to 31 characters. a case-insensitive string of 1 to 46 characters. press Ctrl+K or use the quit command. <Sysname> telnet ipv6 5000::1 telnet server enable Description Use telnet server enable to enable the Telnet server. vpn-instance vpn-instance-name: Specifies the MPLS L3VPN that the remote system belongs to. You need to provide the -i interface-type interface-number argument if the destination address is a link-local address. To stop the current Telnet connection. Example # Telnet to the remote host with the IPv6 address 5000::1.telnet ipv6 Description Use telnet ipv6 to establish a Telnet connection to a remote host in an IPv6 network. where interface-type interface-number represents the interface type and number. port-number: TCP port number for the remote host to provide the Telnet service.

HP recommends you to set the display type to VT100 on both the device and the client to avoid anomalies when the total number of characters of the edited command line exceeds 80. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] terminal type vt100 50 . Use undo terminal type to restore the default (ANSI is the default). Example # Set the terminal display type to VT100. Syntax terminal type { ansi | vt100 } undo terminal type View User interface view Default level 2: System level Parameters ansi: Specifies the terminal display type as ANSI. vt100: Specifies the terminal display type as VT100. Use terminal type to configure the current user interface’s type of terminal display. <Sysname> system-view [Sysname] telnet server enable terminal type Description The device supports two types of terminal display: ANSI and VT100.Parameters None Example # Enable the Telnet server.

• Other user interfaces default to command level 0. the terminal only displays commands of level 0 in the help information: <Sysname> ? User view commands: cluster Run cluster command display Display current system information ping Ping function quit Exit from current command view ssh2 Establish a secure shell client connection super Set the current user priority level telnet Establish one TELNET connection tracert Trace route function 51 . monitor (1). Use undo user privilege level to restore: • AUX user interfaces default to command level 3. which ranges from 0 to 3. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] user privilege level 0 # After you Telnet to the device through VTY 0. system (2). The administrator can change the user privilege level as necessary. Examples # Set the command level for users logging in through VTY 0 to 0. and manage (3).user privilege level Description Use user privilege level to assign users logging into the interface a privilege level. Syntax user privilege level level undo user privilege level View User interface view Default level 3: Manage level Parameter level: Specifies a user privilege level. User privilege levels include visit (0).

but cannot be smaller than first-num 2. first-num2: Relative number of the first user interface: • AUX user interfaces: from 0 to 9 • VTY user interfaces: from 0 to 15 last-num2: Relative number of the last user interface: • AUX user interfaces: from 0 to 9 for an AUX user interface • VTY user interfaces: from 0 to 15. • In multiple user interface view. The value range varies with devices. the configuration takes effect in these user views. last-num1: Absolute number of the last user interface. the configuration takes effect in the user view only. The value range varies with devices. Syntax user-interface { first-num1 [ last-num1 ] | { aux | vty } first-num2 [ last-num2 ] } View System view Default level 2: System level Parameters first-num1: Absolute number of the first user interface.user-interface Description Use user-interface to enter a single or multiple user interface views. • In single user interface view. <Sysname> system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4] 52 . <Sysname> system-view [Sysname] user-interface aux 0 [Sysname-ui-aux0] #Enter the user interface views of VTYs 0 to 4. Examples #Enter AUX user interface view. • aux: Specifies the AUX user interface. • vty: Specifies the VTY user interface.

begin: Displays the first line that matches the regular expression and all lines that follow. ftp timeout. include: Displays all lines that match the regular expression. Verify configured FTP server parameter with this command. For more information about regular expressions. Syntax display ftp-server [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. a case-sensitive string of 1 to 256 characters. Related commands: ftp server enable. 53 . exclude: Displays all lines that do not match the regular expression. regular-expression: Specifies a regular expression. <Sysname> display ftp-server FTP server is running Max user number: 1 User count: 1 Timeout value(in minute): 30 Put Method: fast Table 7 Table 1 Command output Field Description Max user number Maximum number of login users at a time. Example # Display the FTP server configuration. see the Fundamentals Configuration Guide.FTP configuration commands FTP server configuration commands display ftp-server Description Use display ftp-server to view the FTP server configuration. and ftp update.

54 1190 0 flash: 54 .Field Description User count Number of the current login users. regular-expression: Specifies a regular expression. see the Fundamentals Configuration Guide. a case-sensitive string of 1 to 256 characters. exclude: Displays all lines that do not match the regular expression. If there is no packet exchange between the FTP server and client during the whole period. the FTP connection will be disconnected. Syntax display ftp-user [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. • normal: Normal update. Examples # Display the detailed information of FTP users. Timeout value (in minute) Allowed idle time of an FTP connection. including: Put Method • fast: Fast update.1.168. display ftp-user Description Use display ftp-user to display detailed information for current FTP users. <Sysname> display ftp-user UserName HostIP Port Idle HomeDir ftp 192. include: Displays all lines that match the regular expression. For more information about regular expressions. File update method of the FTP server.

if the logged-in user name is administrator.# If the name of the logged-in user exceeds 10 characters. Syntax free ftp user username View User view Default level 3: Manage level Parameter username: Use the display ftp-user command to view the logged-in user name of the current FTP connection. Idle Duration time of the current FTP connection. HostIP IP address of the logged-in user.168. HomeDir Authorized path of the present logged-in user. free ftp user Description Use free ftp user to manually release the FTP connection established with the specified username immediately. <Sysname> free ftp user ftpuser Are you sure to free FTP user ftpuser? [Y/N]:y <Sysname> 55 . this is how the information would appear: <Sysname> display ftp-user UserName HostIP Port Idle HomeDir 192.0.152 1031 0 flash: administra tor Table 8 Command output Field Description UserName Name of the logged-in user. Example # Manually release the FTP connection established with username ftpuser. Port Port that the logged-in user is using. in minutes. For example. the exceeded characters will appear in the next line and be right justified.

1. the FTP server denies incoming client requests and permits client access allowed by the ACL rules.1 0 [Sysname-acl-basic-2001] rule 1 deny source any [Sysname-acl-basic-2001] quit [Sysname] ftp server acl 2001 ftp server enable Description Use ftp server enable to enable the FTP server and allow FTP user login. <Sysname> system-view [Sysname] acl number 2001 [Sysname-acl-basic-2001] rule 0 permit source 1. • If you execute the command multiple times. Use undo ftp server acl to restore the default (no ACL used is the default condition).1. ranging from 2000 to 2999. Syntax ftp server acl acl-number undo ftp server acl View System view Default level 3: Manage level Parameter acl-number: Basic access control list (ACL) number.ftp server acl Description Use ftp server acl to control FTP clients’ access to the device using an ACL.1. the last specified ACL takes effect. Syntax ftp server enable undo ftp server View System view 56 .1 to access the device through FTP.1. Example # Associate the FTP service with ACL 2001 to allow only the client 1. • This configuration has no effect on already established FTP connections and operations. Use undo ftp server to disable the FTP server (disabled is the default condition). • When associated with an ACL.

You can set the timer to disconnect the user connection to the FTP server if no information is received or transmitted before the timer expires.Default level 3: Manage level Parameters None Example # Enable the FTP server. Syntax ftp timeout minute undo ftp timeout View System view Default level 3: Manage level Parameter minute: Idle-timeout timer in minutes. Use undo ftp update to restore the default (normal mode is the default condition). Example # Set the idle-timeout timer to 36 minutes. <Sysname> system-view [Sysname] ftp server enable ftp timeout Description Use ftp timeout to set the idle-timeout timer. Use undo ftp timeout to restore the default (30 minutes of idle time is the default condition). in the range 1 to 35791. Syntax ftp update { fast | normal } undo ftp update 57 . <Sysname> system-view [Sysname] ftp timeout 36 ftp update Description Use ftp update to set the file update mode the FTP server uses while receiving data.

View System view Default level 3: Manage level Parameters fast: Fast update. normal: Normal update. Example # Set the FTP update mode to normal. <Sysname> system-view [Sysname] ftp update normal 58 .

Because carriage return characters vary with operating systems. see “display ftp client configuration ”. Syntax ascii View FTP client view Default level 3: Manage level Parameters None Example # Set the file transfer mode to ASCII. You must use ftp to enter FTP client view for configurations under this view. and the Linux system uses characters /n. 59 . make sure you have configured the proper authority for users on the FTP server. and renaming/removing files. [ftp] ascii 200 Type set to A. For example. binary Description Use binary to set the file transfer mode to binary (flow) mode. Use ascii to set the file transfer mode to ASCII (the default mode). For more information. the FTP transmission mode must be applied to ensure the correct resolution of the files. Related commands: binary. • ASCII mode: for text file transmission. the HP device system and Windows system use characters /r/n. reading/downloading the specified file.FTP client configuration commands Before executing the FTP client configuration commands in this section. creating directory/uploading files. to indicate the end of a line and transfer to the next line. The prompt information in the following examples varies with FTP server types. ascii Description FTP transfers files in two modes: • Binary mode: for program file or picture transmission. including viewing the files under the current directory.

Related commands: ascii. [ftp] bye 221 Server closing. disconnect. the transfer mode is ASCII mode. Related commands: close. Use this command to return to user view directly if no connection is established between the device and the remote server. and quit.By default. bye Description Use bye to disconnect from the remote FTP server and return to user view. [ftp] binary 200 Type set to I. Syntax binary View FTP client view Default level 3: Manage level Parameters None Examples # Set the file transfer mode to binary. Syntax bye View FTP client view Default level 3: Manage level Parameters None Example # Terminate the connection with the remote FTP server and return to user view. 60 .

The execution of the cd . If no drive information is provided. the current working directory does not change when the cd . see the Fundamentals Configuration Guide. in the format of [drive:][/]path. typically flash or cf. [ftp] cd logfile 250 CWD command successful. where drive represents the storage medium name. Syntax cd { directory | . command is executed. or no upper directory exists. [ftp] cd /folder 250 CWD command successful. command equals the execution of the cdup command.. the argument represents a folder or subfolder in the current directory. .cd Description Use cd to change the current working directory on the remote FTP server to access another authorized directory. If the current working directory is the root directory. /: Returns to the root directory of the storage medium. Related commands: pwd. This argument does not support command line online help..: Returns to an upper directory. The keyword does not support command line online help... Examples # Change the working directory to the sub-directory logfile of the current directory. For more information about the drive and path arguments. | / } View FTP client view Default level 3: Manage level Parameters directory: Name of the target directory. Related commands: cd and pwd. # Change the working directory to the sub-directory folder of the authorized directory. Execution of this command will not change the authorized directory if it is work-directory. cdup Description Use cdup to exit the current directory and enter the upper directory of the FTP server. Syntax cdup 61 .

[ftp] pwd 257 "/ftp/subdir" is current directory. [ftp] pwd 257 "/ftp" is current directory. [ftp] cdup 200 CDUP command successful. close Description Use close to terminate connection to the FTP server. [ftp] 62 . Syntax close View FTP client view Default level 3: Manage level Parameters None Example # Terminate the connection to the FTP server and remain in FTP client view. This command is equal to the disconnect command. but remain in FTP client view.View FTP client view Default level 3: Manage level Parameters None Example # Change the current working directory path to the upper directory. [ftp] close 221 Server closing.

Password: 230 User logged in.168.46 Trying 192. User(192..1. Enable FTP client debugging and use the active mode to download file sample. Use undo debugging to disable FTP client debugging (disabled is the default condition).. Press CTRL+K to abort Connected to 192.1. Syntax debugging undo debugging View FTP client view Default level 1: Monitor level Parameters None Example # The device serves as the FTP client.168.debugging Description Use debugging to enable FTP client debugging.1. 220 FTP service ready.file from the current directory of the FTP server. [ftp]undo passive FTP: passive is off [ftp] debugging FTP: debugging switch is on 63 .46 .46.46:(none)):ftp 331 Password required for ftp.168.168.1. <Sysname> terminal monitor <Sysname> terminal debugging <Sysname> ftp 192.

delete Description Use delete to permanently delete a file on the remote FTP server. and the signal light is turned off.168. and the signal light is turned on. File transfer starts.file. Syntax delete remotefile View FTP client view Default level 3: Manage level Parameter remotefile: File name. with data port numbers being… The parsed reply is The received reply code.00 byte(s)/sec.889 second(s).4.file ---> PORT 192. 64 . [ftp] Table 9 Command output Field Description ---> PORT Give an FTP order. 675. File transfer is completed. FTPC: File transfer started with the signal light turned on. ---> RETR Download the file. You must have delete permission on the remote server to use this command.226 Transfer complete.file 150 Opening ASCII mode data connection for /sample. The parsed reply is 150 FTPC: File transfer started with the signal light turned on.44. FTP: 3304 byte(s) received in 4. FTPC: File transfer completed with the signal light turned off.[ftp] get sample. . defined in RFC 959.1. The parsed reply is 200 ---> RETR sample. FTPC: File transfer completed with the signal light turned off.21 200 Port command okay.

65 . • dir remotefile localfile to display the detailed information of a specific file or directory on the remote FTP server. 125 ASCII mode data connection already open. such as the size. FTP: 394 byte(s) received in 0.00K byte(s)/sec. • dir remotefile to display the detailed information of a specific file or directory on the remote FTP server.cfg drwxrwxrwx 1 noone nogroup 0 Dec 03 -rwxrwxrwx 1 noone nogroup 299 Oct 15 20471748 May 11 10:21 test.189 second(s).cfg -rwxrwxrwx 1 noone nogroup 3608 Jun 13 2007 startup.5.1. [ftp] dir 227 Entering Passive Mode (192.bin 2007 test 2007 key. Examples #View the detailed information of the files and subdirectories under the current directory on the remote FTP server.168. and the date they were created. as well as related information.c.pub 226 Transfer complete. drwxrwxrwx 1 noone nogroup 0 Aug 08 2006 logfile -rwxrwxrwx 1 noone nogroup -rwxrwxrwx 1 noone nogroup 4001 Dec 08 2007 config.68). Syntax dir [ remotefile [ localfile ] ] View FTP client view Default level 3: Manage level Parameters remotefile: Name of the file or directory on the remote FTP server.46. dir Description The dir command displays names of files and directories.Example #Delete file temp. transfer starting for /*.c 250 DELE command successful. which can only display the names of files and directories. Compare to the Is command. and save the displayed information into a local file specified by the localfile argument. localfile: Name of the local file to save the displayed information. 2. Use: • dir to view the detailed information of the files and subdirectories in the current directory on the remote FTP server. [ftp] delete temp.

cfg disconnect Description Use disconnect to disconnect from the remote FTP server but remain in FTP client view. transfer starting for /arrouter.cfg. Syntax disconnect View FTP client view Default level 3: Manage level Parameters None Example #Disconnect from the remote FTP server but remain in FTP client view.17. 14.txt 227 Entering Passive Mode (192. [ftp] dir ar-router.txt -rwxrwxrwx 1 noone nogroup 3077 Jun 20 15:34 ar-router. and save the result to aa. display ftp client configuration Description Use display ftp client configuration to view the configured source IP address or source interface of the FTP client. [ftp] disconnect 221 Server closing.cfg aa. # View the content of aa. FTP: 67 byte(s) received in 4..[ftp] #View the information of the file ar-router.50. 125 ASCII mode data connection already open. [ftp] quit <Sysname> more aa.txt. This command is equal to the close command..168.00 byte(s)/sec.158).txt.cfg. Syntax display ftp client configuration [ | { begin | exclude | include } regular-expression ] 66 . Related commands: ftp client source.1.600 second(s).226 Transfer complete.. .

Syntax ftp [ server-address [ service-port ] [ vpn-instance vpn-instance-name ] [ source { interface interfacetype interface-number | ip source-ip-address } ] ] View User view Default level 3: Manage level Parameters server-address: IP address or host name of a remote FTP server. exclude: Displays all lines that do not match the regular expression.0. a string of 1 to 20 characters. Example #Display the current configuration information of the FTP client. you enter the FTP client view without logging in to the FTP server. you are prompted to enter the username and password for accessing the FTP server.123 ftp Description This command applies to IPv4 networks. 67 . service-port: TCP port number of the remote FTP server. in the range 0 to 65535. • Without parameters. vpn-instance vpn-instance-name: FTP server’s VPN.View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. Use ftp to log in to the remote FTP server and enter FTP client view. begin: Displays the first line that matches the regular expression and all lines that follow. The default value is 21. a case-sensitive string of 1 to 256 characters. regular-expression: Specifies a regular expression. a case-sensitive string of 1 to 63 characters. • With parameters. <Sysname> display ftp client configuration The source IP address is 192. include: Displays all lines that match the regular expression. For more information about regular expressions. The vpn-instance-name argument specifies the instance name of the VPN.168. see the Fundamentals Configuration Guide.

source { interface interface-type interface-number | ip source-ip-address } ]: source address used to
establish an FTP connection.

interface interface-type interface-number: source interface by its type and number. The primary
IP address configured on this interface is the source address of the transmitted FTP packets. If no
primary IP address is configured on the source interface, the connection fails.

ip source-ip-address: The source IP address (configured on the device) of the transmitted FTP
packets.

Example
#Log in from the current device Sysname1 to the device Sysname2 with the IP address of
192.168.0.211. The source IP address of the packets sent is 192.168.0.212.
<Sysname> ftp 192.168.0.211 source ip 192.168.0.212
Trying 192.168.0.211 ...
Press CTRL+K to abort
Connected to 192.168.0.211.
220 FTP Server ready.
User(192.168.0.211:(none)):abc
331 Password required for abc
Password:
230 User logged in.

ftp client source
Description
Use ftp client source to configure the source address of packets transmitted by the FTP client.

The source address can be specified as the source interface and the source IP address. If you
use ftp client source to specify the source interface and then the source IP address, the newly
specified source IP address overwrites the configured source interface and vice versa.

If the source address is specified with ftp client source and then with the ftp command, the
source address specified with the latter one is used to communicate with the FTP server.

The source address specified with ftp client source is valid for all FTP connections and the source
address specified with the ftp command is valid only for the current FTP connection.

Use undo ftp client source to restore the default. By default, a device uses the IP address of the
interface determined by the matched route as the source IP address to communicate with an FTP
server.
Related commands: display ftp client configuration.

Syntax
ftp client source { interface interface-type interface-number | ip source-ip-address }
undo ftp client source

View
System view

Default level
2: System level
68

Parameters
interface interface-type interface-number: Source interface for the FTP connection, including interface
type and interface number. The primary IP address configured on the source interface is the source IP
address of the packets sent by FTP. If no primary IP address is configured on the source interface, the
connection fails.
ip source-ip-address: Source IP address of the FTP connection. It must be an IP address that has been
configured on the device.

Examples
# Specify the source IP address of the FTP client as 2.2.2.2.
<Sysname> system-view
[Sysname] ftp client source ip 2.2.2.2

# Specify the source interface of the FTP client as Vlan-interface1.
<Sysname> system-view
[Sysname] ftp client source interface vlan-interface1

ftp ipv6
Description
This command applies to IPv6 networks.
Use ftp ipv6 to log in to the FTP server and enter FTP client view.

Without parameters, you enter the FTP client view without logging in to an FTP server.

With parameters, you are asked to enter the username and password for accessing the FTP
server.

Syntax
ftp ipv6 [ server-address [ service-port ] [ source ipv6 source-ipv6-address ] [ -i interface-type
interface-number ] ]

View
User view

Default level
3: Manage level

Parameters
server-address: IP address or host name of the remote FTP server.
service-port: TCP port number of the FTP server, in the range 0 to 65535. The default value is 21.
source ipv6 source-ipv6-address: Specifies a source IPv6 address for transmitted FTP packets. This
address must be an IPv6 address that has been configured on the device.
-i interface-type interface-number: Specifies the type and number of the egress interface. This
parameter can only be used when the FTP server address is a link local address and the specified
egress interface has a link local address. For the configuration of link local addresses, see the Layer
3—IP Services Configuration Guide.
vpn-instance vpn-instance-name: Specifies the VPN that the FTP server belongs to. The vpn-instancename argument is a case-sensitive string of 1 to 31 characters.
69

Example
#Log in to the FTP server with IPv6 address 3000::200.
<Sysname> ftp ipv6 3000::200
Trying 3000::200 ...
Press CTRL+K to abort
Connected to 3000::200.
220 Welcome!
User(3000::200:(none)): MY_NAME
331 Please specify the password.
Password:
230 Login successful.
[ftp]

get
Description
Use get to download a file from a remote FTP server and save it.

Syntax
get remotefile [ localfile ]

View
FTP client view

Default level
3: Manage level

Parameters
remotefile: Name of the file to be downloaded.
localfile: File name used after a file is downloaded and saved locally. If this argument is not specified,
the local file uses the name of the source file on the FTP server by default.

Examples
# Download file testcfg.cfg and save it as aa.cfg.
[ftp] get testcfg.cfg aa.cfg

227 Entering Passive Mode (192,168,1,50,17,163).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
.....226 Transfer complete.
FTP: 5190 byte(s) received in 7.754 second(s), 669.00 byte(s)/sec.

70

# Download file testcfg.cfg to the root directory of the storage medium of the master, and save it as
newest.cfg.
[ftp] get testcfg.cfg newest.cfg

227 Entering Passive Mode (192,168,1,46,4,47).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
..226 Transfer complete.
FTP: 3608 byte(s) received in 2.050 second(s), 1.00K byte(s)/sec.

# Download file testcfg.cfg to the root directory of the storage medium of the subordinate switch (with
the member ID 2), and save it as newest.cfg.
[ftp] get testcfg.cfg slot2#flash:/newest.cfg

227 Entering Passive Mode (192,168,1,46,4,48).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
226 Transfer complete.
FTP: 3608 byte(s) received in 2.322 second(s), 1.00K byte(s)/sec.

lcd
Description
Use lcd to display the local working directory of the FTP client.

Syntax
lcd

View
FTP client view

Default level
3: Manage level

Parameters
None

Example
# Display the local working directory.
[ftp] lcd
FTP: Local directory now flash:/clienttemp.

The above information indicates that the working directory of the FTP client before execution of the ftp
command is flash:/clienttemp.

71

ls Description Use ls to view the information of all the files and subdirectories in the current directory of the remote FTP server. FTP: 87 byte(s) received in 0.50. Syntax ls [ remotefile [ localfile ] ] View FTP client view Default level 3: Manage level Parameters remotefile: Filename or directory on the remote FTP server.17. and the date they were created. transfer starting for /*.cfg 226 Transfer complete.00 byte(s)/sec. ar-router. which can display other related information of the files and directories.cfg testcfg. localfile: Name of a local file used to save the displayed information. Examples # View the information of all files and subdirectories under the current directory of the FTP server. 72 . The file names and subdirectory names are displayed. and save the result to a local file specified by the localfile argument.132 second(s) 659. 125 ASCII mode data connection already open.cfg logfile mainar.1.bin arbasicbtm. [ftp] ls 227 Entering Passive Mode (192. Compare to the dir command.168.165).bin ftp test bb. • Use ls remotefile localfile to view the information of a file or subdirectory. • Use ls remotefile to view the information of a file or subdirectory. such as the size.

the login succeeds. . Syntax mkdir directory View FTP client view Default level 3: Manage level Parameter directory: Name of the directory to be created. [ftp] quit <Sysname> more aa.3).46.log mkdir Description Use mkdir to create a subdirectory in the current directory on the remote FTP server. and save the result to file aa.00 byte(s)/sec. FTP: 20 byte(s) received in 3. 73 .# View the information of directory logfile. You must have permissions on the remote FTP server. 5. [ftp] ls logfile aa.962 second(s). #View the content of file aa.168.. You need to disconnect with the current server first.txt. 125 ASCII mode data connection already open.4. open Description Use open to log in to the IPv4 FTP server under FTP client view. [ftp] mkdir mytest 257 "/mytest" new directory created.226 Transfer complete.txt . logfile. At login.. enter the username and password for accessing the FTP server.. If your input is correct.1. Related commands: close. . Example #Create subdirectory mytest on the current directory of the remote FTP server.txt 227 Entering Passive Mode (192.txt.. transfer starting for /logfile/*. and then try to connect with another one. you cannot use the open to log in to another server. If you have logged in to the IPv4 FTP server currently.

Example # In FTP client view. Press CTRL+K to abort Connected to 192. <Sysname> ftp [ftp] open 192. Syntax open ipv6 server-address [ service-port ] [ -i interface-type interface-number ] View FTP client view Default level 3: Manage level 74 .50 Trying 192.. 220 FTP service ready.168. At login. Password: 230 User logged in. If your input is correct.1.168. in the range 0 to 65535. Related commands: close.168.168.1.50.50.1. User(192. The default value is 21.50 ..1. log in to the FTP server with the IP address of 192.Syntax open server-address [ service-port ] View FTP client view Default level 3: Manage level Parameters server-address: IP address or host name of a remote FTP server. the login succeeds.168. service-port: Port number of the remote FTP server.50:(none)):aa 331 Password required for aa. [ftp] open ipv6 Description Use open ipv6 to log in to the IPv6 FTP server in FTP client view.1. enter the username and password for accessing the FTP server.

. see the Layer 3—IP Services Configuration Guide. [ftp] passive FTP: passive is on 75 . This parameter can be used only when the FTP server address is a link local address and the specified egress interface has a link local address. Use the undo passive command to set the data transmission mode to active. 220 Welcome! User(3000::200:(none)): MY_NAME 331 Please specify the password. Password: 230 Login successful. in the range 0 to 65535.. For the configuration of link local addresses. -i interface-type interface-number: Specifies the egress interface by its type and number. Example # Log in to the FTP server (with IPv6 address 3000::200) in FTP client view. Press CTRL+K to abort Connected to 3000::200. passive Description This command is mainly used in conjunction with a firewall to restrict the FTP session connection between private and public network users. Syntax Use the passive command to set the data transmission mode to passive (the default mode is passive). • The passive mode means that the data connection request is initiated by a client. The default value is 21.Parameters server-address: IP address or host name of the remote FTP server. View FTP client view Default level 3: Manage level Parameters None Example # Set the data transmission mode to passive. service-port: Port number of the remote FTP server. Data transmission modes fall into the passive mode and the active mode. • The active mode means that the data connection request is initiated by a server. <Sysname> ftp [ftp] open ipv6 3000::200 Trying 3000::200 .

064 second(s). [ftp] put slot2#flash:/a.cfg. [ftp] put vrpcfg.00 byte(s)/sec.4. 125 ASCII mode data connection already open.cfg 227 Entering Passive Mode (192.txt to the remote FTP server and save it as dd.cfg on the subordinate switch (with the member ID 2) to the remote FTP server and save it as ftpclienta.168.50. remotefile: File name used after a file is uploaded and saved on the FTP server.1. if no name is assigned to the file to be saved on the FTP server. 76 . 18.168.txt.46. [ftp] put cc.1.17.168. 226 Transfer complete.cfg ftpclienta.txt 227 Entering Passive Mode (192. Syntax put localfile [ remotefile ] View FTP client view Default level 3: Manage level Parameters localfile: Name of the local file to be uploaded. 125 ASCII mode data connection already open.cfg. # Upload source file vrpcfg.cfg on the master to the remote FTP server and save it as ftpclient. 125 ASCII mode data connection already open.50). transfer starting for /ftpclient. 21.00Kbyte(s)/sec. Examples # Upload source file cc. the name of the source file is used. #Upload source file a.065 second(s).52). • After a file is uploaded. 226 Transfer complete. which can be set with the authorization-attribute command.112 second(s). FTP: 1226 byte(s) sent in 0. FTP: 9 byte(s) sent in 0. transfer starting for /dd. 80.00Kbyte(s)/sec.46.4. FTP: 1366 byte(s) sent in 0.txt dd.cfg 227 Entering Passive Mode (192. transfer starting for /ftpclienta.cfg ftpclient.txt.169).put Description Use put to upload a file on the client to the remote FTP server.1. it will be saved under the user’s authorized directory. 226 Transfer complete.cfg. • By default.cfg.

[ftp] cd servertemp [ftp] pwd 257 "/servertemp" is current directory. <Sysname> 77 .pwd Description Use pwd to display the accessed directory on the remote FTP server. Syntax pwd View FTP client view Default level 3: Manage level Parameters None Example # Display the currently accessed directory on the remote FTP server. Syntax quit View FTP client view Default level 3: Manage level Parameters None Example # Disconnect from the remote FTP server and exit to user view. quit Description Use quit to disconnect from the remote FTP server and exit to user view. The above information indicates that the servertemp folder under the root directory of the remote FTP server is being accessed by the user. [ftp] quit 221 Server closing.

[ftp] remotehelp user 214 Syntax: USER <sp> <username>. If no parameter is specified. remote server’s FTP-related commands are displayed. Examples # Display FTP commands supported by the remote FTP server. USER PASS ACCT* CWD CDUP SMNT* QUIT REIN* PORT PASV TYPE STRU* MODE* RETR STOR STOU* APPE* ALLO* REST* RNFR* RNTO* ABOR* DELE RMD MKD PWD LIST NLST SITE* SYST STAT* HELP NOOP* XCUP XCWD XMKD XPWD XRMD 214 Direct comments to HP company. # Display the help information for the user command. [ftp] remotehelp 214-Here is a list of available ftp commands Those with '*' are not yet implemented. • Syntax remotehelp [ protocol-command ] View FTP client view Default level 3: Manage level Parameters protocol-command: FTP command. [ftp] Table 10 Command output Field Description USER Username PASS Password CWD Change the current working directory CDUP Change to parent directory SMNT* File structure setting QUIT Quit REIN* Re-initialization 78 .remotehelp Description Use remotehelp to display the help information of FTP-related commands supported by the remote FTP server.

the same meaning as MKD XPWD Extension command. the same meaning as CWD XMKD Extension command. the same meaning as CUP XCWD Extension command. the same meaning as RMD Syntax: USER <sp> <username>. Syntax of the user command: user (keyword) + space + username 79 . the same meaning as PWD XRMD Extension command.Field Description PORT Port number PASV Passive mode TYPE Request type STRU* File structure MODE* Transmission mode RETR Download a file STOR Upload a file STOU* Store unique APPE* Appended file ALLO* Allocation space REST* Restart RNFR* Rename the source RNTO* Rename the destination ABOR* Abort the transmission DELE Delete a file RMD Delete a folder MKD Create a folder PWD Print working directory LIST List files NLST List file description SITE* Locate a parameter SYST Display system parameters STAT* State HELP Help NOOP* No operation XCUP Extension command.

Syntax user username [ password ] View FTP client view Default level 3: Manage level 80 . you must configure the corresponding username and password on the FTP server or the login will fail and the FTP connection will close. user Description Before using this command. • When you execute the rmdir command. Example # Delete the temp1 directory from the authorized directory on the FTP server. Use user to relog in to the currently accessed FTP server with another username. the files in the remote recycle bin in the directory will be automatically deleted.rmdir Description Only authorized users are allowed to use this command. see the delete command. [ftp] rmdir /temp1 200 RMD command successful. Use rmdir to remove a directory from the FTP server. For the deletion of files. • Delete all files and subdirectories in the directory before you delete a directory. Syntax rmdir directory View FTP client view Default level 3: Manage level Parameter directory: Directory name on the remote FTP server.

Parameters username: Login username. 230 User logged in. Example # User ftp1 has logged in to the FTP server. or you can input this argument when the “Password:” prompt appears after you input the username and then press Enter. You can input this argument after the username argument plus a space. password: Login password. [ftp] verbose Description Use verbose to enable the protocol information function to display detailed prompt information (enabled is the default condition). Password: 230 User logged in. Syntax verbose undo verbose View FTP client view Default level 3: Manage level Parameters None 81 . Use undo verbose to disable the protocol information function. Use username ftp2 to log in to the current FTP server. [ftp] • Method 2 [ftp] user ftp2 123123123123 331 Password required for ftp. (Suppose username ftp2 and password 123123123123 have been configured on the FTP server). • Method 1 [ftp] user ftp2 331 Password required for ftp2.

cfg.46.1. [ftp] verbose FTP: verbose is on # Disable the protocol information function and perform the Get operation. 125 ASCII mode data connection already open.cfg aa.052 second(s).00K byte(s)/sec. 226 Transfer complete. [ftp] undo verbose FTP: verbose is off [ftp] get startup.cfg FTP: 3608 byte(s) received in 0.5.Examples # Enable the protocol information function.85). [ftp] # Enable the protocol information function and perform the Get operation. 18. [ftp] verbose FTP: verbose is on [ftp] get startup. FTP: 3608 byte(s) received in 0.168.00K byte(s)/sec. 69.cfg bb.193 second(s). 82 .cfg 227 Entering Passive Mode (192. transfer starting for /startup.

For more information about regular expressions. This command displays the configured source IP address or source interface of the TFTP client. begin: Displays the first line that matches the regular expression and all lines that follow. see the Fundamentals Configuration Guide.168. Example # Display the current configuration information of the TFTP client. Related commands: tftp client source.0. <Sysname> display tftp client configuration The source IP address is 192. For more information about ACL. see the ACL and QoS Configuration Guide. Use undo tftp-server acl to restore the default (no ACL is the default condition). exclude: Displays all lines that do not match the regular expression. regular-expression: Specifies a regular expression.123 tftp-server acl Description Use tftp-server acl to use an ACL’s rules to allow a device access to a specific TFTP server in a network. Syntax display tftp client configuration [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. a case-sensitive string of 1 to 256 characters. Syntax tftp-server [ ipv6 ] acl acl-number undo tftp-server [ ipv6 ] acl 83 . include: Displays all lines that match the regular expression.TFTP client configuration commands display tftp client configuration Description Use display tftp client configuration to view the configuration information of the TFTP client.

1.1. If no destination file name is specified. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 1.1. If it is not specified.1 0 [Sysname-acl-basic-2000] quit [Sysname] tftp-server acl 2000 # Allow the device to access the TFTP server with the IP address of 2001::1 only (in IPv6 networking environment). an IPv4 ACL is referenced. acl-number: Number of a basic ACL. <Sysname> system-view [Sysname] acl ipv6 number 2001 [Sysname-acl6-basic-2001] rule permit source 2001::1/128 [Sysname-acl6-basic-2001] quit [Sysname] tftp-server ipv6 acl 2001 tftp Description This command applies to IPv4 networks.View System view Default level 3: Manage level Parameters ipv6: References an IPv6 ACL.1 only (in IPv4 networking environment). Use tftp to upload files from the local device to a TFTP server and download files from the TFTP server to the local device. Syntax tftp server-address { get | put | sget } source-filename [ destination-filename ] [ vpn-instance vpninstance-name ] [ source { interface interface-type interface-number | ip source-ip-address } ] View User view Default level 3: Manage level 84 .1. the saved file uses the source file name. Examples # Allow the device to access the TFTP server with the IP address of 1. in the range 2000 to 2999.

download the newest. This source address must be an IP address that has been configured on the device.26 get newest.bin startup. Specify the source IP address to be 192. Specify the source IP interface to be Ethernet 1/1..cfg config. The vpn-instance-name argument refers to the name of a VPN instance. <Sysname> tftp 192...168. interface interface-type interface-number: Specifies the source interface by its type and number.bak.0...bin file from the TFTP server with the IP address of 192.bak source interface ethernet 1/1 File will be transferred in binary mode Sending file to remote TFTP server.Parameters server-address: IP address or host name of a TFTP server. # Upload the config.98 and save it as config.... please wait. <Sysname> tftp 192.1. File will be transferred in binary mode Downloading file from remote TFTP server..98 put config.168.bak. Examples # Download the config. The primary IP address configured on the source interface is the source IP address of the packets sent by TFTP. TFTP: 2737556 bytes received in 13 second(s) File downloaded successfully.168.. vpn-instance vpn-instance-name: Specifies the TFTP server’s VPN.0. source: Configures parameters for source address binding.bak source ip 192. File will be transferred in binary mode Downloading file from remote TFTP server..92 .0..0.0.168.1.26 and save it to both the root directory on the flash of the master and the root directory on the flash of the subordinate switch (with the member ID 2)... Please wait. the transmission fails.168. ip source-ip-address: Specifies the source IP address for the current TFTP client to transmit packets..98 get config. # To upgrade the device. If no primary IP address is configured on the source interface.168..cfg file from the local device to the default path of the TFTP server with the IP address of 192.cfg file from the TFTP server with the IP address of 192..cfg config. TFTP: 372800 bytes received in 1 second(s) File downloaded successfully. get: Downloads a file in normal mode.bin . put: Uploads a file.. destination-filename: Destination file name.0. <Sysname> tftp 192.92.... please wait. 85 .. TFTP: 345600 bytes sent in 1 second(s).168.. sget: Downloads a file in secure mode.168.98 and save it as config. File uploaded successfully. source-filename: Source file name.. a case-sensitive string of 1 to 31 characters.

Examples # Specify the source IP address of the TFTP client as 2. If no primary IP address is configured on the source interface. <Sysname> system-view [Sysname] tftp client source ip 2. the transmission fails.. // Download the file from the TFTP server to the root directory on the flash of the subordinate switch. Related commands: display tftp client configuration.2. the newly specified source IP overwrites the configured source interface and vice versa.2. tftp client source Description Use tftp client source to configure the source address of the TFTP packets from the TFTP client. ip source-ip-address: The source IP address of TFTP connections.bin File will be transferred in binary mode Downloading file from remote TFTP server. The primary IP address configured on the source interface is the source IP address of the packets sent by TFTP.2.26 get newest.2 86 . a device uses the IP address of the interface determined by the matched route as the source IP address to communicate with a TFTP server. • The source address specified with tftp client source is valid for all tftp connections and the source address specified with the tftp command is valid for the current tftp command.1. <Sysname> tftp 192. the source address specified with the latter one is used to communicate with the TFTP server.2. • The source address can be specified as the source interface and the source IP.168. Use undo telnet client source to restore the default. By default. It must be an IP address that has been configured on the device.bin slot2#flash:/startup.# Download the file from the TFTP server to the root directory on the flash of the master.. If you use tftp client source to specify the source interface and then the source IP.| TFTP: 2737556 bytes received in 14 second(s) File downloaded successfully.2. • If the source address is specified with tftp client source and then with the tftp command. Syntax tftp client source { interface interface-type interface-number | ip source-ip-address } undo tftp client source View System view Default level 2: System level Parameters interface interface-type interface-number: Specifies the source interface by its type and number. please wait.

Syntax tftp ipv6 tftp-ipv6-server [ -i interface-type interface-number ] { get | put } source-file [ destination-file ] [ vpn-instance vpn-instance-name ] View User view Default level 3: Manage level Parameters tftp-ipv6-server: IPv6 address or host name (a string of 1 to 46 characters) of a TFTP server.txt from the TFTP server. source-file: Source filename..# Specify the source interface of the TFTP client as Vlan-interface1. see the Layer 3—IP Services Configuration Guide... get: Downloads a file. Use tftp ipv6 to download files from a TFTP server or upload local files to a TFTP server. <Sysname> system-view [Sysname] tftp client source interface vlan-interface 1 tftp ipv6 Description This command applies to IPv6 networks.txt . please wait. this filename is the same as the source filename. put: Uploads a file.. Example # Download filetoget. This parameter can be used only when the TFTP server address is a link local address and the specified egress interface has a link local address. The vpn-instancename argument is a case-sensitive string of 1 to 31 characters.. -i interface-type interface-number: Specifies the egress interface by its type and number. destination-file: Destination filename. If not specified. vpn-instance vpn-instance-name: Specifies the VPN that the TFTP server belongs to. For the configuration of a link local address. TFTP: 411100 bytes received in 2 second(s) File downloaded successfully. <Sysname> tftp ipv6 fe80::250:daff:fe91:e058 -i Vlan-interface1 get filetoget. File will be transferred in binary mode Downloading file from remote TFTP server. 87 .

/: Returns to the root directory of the storage medium. For the detailed introduction to the drive and path arguments. This argument does not support command online help. in the format of [drive:/]path.. <Sysname> cd . command is executed.. use the pwd to view the path of the working directory.File management commands In the following examples. Syntax cd { directory | . <Sysname> cd test # Return to the upper directory (Remember to enter a space after the keyword cd).. the argument represents a folder or subfolder in the directory. <Sysname> cd slot2#flash:/ 88 . For the qualified filename formats. The keyword does not support command line online help.: Returns to an upper directory. Examples # Enter the test folder after logging in to the device.. If the working directory is the root directory. <Sysname> cd / After you change the directory by using the cd command. . see the Fundamentals Configuration Guide. # Enter the root directory of the Flash on a subordinate with the member ID 2 after logging in to the master. see the Fundamentals Configuration Guide. cd Description Use cd to change the working directory. or if no upper directory exists. # Return to the root directory. the working directory does not change when the cd . If no drive information is provided. | / } View User view Default level 3: Manage level Parameters directory: Name of the target directory. the working directory is the root directory of the storage medium on the device.

only the last one deleted is retained in the recycle bin.cfg slot2#flash:/ Copy flash:/vrcfg. <Sysname> cd flash:/ copy Description Use copy to copy a file. # Copy the configuration file of the master to the root directory of a subordinate (with the member ID 2).cfg to slot2#flash:/vrcfg.# Change the current directory from the file system of the subordinate to the test folder in the root directory of the master..cfg in the current folder and save it as testbackup.cfg.cfg to flash:/testbackup... Syntax copy fileurl-source fileurl-dest View User view Default level 3: Manage level Parameters fileurl-source: Name of the source file. <Sysname> copy testcfg. the system will copy the file to the folder and use the name of the source file as the file name. delete Description CAUTION: If you delete one file.cfg to slot2#flash:/vrcfg.cfg. Use it with caution..cfg testbackup.Done.cfg Copy flash:/test. The deleted file is saved in the recycle bin.cfg?[Y/N]:y . 89 . Use delete file-url to temporarily delete a file.cfg to flash:/testbackup.. • The delete /unreserved file-url command permanently deletes a file.cfg. %Copy file flash:/test. If you specify a target folder.cfg?[Y/N]:y %Copy file flash:/vrcfg. <Sysname> copy vrcfg.Done. Examples # Copy file testcfg. The deleted file cannot be restored.. and then delete another one with the same filename but in a different directory. fileurl-dest: Name of the target file or folder..

The names of these deleted files are enclosed in pairs of square brackets [ ]. • Use dir /all to display information about all files and folders in the current directory. <Sysname> delete tt. To remove the files from the recycle bin.cfg . 90 . For example.cfg Delete slot2#flash:/tt.Done. • The dir file-url command displays information about a file or folder. Delete flash:/tt..Done.txt command.cfg?[Y/N]:y .cfg?[Y/N]:y %Delete file slot2#flash:/tt. Asterisks (*) are acceptable as wildcards. and the deleted file can never be restored.cfg from the root directory of the storage medium on a subordinate (with the member ID 2). # Remove file tt. These files are enclosed in pairs of brackets [ ].Done. including hidden files. hidden sub-folders and the files in the recycle bin that originally belong to the current directory. to remove files with the extension of . • Approach 2 <Sysname> cd slot2#flash:/ <Sysname> delete tt. use the reset recycle-bin command. %Delete file flash:/tt.cfg Delete slot2#flash:/tt..cfg... you may use the delete *. dir /all displays the files deleted from the directory and moved to the recycle bin. dir Description Use dir to display information about all visible files and folders in the current directory. Syntax delete [ /unreserved ] file-url View User view Default level 3: Manage level Parameters /unreserved: Permanently deletes the specified file. • Approach 1 <Sysname> delete slot2#flash:/tt.cfg.Use undelete to restore a deleted file from the recycle bin.txt in the current directory.cfg?[Y/N]:y %Delete file slot2#flash:/tt.. file-url: Name of the file to be deleted..cfg from the root directory of the storage medium on the master.cfg. Examples # Remove file tt.

txt extension in the current directory.cfg 2 -rw- 124 Apr 26 2008 12:00:22 patchstate 3 -rwh 716 Apr 26 2008 14:31:36 hostkey 4 -rwh 4 Apr 26 2008 14:31:41 snmpboots 5 -rw- 10187730 Apr 26 2008 12:01:10 startup. you may use the dir *.bin 6 -rwh 716 Apr 26 2008 12:01:58 hostkey 7 -rwh 572 Apr 26 2008 12:02:11 serverkey 8 -rwh 548 Apr 26 2008 12:02:17 dsakey 9 -rw- 3035 Apr 26 2008 13:45:42 new-config.txt 3 -rw- 2161 Apr 26 2008 13:53:25 startup.Syntax dir [ /all ] [ file-url ] View User view Default level 3: Manage level Parameters /all: Displays all files. file-url: Name of the file or directory to be displayed.txt 1 -rw- 2341 Apr 26 2008 16:36:18 startup. Examples # Display information about all files and folders in the storage medium of the master.txt command.cfg 10 -rw- 2200 Apr 26 2008 14:58:35 [aa. to display files with the . <Sysname> dir /all Directory of flash:/ 0 -rwh 4 Apr 26 2008 12:02:05 snmpboots 1 -rw- 10187730 Apr 26 2008 16:47:07 startup. For example. Asterisks (*) are acceptable as wildcards.bin 5 -rw- 10139143 Apr 26 2008 13:08:20 startup2.cfg] 515712 KB total (1801 KB free) # Display information about all files and folders in the storage medium of a subordinate (with the member ID 2).bin 6 -rwh 572 Apr 26 2008 14:31:47 serverkey 7 -rwh 548 Apr 26 2008 14:31:52 dsakey 8 -rw- 3035 Apr 26 2008 13:45:36 new-config. <Sysname> cd slot2#flash:/ <Sysname> dir /all Directory of slot2#flash:/ 0 -rwh 3144 Apr 26 2008 13:45:28 private-data.bin 2 -rwh 3144 Apr 26 2008 13:45:35 private-data.cfg 4 -rw- 10058752 Sep 19 2008 17:41:46 startup1.cfg 91 .

9

drw-

-

Apr 26 2008 12:11:53

oldver

515712 KB total (1839 KB free)

Table 11 Command output
Field

Description

Directory of

The current working directory.

d

Indicates a directory. If this field does not exist, it indicates a file.

r

Indicates that the file or directory is readable.

w

Indicates that the file or directory is writable.

h

Indicates that the file or directory is hidden.

[]

Indicates that the file is in the recycle bin.

display nandflash file-location
Description
Use display nandflash file-location for the location of a specific file in the NAND flash memory,
including information about all the physical pages corresponding to the logical pages of the file.

Syntax
display nandflash file-location filename [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
2: System level

Parameters
filename: File name.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see “CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

92

Example
# Display the location of the file test.cfg in the NAND flash memory.
<Sysname> display nandflash file-location test.cfg
Logical Chunk

Physical Page

--------------------------chunk(0)

1234

chunk(1)

1236

chunk(2)

1235

filename: test.cfg

Table 12 Command output
Field

Description

Logic Chunk

Serial number of the logical pages.

Physical Page

Serial number of the physical pages.

chunk(0)

1234

The first logical page of this file corresponds to the 1234th physical
page on the device.

display nandflash badblock-location
Description
Use display nandflash badblock-location to view the number and location of bad blocks in the
NAND flash memory.

Syntax
display nandflash badblock-location [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
2: System level

Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see "CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

93

Example
# Display the number and location of bad blocks in the NAND flash memory.
<Sysname> display nandflash badblock-location
No

Physical block

-----------------------------badblock(0)

1234

badblock(1)

1235

badblock(2)

1236

3200 block(s) total, 3 block(s) bad.

Table 13 Command output
Field

Description

No

Serial number of the bad blocks

Physical block

Serial number of the physical pages with bad blocks

3200 block(s) total, 3 block(s)
bad.

Total number of blocks and bad blocks in the NAND flash memory

display nandflash page-data
Description
Use display nandflash page-data to view the data on the specified physical page in the NAND flash
memory.
This command is always used in combination with the display nandflash file-location to check the
correctness of the data in the NAND flash memory.

Syntax
display nandflash page-data page-value [ | { begin | exclude | include } regular-expression ]

View
Any view

Default level
1: Monitor level

Parameters
page-value: Serial number of a physical page.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see "CLI configuration.”
begin: Displays the first line that matches the regular expression and all lines that follow.
exclude: Displays all lines that do not match the regular expression.
include: Displays all lines that match the regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

94

Example
#Display the content of the file test.cfg which is saved in the NAND flash memory.
<Sysname> display nandflash file-location test.cfg
Logical Chunk

Physical Page

--------------------------chunk(0)

1234

chunk(1)

1236

chunk(2)

1235

filename: test.cfg
<Sysname> display nandflash page-data 1236
0000:

0D 0A 23 0D 0A 20 76 65 72 73 69 6F 6E 20 35 2E

..#.. version 5.

0010:

32 30 2C 20 41 6C 70 68 61 20 31 30 31 31 0D 0A

20, Alpha 1011..

0020:

23 0D 0A 20 73 79 73 6E 61 6D 65 20 48 33 43 0D

#.. sysname HP.

0030:

0A 23 0D 0A 20 70 61 73 73 77 6F 72 64 2D 63 6F

.#.. password-co

...Omitted...

execute
Description
Use execute to run the batch file.

Batch files are command line files. Executing a batch file is to execute a set of command lines in
the file.

Do not include invisible characters in a batch file. When the system encounters them during
processing, the batch process will abort and the commands that have been executed cannot be
cancelled.

Incorrectly configured batch file commands will not execute. When encountered, the system
omits these commands and proceeds to the next command.

Each configuration command in a batch file must be a standard configuration command,
meaning that the valid configuration information can be displayed with the display currentconfiguration command.

The configuration generated after a batch file executes is not automatically backed up to the
standby main board.

Syntax
execute filename

View
System view

Default level
2: System level

Parameter
filename: Name of a batch file with a .bat extension. You can use the rename command to change
the suffix of the configuration file to .bat to use it as a batch file.

95

bat in the root directory. Example # Set the file operation prompt mode to alert. Syntax file prompt { alert | quiet } View System view Default level 3: Manage level Parameters alert: Enables the system to warn you about operations that may bring undesirable results such as file corruption or data loss.Example # Execute the batch file test. By default.bat file prompt Description Use file prompt to set a prompt mode for file operations. the prompt mode is alert. <Sysname> system-view [Sysname] execute test. 96 . quiet: Disables the system from warning you about any operation. which HP recommends to avoid abnormal operations. <Sysname> system-view [Sysname] file prompt alert fixdisk Description Use fixdisk to restore the space of a storage medium when it becomes unavailable due to abnormal operation. Syntax fixdisk device View User view Default level 3: Manage level Parameter device: Storage medium name.

If a startup configuration file exists on a storage medium. the files are lost and cannot be restored. Otherwise. Syntax format device View User view Default level 3: Manage level Parameter device: Name of a storage medium. • The name of the folder to be created must be unique in the specified directory. For instance. <Sysname> format flash: All data on flash: will be lost. formatting the storage medium results in loss of the startup configuration file./ %Format flash: completed. Example #Format the Flash.. proceed with format? [Y/N]:y . you will fail to create the mytest folder. mkdir will fail. <Sysname> fixdisk flash: Fixdisk flash: may take some time to complete. format Description CAUTION: When you format a storage medium. • The destination directory must exist. the test folder must exist. %Fixdisk flash: completed..Example # Restore the space of the Flash. to create folder flash:/test/mytest. Use format to format a storage medium. Syntax mkdir directory 97 . mkdir Description Use mkdir to create a folder on the storage medium. Otherwise.

Use more to display the contents of a specific file when there are more lines that the screen can display.View User view Default level 3: Manage level Parameter directory: Name of a folder. Syntax more file-url View User view Default level 3: Manage level Parameter file-url: File name.. <Sysname> mkdir test . more Description This command is valid only for text files. %Created dir flash:/test/subtest # Create folder test on a subordinate (with the member ID 2). %Created dir flash:/test # Create folder test/subtest in the current directory..... 98 . Examples # Create a folder named test in the current directory. <Sysname> mkdir slot2#flash:/test .. <Sysname> mkdir test/subtest .... %Created dir slot2#flash:/test.

Release 0000 # sysname Test # ---. Beta 1201. <Sysname> more testcfg.cfg. the system will move the source file to the specified folder. 99 . fileurl-dest: Name of the target file or folder. Syntax move fileurl-source fileurl-dest View User view Default level 3: Manage level Parameters fileurl-source: Name of the source file. with the file name unchanged.cfg # version 5.Examples #Display the contents of file testcfg. • If you specify a target folder. • You cannot move files between storage media of different types.20.cfg on a subordinate (with the member ID 2). Standard # sysname Sysname # vlan 2 # return <Sysname> #Display the contents of file testcfg. <Sysname> more slot2#flash:/testcfg.More ---- move Description Use move to move a file.20.cfg # version 5.

Examples
# Move file flash:/test/sample.txt to flash:/, and save it as 1.txt.
<Sysname> move test/sample.txt 1.txt
Move flash:/test/sample.txt to flash:/1.txt?[Y/N]:y
...
% Moved file flash:/test/sample.txt to flash:/1.txt

# Move file b.cfg to the subfolder test2.
<Sysname> move b.cfg test2
Move flash:/b.cfg to flash:/test2/b.cfg?[Y/N]:y
.
%Moved file flash:/b.cfg to flash:/test2/b.cfg.

pwd
Description
Use pwd to display the current path.

Syntax
pwd

View
User view

Default level
3: Manage level

Parameters
None

Example
# Display the current path.
<Sysname> pwd
flash:

rename
Description
Use rename to rename a file or folder. The target file name must be unique in the path.

Syntax
rename fileurl-source fileurl-dest

View
User view

Default level
3: Manage level
100

Parameters
fileurl-source: Name of the source file or folder.
fileurl-dest: Name of the target file or folder.

Example
# Rename file sample.txt as sample.bat.
<Sysname> rename sample.txt sample.bat
Rename flash:/sample.txt to flash:/sample.bat? [Y/N]:y

% Renamed file flash:/sample.txt to flash:/sample.bat

reset recycle-bin
Description
Use reset recycle-bin to permanently delete the files in the recycle bin in the directory.

If a file is corrupted, you may not be able to delete the file using the reset recycle-bin command.
To force the corrupted file to delete, use the reset recycle-bin /force command.

The delete file-url command only moves a file to the recycle bin, and the file still occupies the
memory space. To delete the file in the recycle bin, execute the reset recycle-bin command in the
original directory of the file.

If the original path of the file to be deleted is not the current directory, use the cd to enter the
original directory of the file, and then execute the reset recycle-bin command.

Syntax
reset recycle-bin [ /force ]

View
User view

Default level
3: Manage level

Parameter
/force: Deletes all files in the recycle bin, including files that cannot be deleted by the command
without the /force keyword.

101

Examples
# Delete file b.cfg in the current directory and in the recycle bin.

Display all the files in the recycle bin and in the current directory.
<Sysname> dir /all
Directory of flash:/
0

-rwh

3080

Apr 26 2008 16:41:43

private-data.txt

1

-rw-

2416

Apr 26 2008 13:45:36

config.cfg

2

-rw-

8036197

May 14 2008 10:13:18

main.bin

3

-rw-

2386

Apr 26 2008 13:30:30

back.cfg

4

drw-

-

May 08 2008 09:49:25

test

5

-rwh

716

Apr 24 2007 16:17:30

hostkey

6

-rwh

572

Apr 24 2007 16:17:44

serverkey

7

-rw-

2386

May 08 2008 11:14:20

[a.cfg]

8

-rw-

3608

Dec 03 2007 17:29:30

[b.cfg]

515712 KB total (6730 KB free)

//The output shows that the current directory is flash:, and two files a.cfg and b.cfg are in the
recycle bin.

Delete file b.cfg in the current directory and in the recycle bin.
<Sysname> reset recycle-bin
Clear flash:/~/a.cfg ?[Y/N]:n
Clear flash:/~/b.cfg ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
......
%Cleared file flash:/~/b.cfg...

In directory flash:, check whether the file b.cfg in the recycle bin is deleted.
<Sysname> dir /all
Directory of flash:/

0

-rwh

3080

Apr 26 2008 16:41:43

private-data.txt

1
2

-rw-

2416

Apr 26 2008 13:45:36

config.cfg

-rw-

8036197

May 14 2008 10:13:18

main.bin

3

-rw-

2386

Apr 26 2008 13:30:30

back.cfg

4

drw-

-

May 08 2008 09:49:25

test

5

-rwh

716

Apr 24 2007 16:17:30

hostkey

6

-rwh

572

Apr 24 2007 16:17:44

serverkey

7

-rw-

2386

May 08 2008 11:14:20

[a.cfg]

515712 KB total (6734 KB free)

// The output shows that file flash:/b.cfg is deleted permanently.

102

rmdir
Description
Use rmdir to remove a folder.

The folder must be an empty one. If not, delete all files and subfolders under it with the delete
command.

After you execute the rmdir command successfully, the files in the recycle bin in the folder will be
deleted automatically.

Syntax
rmdir directory

View
User view

Default level
3: Manage level

Parameter
directory: Name of the folder.

Example
# Remove folder mydir.
<Sysname> rmdir mydir
Rmdir flash:/mydir?[Y/N]:y

%Removed directory flash:/mydir.

undelete
Description
Use undelete to restore a file from the recycle bin.
If you create a file with the same name in the same path, the system prompts you whether to overwrite
the original file.

Syntax
undelete file-url

View
User view

Default level
3: Manage level

Parameter
file-url: Name of the file to be restored.

103

cfg.cfg in directory flash:/test from the recycle bin.cfg?[Y/N]:y %Undeleted file flash:/test/b..cfg Undelete flash:/a.cfg Undelete flash:/test/b..cfg in directory flash: from the recycle bin.cfg. you can use the following steps to restore file flash:/test/b.. 104 .cfg.cfg?[Y/N]:y . <Sysname> cd test <Sysname> undelete b.cfg?[Y/N]:y ... %Undeleted file flash:/test/b..cfg Undelete flash:/test/b.. # Or.. %Undeleted file flash:/a.. <Sysname> undelete a. # Restore file b.cfg.Examples # Restore file a. <Sysname> undelete flash:/test/b..

the running configuration file (filename prefix + serial number) is saved to the master.cfg is saved. Continue? [Y/N]: Y Please wait. • When archive configuration executes. 105 .. you must configure the filename prefix and path for saving configuration files by using the archive configuration location command. Syntax archive configuration View User view Default level 3: Manage level Parameters None Example # Save the running configuration manually. • Before executing archive configuration. • The archive configuration interval command executes on the master and its subordinate switches. • Before executing the archive configuration interval command. archive configuration interval Description Use archive configuration interval to enable the automatic saving of the running configuration and set the interval.. Info: The archive configuration file myarchive_1. you must configure the filename prefix and path for saving configuration files using the archive configuration location command. • Configure an automatic saving interval according to the storage media performance and the frequency of configuration modification. <Sysname> archive configuration Warning: Save the running configuration to an archive file. The subordinate switches do not perform the saving operation.Configuration file management commands archive configuration Description Use archive configuration to manually save the running configuration. Executing this command on the subordinate switches ensures configuration rollback after the master is changed.

the saving and rollback operations are executed only on the master. • If this command is executed. HP recommends that you save the running configuration manually.• If switch configuration does not change frequently. • When the switch is operating in active/standby mode. in minutes. verify that the path is available on both the master and the subordinate switches. and clear the saved configuration files. Syntax archive configuration interval minutes undo archive configuration interval View System view Default level 3: Manage level Parameter minutes: Specifies the interval for automatically saving the running configuration. The path cannot include any member ID. <Sysname> system-view [Sysname] archive configuration interval 60 Info: Archive files will be saved every 60 minutes. Use archive configuration location to configure the path and filename prefix for saving configuration files on both master and subordinate switches. After the active/standby switchover. the running configuration cannot be saved manually or automatically. Use undo archive configuration interval to restore the default (the system does not automatically save by default). 106 . Use undo archive configuration location to restore the default. the file path and filename prefix must be configured. the path and filename prefix for saving configuration files are not configured. • The configuration done by executing the archive configuration interval and archive configuration max commands will restore the default. archive configuration location Description Before executing this command. The value ranges from 10 to 525. • By default. Example # Configure the system to save the running configuration every 60 minutes. and the system does not save the configuration file periodically. the configuration rollback can take effect on the new master.600 (365 days). • Before the running configuration is saved either manually or automatically.

<Sysname> system-view [Sysname] archive configuration location flash:/archive filename-prefix my_archive archive configuration max Description Before executing this command. Example # Configure the path and the filename prefix for saving configuration files as flash:/archive/ and my_archive respectively. <Sysname> mkdir slot2#flash:/archive %Created dir slot2#flash:/archive.only). • Configure the path and the filename prefix for saving configuration files. • Create folder flash:/archive on the master. %Created dir flash:/archive. <Sysname> mkdir archive . the maximum number of configuration files that can be saved also restores to the default. • Excessive configuration files occupy large memory space: Use this command to control the number of files. • After the maximum number of configuration files is saved. otherwise. 107 . configure the path and filename prefix for saving configuration files by using the archive configuration location command. _. • Create folder flash:/archive on a subordinate switch with the member ID 2. the system deletes the oldest files when the next file is saved (either automatically or manually).Syntax archive configuration location directory filename-prefix filename-prefix undo archive configuration location View System view Default level 3: Manage level Parameters directory: The path of the folder for saving configuration files. and . a string of 1 to 63 case-insensitive characters. filename-prefix: The filename prefix for saving configuration files. in the format of storage media name:/[folder name]/subfolder name. Use archive configuration max to set the maximum number of configuration files that can be saved. The folder must be created before the configuration. a case-insensitive string of 1 to 30 characters (can include letters. the execution of this command fails. If the undo archive configuration location command is executed. numbers.

for example: if the number of configuration files that have been saved is 7. The value of the file-number argument is determined by the memory space. Currently. set a comparatively small value for this argument. the switch uses TFTP to back up configuration files.the newly configured number + 1. Example # Set the maximum number of configuration files that can be saved to 10. where 4 = 7-4+1. If you do not specify this filename. Syntax backup startup-configuration to dest-addr [ dest-filename ] View User view Default level 2: System level 108 . Syntax archive configuration max file-number undo archive configuration max View System view Default level 3: Manage level Parameter file-number: The maximum number of configuration files that can be saved. • If the number of the existing configuration files is larger than or equal to the newly configured upper limit. the system deletes the 4 oldest files. the original filename is used. the system deletes the oldest n files when the next file is saved. Use backup startup-configuration to back up the startup configuration file for the next system startup to a specified TFTP server. the exceeded files are not deleted. where n = the current number . <Sysname> system-view [Sysname] archive configuration max 10 backup startup-configuration Description For a switch that has main and backup startup configuration files. when there is a new configuration file to be saved. and the newly configured upper limit is 4. Use undo archive configuration max to restore the default (five is the maximum number of configuration files saved by default). If the available memory space is small.• When you change the maximum number of configuration files that can be saved. in the range 1 to 10. this command only backs up the main startup configuration file.

cfg. <Sysname> display startup Current startup saved-configuration file: flash:/config. the device backs up file test.Parameters dest-addr: IP address or name of a TFTP server.2.cfg Info: Now replacing the current configuration.. The address cannot be an IPv6 address.2. the running configuration rolls back to the configuration state based on the specified configuration file (filename).2.2. <Sysname> system-view [Sysname] configuration replace file my_archive_1.2.2 192-168-1-26. Example # Back up the startup configuration file of the device to the TFTP server with IP address 2.cfg.cfg <Sysname> backup startup-configuration to 2.cfg. • When this command is executed.cfg Backup next startup-configuration file to 2. • The configuration file specified with the configuration replace file filename command can only be a simple-text file. please wait…finished! <Sysname> After the operation.2.cfg Next startup saved-configuration file: flash:/test. dest-filename: Target filename used to save the startup configuration file for the next system startup on the server.cfg. Please wait. Info: Succeeded in replacing current configuration with the file my_archive_1.2..2.2.cfg to TFTP server 2. Example # Roll back from the running configuration to a previous configuration state based on a saved configuration file my_archive_1. configuration replace file Description Use configuration replace file to set configuration rollback. errors can occur during configuration rollback. Syntax configuration replace file filename View System view Default level 3: Manage level Parameter filename: Specifies the name of the replacement configuration file for configuration rollback.2. using filename 192-168-1-26. where the file is saved as 192-168-1-26. Otherwise. 109 .2.

cfg ‘#’ indicates the most recent archive file.cfg 2 Aug 05 2007 20:34:54 my_archive_2. include: Displays all lines that match the regular expression. with path excluded. Archive interval in minutes Filename Configuration file saving interval. see CLI configuration in the Fundamentals Configuration Guide.cfg Table 14 Command output Field Description Location Absolute path of the saved configuration files. regular-expression: Specifies a regular expression. <Sysname> display archive configuration Location: flash:/archive Filename prefix: my_archive Archive interval in minutes: 120 Maximum number of archive files: 10 Saved archive files: No. Next archive file to be saved: my_archive_4. this field is not displayed. a case-sensitive string of 1 to 256 characters. Filename of the saved configuration files. If the automatic saving is disabled. For more information about regular expressions. in minutes. Syntax display archive configuration [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. Filename prefix Filename prefix of the saved configuration files. 110 . begin: Displays the first line that matches the regular expression and all lines that follow. Example # Display information about configuration rollback.display archive configuration Description Use display archive configuration to display information about configuration rollback. exclude: Displays all lines that do not match the regular expression. TimeStamp FileName 1 Aug 05 2007 20:24:54 my_archive_1.cfg # 3 Aug 05 2007 20:44:54 my_archive_3.

If you execute the display current-configuration command. If no parameter is used. begin: Displays the first line that matches the regular expression and all lines that follow.display current-configuration Description Use display current-configuration to view the current validated device configuration. IP address 11. • post-system: Displays the post-system configuration. • system: Displays the system configuration. exclude: Displays all lines that do not match the regular expression. by-linenum: Specifies to display the number of each line. IP address 11.255. reset saved-configuration. where interfacetype represents the interface type and interface-number represents the interface number. see CLI configuration in the Fundamentals Configuration Guide. display the specified information. • radius-template: Displays the Radius template configuration.255. • acl: Excludes the IPv4 ACL configuration. meaning the validated subnet mask is 32 bits. Related commands: save.11. 111 . The modules argument can be acl.11 24 has been configured on a Loopback interface. |: Filters command output by specifying a regular expression. and display saved-configuration.255 is displayed. exclude modules: Excludes the configuration of a specific module. • user-interface: Displays the user interface configuration. all the non-interface configuration is displayed. For example. or both separated by a space. • Parameter retaining their default configurations are not displayed. For example: • isis: Displays the isis configuration. acl6. it is displayed. interface [ interface-type ] [ interface-number ]: Displays the interface configuration. • If a validated parameter is changed when you configure it. • isp: Displays the ISP configuration.11.11. if parameters are used.11. • acl6: Excludes the IPv6 ACL configuration. For more information about regular expressions.11 255. Syntax display current-configuration [ [ configuration [ configuration ] | interface [ interface-type ] [ interface-number ] | exclude modules ] [ by-linenum ] [ | { begin | exclude | include } regularexpression ] ] View Any view Default level 2: System level Parameters configuration [ configuration ]: display a non-interface configuration.

Related commands: display current-configuration and display saved-configuration. (The output information depends on your device model and the current configuration. Syntax display default-configuration [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters |: Filters command output by specifying a regular expression.include: Displays all lines that match the regular expression. exclude: Displays all lines that do not match the regular expression. a case-sensitive string of 1 to 256 characters. <Sysname> display current-configuration | begin user-interface user-interface aux 0 user-interface vty 0 15 authentication-mode none user privilege level 3 # return # Display the current valid SNMP configuration on the device. regular-expression: Specifies a regular expression. a case-sensitive string of 1 to 256 characters. For more information about regular expressions. include: Displays all lines that match the regular expression. 112 . see CLI configuration in the Fundamentals Configuration Guide. regular-expression: Specifies a regular expression. begin: Displays the first line that matches the regular expression and all lines that follow.) <Sysname> display current-configuration | include snmp snmp-agent snmp-agent local-engineid 800063A203000FE240A1A6 snmp-agent community read public snmp-agent community write private snmp-agent sys-info version all undo snmp-agent trap enable ospf 100 display default-configuration Description Use display default-configuration to display all commands to be executed when the device boots with the factory defaults. Examples # Display the configuration from the line containing “user-interface” to the last line in the current validated configuration.

1 1646 user-name-format without-domain # domain system access-limit disable state active idle-cut disable self-service-url disable # interface NULL0 # interface GigabitEthernet1/0/1 # interface GigabitEthernet1/0/2 # interface GigabitEthernet1/0/3 # interface GigabitEthernet1/0/4 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface GigabitEthernet1/0/9 # interface GigabitEthernet1/0/10 113 .0.Example # Display the factory defaults of the device.1 1645 primary accounting 127.0.0. <Sysname> display default-configuration # domain default enable system # telnet server enable # undo ip redirects undo ip ttl-expires undo ip unreachables # vlan 1 # radius scheme system server-type extended primary authentication 127.0.

114 .# interface GigabitEthernet1/0/11 # interface GigabitEthernet1/0/12 # interface GigabitEthernet1/0/13 # interface GigabitEthernet1/0/14 # interface GigabitEthernet1/0/15 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 # interface GigabitEthernet1/0/19 # interface GigabitEthernet1/0/20 # interface GigabitEthernet1/0/21 # interface GigabitEthernet1/0/22 # interface GigabitEthernet1/0/23 # interface GigabitEthernet1/0/24 # interface Ten-GigabitEthernet1/0/25 # interface Ten-GigabitEthernet1/0/26 # interface Ten-GigabitEthernet1/0/27 # interface Ten-GigabitEthernet1/0/28 # user-interface aux 0 user-interface vty 0 4 # return display saved-configuration Description Use display saved-configuration to view the contents of the configuration file saved for the next system startup.

port. include: Displays all lines that match the regular expression. Syntax display saved-configuration [ by-linenum ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters by-linenum: Identifies each line of displayed information with a line number. |: Filters command output by specifying a regular expression. and user interface. • For a switch supporting main and backup configuration files. Related commands: save. this command displays the main configuration file for the next system startup. For more information about regular expressions. a case-sensitive string of 1 to 256 characters. • Pressing Enter displays the next line. • Pressing Space displays the next screen. The More prompt indicates that there are more lines than the screen can display. • If the default configuration file does not exist. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. the display savedconfiguration command displays the default configuration file of the switch. 115 . see CLI configuration in the Fundamentals Configuration Guide." • The configurations are displayed in the order of global. the system prompts “The config file does not exist!. and display current-configuration (in Device Management in the Fundamentals Command Reference). regular-expression: Specifies a regular expression. reset saved-configuration. you can use this command to check whether important configurations are saved to the configuration file for the next system startup.• During device management and maintenance. • Pressing Ctrl+C or any other key exist the display. • If a configuration file is not specified or does not exist for the next startup.

<Sysname> display saved-configuration by-linenum 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: # version 5.20. Test 5310 # sysname Sysname # domain default enable system # telnet server enable # multicast routing-enable # vlan 1 # vlan 999 # domain system access-limit disable state active idle-cut disable self-service-url disable # interface NULL0 # ---.More ---- # Display the contents of the configuration file saved for the next system startup with a number identifying each line.20.Examples # Display the configuration file saved for the next system startup. <Sysname> display saved-configuration # version 5. Test 5310 # sysname Sysname # domain default enable system # telnet server enable # multicast routing-enable 11: # 12: vlan 1 13: # 14: vlan 999 15: # 16: domain system 17: access-limit disable 116 .

it runs with the current configuration. • The subordinate switches are started and run based on the current master configuration. include: Displays all lines that match the regular expression. 117 . Related commands: startup saved-configuration. The subordinate switches will also be NULL to be consistent with the new master. a case-sensitive string of 1 to 256 characters.18: state active 19: idle-cut disable 20: self-service-url disable 21: # 22: interface NULL0 23: # ---. the startup configuration file for the current startup of the new master is displayed as NULL. • When you execute the display startup command. • The current startup configuration files displayed on all member devices of an IRF virtual device are always the same. begin: Displays the first line that matches the regular expression and all lines that follow. regular-expression: Specifies a regular expression. • After the master is changed. exclude: Displays all lines that do not match the regular expression. For more information about regular expressions. Syntax display startup [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. see CLI configuration in the Fundamentals Configuration Guide.More ---- display startup Description Use display startup to view the configuration file for the system startup and the configuration files for the next system startup.

cfg Next backup startup saved-configuration file: flash:/startup2. <Sysname> display startup MainBoard: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/startup. • Execution of this command in any VLAN view displays the configurations of all the created VLANs.cfg Slot 2: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/startup. • The validated default configuration is not displayed. • The invalidated configuration is not displayed.Example # Display the startup configuration file for the current system startup and the startup configuration files for the next system startup.cfg Table 15 Command output Field Description MainBoard The configuration files for the current and the next startup of the master Current Startup saved-configuration file The configuration file for the current startup Next main startup saved-configuration file The main configuration file for the next startup Next backup startup saved-configuration file The backup configuration file for the next startup Slot 2 The configuration files for the current and the next startup of the subordinate switch (with the member ID 2) display this Description Use display this to check whether your configuration takes effect by displaying the validated configuration information under the current view. • Execution of this command in any user interface view displays the valid configuration in all the user interfaces.cfg Next backup startup saved-configuration file: flash:/startup2. Syntax display this [ by-linenum ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level 118 .

|: Filters command output by specifying a regular expression. regular-expression: Specifies a regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. include: Displays all lines that match the regular expression.Parameters by-linenum: Displays the number of each line.(The output information depends on your device model and the current configuration.) <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] display this # user-interface aux 0 user-interface vty 0 history-command max-size 256 user-interface vty 1 15 # return 119 . a case-sensitive string of 1 to 256 characters. Examples # Display the valid configuration information on interface GigabitEthernet1/0/1. (The output information depends on your device model and the current configuration. For more information about regular expressions. exclude: Displays all lines that do not match the regular expression.) <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] display this # interface GigabitEthernet1/0/1 port link-type hybrid undo port hybrid vlan 1 port hybrid vlan 2 to 4 untagged port hybrid pvid vlan 2 # return # Display the valid configuration information about all user interfaces. see CLI configuration in the Fundamentals Configuration Guide.

the system will only set the corresponding startup configuration file (main or backup. MainBoard: Configuration file is cleared. • This command will permanently delete the startup configuration file from all member devices of the IRF virtual device. Please wait .reset saved-configuration Description Use reset saved-configuration to delete the startup configuration files saved on the storage media of the device. Are you sure? [Y/N]:y Configuration file in flash is being cleared... • You can delete either the main or backup startup configuration file. according to which one you specified in the command) to NULL. However. main: Deletes the main startup configuration file. if these files are the same. . Example # Delete the startup configuration file for the next startup from the storage media of the device. • Both the reset saved-configuration command and the reset saved-configuration main command delete the main startup configuration file. Slot 2: Erase next configuration file successfully 120 . Related commands: save and display saved-configuration. <Sysname> reset saved-configuration backup The saved configuration file will be erased. Use it with caution.. Syntax reset saved-configuration [ backup | main ] View User view Default level 3: Manage level Parameters backup: Deletes the backup startup configuration file.

• When backing up the configuration file to the subordinate switches. Syntax restore startup-configuration from src-addr src-filename View User view Default level 3: Manage level Parameters src-addr: IP address or name of a TFTP server. <Sysname> restore startup-configuration from 2. and specify it as the startup configuration file for the next system startup. and the file is to be used as the main startup configuration file for the next system startup. • This command downloads the configuration file to the storage media root directory of all member devices and specifies the file as the startup configuration file for the next startup of all member devices.. src-filename: Filename of the configuration file to be downloaded from the specified server.cfg Restore next startup-configuration file from 2...2.2. The address cannot be an IPv6 address. the device saves the file to the root directory.cfg from the TFTP server whose IP address is 2.2.2. Please wait.finished! 121 . • If the file to be downloaded has the same filename as an existing file on a member device. • Both master and subordinate switches are assumed to use the same type of storage media when the device is checking the filename or backing up the configuration file to the subordinate switches.2. a prompt asks if you want to overwrite the existing file. Example # Download file config.2. the backup operation fails.finished! Now restore next startup-configuration file from main to slave board.2 config.restore startup-configuration Description Use restore startup-configuration to download a configuration file from the specified TFTP server to the switch. Please wait.. If the master and the subordinate switches are of different types. • The downloaded file is set as the main startup configuration file for the next system startup.2.2.

the system will create the file and then save the configuration to the file. this argument cannot include a member ID. display currentconfiguration. the configuration file is saved in fast mode. and specify the file as the startup configuration file for the next system startup..cfg. When used with the keyword all or slot. slotnumber represents the member ID of a member device of an IRF virtual device. If this argument is not specified. Syntax save file-url [ all | slot slot-number ] save [ safely ] [ backup | main ] [ force ] View Any view Default level 2: System level Parameters file-url: File path. safely: Sets the configuration saving mode to safe. Related commands: slave auto-update config. all: Saves the current configuration in the specified filename to all member devices of an IRF virtual device. • The configuration file auto-save function determines whether the save [ safely ] [ backup | main ] [ force ] command or the save file-url all command+Enter takes effect on all member devices or only on the master. main: Saves the current configuration to the main startup configuration file specified in the interactive mode. If the backup keyword is not included. If the file path includes a folder name. but not the startup configuration file for the next system startup. where the extension of the file name must be . the main keyword is used by default. force: Saves the current configuration to the configuration file for the next system startup. you must first create the folder on the member device. backup: Saves the current configuration to the startup configuration file specified in the interactive mode. reset saved-configuration. the system asks you to input Y or N to confirm your operation. and the system does not output any interaction information.save Description Use save file-url [ all | slot slot-number ] to save the current configuration to the specified configuration file. By default. and specifies the file as the backup startup configuration file for the next system startup. and specifies the file as the main startup configuration file for the next system startup. the operation will fail. when you execute the save command. the configuration is saved to the master. If you do not confirm your operation 122 . otherwise. slot slot-number: Saves the current configuration in the specified filename to a subordinate switch. and display saved-configuration. • If the file specified by file-url does not exist. • If the all or slot parameter is not included. • Use save [ safely ] [ backup | main ] [ force ] to save the current configuration to the root directory of a member device’s storage media.

123 ... the system automatically quits the operation.. press the enter key):startup. <Sysname> save The current configuration will be written to the device..cfg Next backup startup saved-configuration file: NULL Slot 2: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/aa... Examples # Save the current configuration to the root directory of the storage media on a member device.within 30 seconds.cfg Next backup startup saved-configuration file: NULL // The output indicates that the main startup configuration file for the next startup of all member devices of the IRF virtual device is changed to startup. <Sysname> display startup MainBoard: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/aa..cfg.. Slot 2: Save next configuration file successfully Configuration is saved to device successfully..cfg Next backup startup saved-configuration file: NULL Slot 2: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/startup. If you provide the force keyword when executing the save command. Please wait. Are you sure? [Y/N]:y Please input the file name(*.... not requiring any confirmation..cfg Next backup startup saved-configuration file: NULL // The output indicates that the main startup configuration file for the next startup of all the member devices is aa. the system directly saves the current configuration.cfg flash:/startup. and specify the file as the startup configuration file for the next startup.cfg exists.cfg)[flash:/aa.cfg... <Sysname> display startup MainBoard: Current startup saved-configuration file: NULL Next main startup saved-configuration file: flash:/startup.. overwrite? [Y/N]:y Validating file. Saved the current configuration to mainboard device successfully.cfg] (To leave the existing filename unchanged.

. Please wait...cfg slot 2 The current configuration will be saved to slot2#flash:/test..# Save the current configuration in the name of test.cfg. . slave auto-update config Description Use slave auto-update config to enable the configuration file auto-save function..cfg to a subordinate switch. the configuration file auto-save function is enabled.... Slot 2: Save next configuration file successfully Configuration is saved to device successfully..... Use undo slave auto-update config to disable the function..... without any confirmation required.. Continue? [Y/N]:y Now saving current configuration to the device..cfg # Save the current configuration to the main startup configuration file for the next startup of the device.... Syntax slave auto-update config undo slave auto-update config View System view Default level 2: System level Parameters None Example # Enable the configuration file auto-save function.. • Approach 1: With the member ID of 2: <Sysname> save test. <Sysname> save force Validating file. <Sysname> system-view [Sysname] slave auto-update config 124 . Saving configuration slot2#flash:/test.cfg.... Configuration is saved to slot2#flash successfully. • Approach 2: Use the following command: <Sysname> save slot2#flash:/test.. Saved the current configuration to mainboard device successfully. By default. Please wait.

• The startup saved-configuration and startup saved-configuration main commands have the same effect: Use both of them to specify the main startup configuration file. The file must be a file with an extension . ensure that the configuration file has been saved to the root directories of the storage media of all the member devices. • When you execute the undo startup saved-configuration command and reboot the IRF virtual device or an IRF member device. However.cfg stored in the root directory of the storage media. 125 . save the same configuration file twice naming one the main startup configuration file. • The startup configuration file for the next startup of all the member devices must be the same. and the other the backup. the system sets the main and backup startup configuration file as NULL. main: Sets the configuration file as the main startup configuration file for the next system startup. Syntax startup saved-configuration cfgfile [ backup | main ] undo startup saved-configuration View User view Default level 3: Manage level Parameters cfgfile: Configuration file name. the IRF virtual device is partitioned. or. backup: Sets the configuration file as the backup startup configuration file for the next system startup. HP recommends that you use different files. Use undo startup saved-configuration to configure all the member devices to start up with the null (factory) configuration.startup saved-configuration Description Before using the command. • If you execute the undo startup saved-configuration command. Related commands: display startup. Use startup saved-configuration to specify a next system startup configuration file for all member devices. • The main and backup startup configuration files can be specified as the same file. but does not delete the two configuration files.

...Example # Specify a startup configuration file for the next system startup..... <Sysname> startup saved-configuration testcfg. Setting the master board ... Done! Setting the slave board . Slot 2: Set next configuration file successfully 126 .cfg Please wait .. ......

• If the storage media is on a subordinate switch. The absolute path should contain no more than 63 characters. the file-url argument must contain the member ID (such as slot2#flash:/test. and slot-number should be specified as the subordinate switch’s member ID. Related commands: display boot-loader. otherwise. • If the storage media is on the master. a subordinate switch will reboot using the master's boot file and rejoin the IRF virtual device. • The names of the files for the next boot of the master and subordinate switches may be different. save the file to be used at the next device boot in the root directory of the storage media on a member switch. • When you specify the master’s boot file. the file-url parameter cannot contain a member ID. 127 . the system automatically converts it to an absolute path. a string of 1 to 63 characters. The file name is in the format of [drive:/]file-name. • If you provide the keyword all. • To execute the boot-loader command successfully. in the format of slotslot-number# StorageMediumName (slot-number represents the member ID of the subordinate). If you enter a relative path here. the command cannot be successfully executed. specify the storage media by giving its name and the member ID of the switch. that is. and slot-number should be specified as the master’s member ID. member switches without this file will fail to be reconfigured during the reboot. such as flash. You must save the boot file on the storage media of all member switches in the same filename. the file-url parameter cannot contain the device’s member ID. otherwise. such as slot2#flash. where the following conditions apply: • The items in square brackets [ ] are optional. the execution of this command will fail. specify the storage media by giving its name. otherwise.bin). • When you specify the subordinate switch’s boot file.Software upgrade commands boot-loader Description Use boot-loader to specify a boot file for the next device boot of a member switch. Syntax boot-loader file file-url slot { all | slot-number } { main | backup } View User view Default level 3: Manage level Parameters file file-url: Specifies a file name. otherwise. but the file versions must be the same.

slot slot-number: Specifies the member ID of a device. the boot file is copied to all the current IRF virtual device’s member switches. Execution of this command equals the following steps: • Copying a boot file to an IRF member switch. otherwise. If a device has only one storage media. If the all keyword is specified. and the execution of the command fails. Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot on slot 1! # Specify the main boot file for the subordinate switch (the member ID is 2) for the next device boot as test.bin slot all main This command will set the boot file of the specified board. • all: Specifies a file as the boot file at the next boot for all member switches of an IRF virtual device.) <Sysname> boot-loader file test.bin is already saved on the storage media of all the member switches.) <Sysname> boot-loader file slot2#flash:/test. (Make sure that the file test.bin. The value is the name of the storage media. (Make sure that the file test. the system prompts an error. Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot on slot 2! # Specify the main boot file for all member switches for the next device boot as test. Examples # Specify the main boot file for the master (the member ID is 1) for the next device boot as test. • slot-number: Specifies a file as the boot file at the next boot for a member switch.bin.bin. and the execution of the command fails. (Make sure that the file test. Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot on slot 1! The specified file will be used as the main boot file at the next reboot on slot 2! boot-loader update file Description Use boot-loader update file to specify a boot file to be used at the next boot of a member switch or all the member switches. otherwise. • Specifying the file as the boot file to be used at the next boot of the member switch. main: Specifies a file as a main boot file. • file-name specifies the filename.bin. backup: Specifies a file as a backup boot file. The slotnumber argument is the ID of a member switch of the current IRF virtual device. Support for this keyword depends on the device model.) <Sysname> boot-loader file test. otherwise. 128 . you can execute this command without providing this argument. the system prompts an error and the execution of the command fails. usually suffixed by . Use a backup boot file to boot a device only when a main boot file is unavailable.bin slot 1 main This command will set the boot file of the specified board.bin is already saved on the storage media of the subordinate switch. Use a main boot file to boot a device.• drive specifies the storage media of the file. the system prompts an error.bin slot 2 main This command will set the boot file of the specified board.bin is already saved on the storage media of the master.

• If a storage media is on a subordinate switch. backup: Specifies a file as the backup boot file. • When you upgrade the BOOT ROM program for a subordinate switch. • When you upgrade the master’s BOOT ROM program. • If the storage media is on the master. the file-url argument cannot contain the device’s member ID. the file-url argument must contain the member ID (such as slot2#flash:/test. the slot-number should be specified as the subordinate switch’s member ID. please wait.bin). Example # Specify a boot file for the whole switch. and slot-number should be specified as the master’s member ID. a string of 1 to 63 characters. slot: Specifies the member ID of a device. <Sysname> reboot bootrom Description Use bootrom to read. • slot-number: Specifies to upgrade the boot file of a member switch. Continue? [Y/N]:Y Now is updating. main: Specifies a file as the main boot file. such as flash. such as slot2#flash. • all: Specifies to upgrade boot files for or all member switches of an IRF virtual device. slot-number is the ID of a member switch of the current IRF virtual device. and the subslot-number-list argument should be specified as the subordinate switch’s subslot number. back up. Use a backup boot file to boot a device only when a main boot file is unavailable. specify the storage media by giving its name. 129 . or upgrade the BOOT ROM program on specified member switches.Syntax boot-loader update file file-url slot { slot-number | all } { main | backup } View User view Default level 3: Manage level Parameters file-url: Specifies a file name. save the BOOT ROM program under the root directory of the storage media on a member switch. see boot-loader... For more information.bin slot all main This command will update the specified boot file of all boards. specify the storage media by giving its name and the member ID of the device in the format of slotslot-number# StorageMediumName (slot-number represents the subordinate switch’s member ID). Use a main boot file to boot a device. restore. <Sysname> boot-loader update file main. To execute the bootrom command.

(The output of this command varies with devices. see boot-loader. Continue? [Y/N]:y Now updating bootrom.btm file to upgrade the Boot ROM program on the master with member ID of 1.. For more information about the file-url argument. <Sysname> bootrom update file a. in the format of { slot-number [ to slotnumber ] }&<1-7>. The slot-number argument is the ID of a member switch of the current IRF virtual device. Examples # Use a. # Use the a.Syntax bootrom update file file-url slot slot-number-list View User view Default level 3: Manage level Parameters update file file-url: Upgrades Boot ROM. • By default. the validity check function is enabled at the time of upgrading BOOT ROM.btm file to upgrade the Boot ROM program on the subordinate switch with member ID of 2. Syntax bootrom-update security-check enable undo bootrom-update security-check enable View System view 130 . the device will strictly check whether the BOOT ROM upgrade files are valid and can match the hardware. please wait...btm slot 2 This command will update bootrom file on the specified board(s).. • After the validity check function is enabled. Use undo bootrom-update security-check enable to disable the validity check function.btm slot 1 This command will update bootrom file on the specified board(s). Bootrom update succeeded in slot 2. where file-url is a string of 1 to 63 characters and represents name of the file to be upgraded. Bootrom update succeeded in slot 1. slot slot-number-list: Specifies a list of IDs of member switches. bootrom-update security-check enable Description Use bootrom-update security-check enable to enable the validity check function. please wait.) <Sysname> bootrom update file slot2#flash:/a. Continue? [Y/N]:y Now updating bootrom.

) <Sysname> display boot-loader Slot 1 The current boot app is: flash:/test. For more information about regular expressions. <Sysname> system-view [Sysname] bootrom-update security-check enable display boot-loader Description Use display boot-loader to display boot file information. Syntax display boot-loader [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters slot slot-number: Displays boot file information of a member switch.bin 131 . Examples # Display the file adopted for the current and next boot of the device. regular-expression: Specifies a regular expression. |: Filters command output by specifying a regular expression. see CLI configuration in the Fundamentals Configuration Guide. include: Displays all lines that match the regular expression.bin The backup boot app is: flash:/test. a case-sensitive string of 1 to 256 characters.bin The main boot app is: flash:/test. begin: Displays the first line that matches the regular expression and all lines that follow. The slot-number argument is the ID of a member switch of the current IRF virtual device. (The output of this command varies with devices. Related commands: boot-loader.Default level 2: System level Parameters None Example # Enable the validity check function when upgrading Boot ROM. exclude: Displays all lines that do not match the regular expression.

exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. Example # Display hotfix information. regular-expression: Specifies a regular expression. see CLI configuration in the Fundamentals Configuration Guide. <Sysname> display patch information The location of patches: flash: Slot Version Temporary Common Current Active Running Start-Address ---------------------------------------------------------------------1 MPU 0 0 0 0 0 0x86262dd8 1. For more information about regular expressions. include: Displays all lines that match the regular expression.1 LPU 0 0 0 0 0 0x809533a4 132 . Syntax display patch information [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression.Table 16 Command output Field Description Slot 1 The member ID of the device is 1 The current boot app is Boot file used for the device for the current device boot The main boot app is Main boot file used for the next device boot of the device The backup boot app is Backup boot file used for the next device boot of the device display patch information Description Use display patch information to view hotfix information. a case-sensitive string of 1 to 256 characters.

To make them effective. use the patch location command. Active Number of patches in the ACTIVE state. • After you execute the command. slot slot-number: Specifies the ID of a member switch of the current IRF virtual device.Table 17 Command output Field Description The location of patches Patch file location. the original ACTIVE patches change to DEACTIVE and become invalid. • After a system reboot. Syntax patch active patch-number slot slot-number View System view Default level 3: Manage level Parameters patch-number: Sequence number of a patch. Temporary Number of temporary patches. Slot Member ID. Current Total number of patches. all the DEACTIVE patches before the specified patch are activated. Example # Activate patch 3 and all the DEACTIVE patches before patch 3 on the device with member ID of 1. <Sysname> system-view [Sysname] patch active 3 slot 1 133 . activate them again. To configure the location. Version Patch version. patch active Description The command applies to only patches in the DEACTIVE state. The first three characters represent the suffix of the PATCHFLAG. Start-Address Starting address of the memory patch area in the memory. Common Number of common patches. The valid values of this argument depend on the patch file used. Use patch active to activate the specified patch. Running Number of patches in the RUNNING state.

<Sysname> system-view [Sysname] patch deactive 3 slot 1 patch delete Description Use patch delete to delete the specified patch and all the patches after the specified patch.patch deactive Description This command is not applicable to the patches in the RUNNING state. Use patch deactive to stop running the patch and all the ACTIVE patches after the patch. Example # Stop running patch 3 and all the ACTIVE patches after patch 3 on the device with member ID of 1. • The system will run at the original software version. The valid values of this argument depend on the patch file used. • This command only removes the patches from the memory patch area. Syntax patch delete patch-number slot slot-number View System view Default level 3: Manage level 134 . • The patches are in the IDLE state after execution of this command. • All the ACTIVE patches (including the specified patch) turn to the DEACTIVE state. Syntax patch deactive patch-number slot slot-number View System view Default level 3: Manage level Parameters patch-number: Sequence number of a patch. it does not delete them from the storage media. slot slot-number: Specifies the ID of a member switch of the current IRF virtual device.

and turn to the RUNNING state from IDLE. slot slot-number: Specifies the ID of a member switch of the current IRF virtual device. Syntax patch install patch-location undo patch install View System view Default level 3: Manage level Parameter patch-location: A string consisting of 1 to 64 characters. It can be a root directory of a storage media or be in the format of "root directory + patch file name". patch load and patch active. patch active. It specifies the directory where the patch file locates. Example # Delete patch 3 and all the patches after patch 3 on the device with member ID being 1.Parameters patch-number: Sequence number of a patch. with values depending on the patch file used. 135 . the following message appears: Do you want to continue running patches after reboot? [Y/N]: • If you enter Y: All the specified patches are installed. Support for the argument depends on the device model. <Sysname> system-view [Sysname] patch delete 3 slot 1 patch install Description Before executing the command. This equals execution of the commands patch location. and patch run. patch load. The patches turn to the DEACTIVE state after system reboot. Use patch install to install all the patches in one step. • If you enter N: All the specified patches are installed and turn to the ACTIVE state from IDLE. This equals execution of the commands patch location. The patches remain RUNNING after system reboot. Use undo patch install to remove the patches. When you execute the patch install command. save the patch files to root directories in the storage media of the member switches.

<Sysname> system-view [Sysname] patch-install flash: Patches will be installed. Example # Load the patch file for the device with member ID of 1. Syntax patch load slot slot-number View System view Default level 3: Manage level Parameter slot slot-number: Specifies the ID of a member switch of the current IRF virtual device. By default. [Sysname] patch load Description Before executing the command. and patches will continue to run after reboot. the patch file location is flash:. save the patch files to root directories in the storage media of the member switches. <Sysname> system-view [Sysname] patch load slot 1 patch location Description Use patch location to configure the patch file location. Continue? [Y/N]:y Do you want to run patches after reboot? [Y/N]:y Installing patches… Installation completed. Syntax patch location patch-location View System view 136 .Example # Install the patches located on the Flash. Use patch load to load the patch file on the storage media to the memory patch area.

It is a string of 1 to 64 characters. • If the running of a patch is confirmed. <Sysname> system-view [Sysname] patch run 3 slot 1 137 . Syntax patch run patch-number [ slot slot-number ] View System view Default level 3: Manage level Parameters patch-number: Sequence number of a patch. after the system reboots. Example # Configure the root directory of the Flash as the patch file location. <Sysname> system-view [Sysname] patch location flash: patch run Description This command applies to patches in the ACTIVE state only.Default level 3: Manage level Parameter patch-location: Specifies the patch file location. • With the slot parameter specified. slot slot-number: Specifies the ID of a member switch of the current IRF virtual device. Example # Confirm the running of patch 3 and all the ACTIVE patches before patch 3 on the device with member ID being 1. The valid values of this argument depend on the patch file used. • If the slot parameter is not specified. Use patch run to confirm the running of a specific patch and all the ACTIVE patches before the specified patch. the patch will still be effective. the command confirms the running state of qualified patches on all member switches. the command confirms the running state of all qualified patches on a member switch. including patches on the OAM CPU.

Related commands: issu rollback-timer.ISSU commands display issu rollback-timer Description Use display issu rollback-timer to display information about the ISSU rollback timer. Examples # Display information about the rollback timer. see the Fundamentals Configuration Guide. For more information about regular expressions. 138 . <Sysname> display issu rollback-timer RollBack timer is in process. • A newly configured rollback timer takes effect in the next ISSU upgrade. Left: 43 minutes. Configured Rollback Timer: 45 minutes. • The current rollback timer may be greater than the newly configured rollback timer. regular-expression: Specifies a regular expression. a case-sensitive string of 1 to 256 characters. Syntax display issu rollback-timer [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. include: Displays all lines that match the regular expression. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow.

see the Fundamentals Configuration Guide. The remaining time in minutes before the rollback timer expires (it is displayed only when the rollback timer is started). begin: Displays the first line that matches the regular expression and all lines that follow. Use display issu state to view the ISSU state. <Sysname> display issu state ISSU state: Init Compatibility: Unknown Work State: Normal # After executing the issu load command. Examples # Display the ISSU state before an ISSU upgrade. RollBack timer is not in process • No ISSU is performed. Syntax display issu state [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. • The ISSU upgrade has completed. including whether the new boot file is compatible with the current one and the adopted ISSU upgrade method. include: Displays all lines that match the regular expression. For more information about regular expressions. • The rollback timer has been deleted (the issu accept or issu commit command deletes the rollback timer). Left display issu state Description This command helps you determine the next step during an ISSU upgrade that must follow a strict procedure. display the ISSU state on the master.Table 18 Command output Field Description RollBack timer is in process An ISSU upgrade is being performed and the rollback timer runs normally. exclude: Displays all lines that do not match the regular expression. regular-expression: Specifies a regular expression. 139 . The rollback timer is not working. a case-sensitive string of 1 to 256 characters.

which takes the value of Board by board. • Incompatible: The current boot file is incompatible with the new boot Compatibility file. • Accept: The ISSU upgrade has been accepted. • Unknown: The specified boot file version does not support ISSU. No auto-rollback will be performed during this ISSU process.bin Table 19 Command output Field Description • Init: No ISSU upgrade starts or an ISSU process has completed. and the rollback timer has been deleted. 140 . • Load: The specified subordinate switch has been upgraded. The force keyword is required when you execute the issu load command. In this mode. The working mode of the IRF virtual switch: Work State • Normal: Normal working mode. The specified IRF member switch enters the Recover state after it is rebooted with the new boot file. Upgrade Method ISSU upgrade method. The specified subordinate switch enters the Recover state after rebooted with the new boot file. Upgrade version New boot file version. it may be that an IRF member switch is being upgraded and version information exchange is not yet complete. neither manual nor automatic rollback can be performed. • Commit: Not all the IRF member switches have been upgraded. The rollback timer is running. you cannot upgrade the boot file of the IRF virtual switch through ISSU.<Sysname> display issu state ISSU state: Load Compatibility: Compatible Work State: Normal Upgrade Method: Board by board Original version: R1210 Original boot file is flash:/A5800_r1210. Version compatibility check results: • Compatible: The current boot file is compatible with the new boot file. • Independent active: Incompatible ISSU is adopted. Original version Original boot file version. In this state. • Switchover: The master has been rebooted with the issu run ISSU state switchover command. Upgrade boot file Directory of the new boot file. or the boot file cannot be upgraded through ISSU. If the new version is not available (N/A). Original boot file Directory of the original boot file of each IRF member switch.bin Upgrade version: R1211 Upgrade boot file is flash:/A5800_r1211.

a case-sensitive string of 1 to 256 characters. see the Fundamentals Configuration Guide. the system automatically converts it to an absolute path in the format of [drive:/]file-name. exclude: Displays all lines that do not match the regular expression.display version comp-matrix Description Use display version comp-matrix to display version compatibility information. The file name is in the format of [drive:/]filename. If you enter a relative path in the format of file-name. begin: Displays the first line that matches the regular expression and all lines that follow. • If you do not provide the upgrading-filename parameter. The absolute path can contain no more than 63 characters. the compatibility information between the specified boot file and the boot file is displayed. where the following conditions apply: • The items in square brackets [ ] are optional. • drive specifies the Flash of a member switch. information recorded in the compatibility database reflects version compatibility of the current boot file and the history boot file. regular-expression: Specifies a regular expression. 141 . • If you provide the upgrading-filename parameter. include: Displays all lines that match the regular expression. For more information about regular expressions. The specified upgrading-filename must exist in the Flash. Syntax display version comp-matrix [ file upgrading-filename ] [ | { begin | exclude | include } regularexpression ] View Any view Default level 1: Monitor level Parameters file upgrading-filename: Displays compatibility information between the specified new boot file and the current boot file. • file-name specifies the name of the new boot file. and takes the format [ slotslot-number# ]flash:. |: Filters command output by specifying a regular expression.

Matrix for xx Product version of the xx switch series. the system deletes the rollback timer. With this command executed. Running Version Current boot file version of the IRF virtual switch.Examples # Display the version compatibility database information of the current boot file. Version Compatibility List List of software version compatibility information. Syntax issu accept slot slot-number View System view 142 . BB (Incompatible) The boot file with version BB is incompatible with the current boot file. CC (Unknown) Whether the boot file with version CC is compatible with the current boot file is unknown. issu accept Description Use issu accept to accept the ISSU upgrade and delete the auto-rollback timer. IRF member switches cannot automatically roll back to the previous version.bin after executing the issu load command. <Sysname> display version comp-matrix file bootfile. <Sysname> display version comp-matrix Number of Matrices in Table = 1 Matrix for HP A5800-24G-PoE+ Switch Running Version:R1211 Version Compatibility List: A1210 (Compatible) # View the version compatibility information between the current boot file and the new boot file bootfile. You must provide the force keyword when you execute the issu load command. AA (Compatible) The boot file with version AA is compatible with the current boot file.bin Number of Matrices in Table = 1 Matrix for HP A5800-24G-PoE+ Switch Running Version:R1210 Version Compatibility List: R1211 (Compatible) Table 20 Command output Field Description Number of Matrices in Table Number of product versions contained in the current IRF virtual switch.

Default level 2: System level Parameters slot slot-number: Specifies the ID of an IRF member switch. Related commands: issu load and issu commit. Before executing the issu load command. When this command executes. Syntax issu commit slot slot-number View System view Default level 2: System level Parameter slot slot-number: Specifies the ID of a member switch that is not upgraded. Related commands: issu load and issu accept. <Sysname> system-view [Sysname] issu accept slot 1 issu commit Description Use issu commit to upgrade the specified member switch that is not upgraded. <Sysname> system-view [Sysname] issu commit slot 2 The specified board will reboot and be upgraded. verify the following conditions: 143 . Continue? [Y/N]:y issu load Description Use issu load file upgrading-filename slot slot-number [ force ] to upgrade the specified subordinate switch. Example # Accept the ISSU upgrade for the IRF member switch in slot 1. Example # Upgrade the member switch with ID 2. the subordinate switch reboots with the new boot file. You cannot perform a version rollback operation with the issu rollback command. The ID must be the same as that in the issu load command. Executing issu commit completes the ISSU upgrade process.

a string of 1 to 63 characters. Continue? [Y/N]: y issu rollback Description Use issu rollback to cancel the ISSU upgrade and revert to the previous version.bin. and directory).• The master and subordinate switch must run the same boot file (same version. • If the boot file specified by upgrading-filename is incompatible with the boot file. this keyword is not necessary to upgrade. Syntax issu load file upgrading-filename slot slot-number [ force ] View System view Default level 2: System level Parameters file upgrading-filename: Name of the new boot file. • All IRF member switches run the same boot file. <Sysname> system-view [Sysname] issu load file new. the configura tion may be lost. The file name is in the format of [drive:/]file-name. • If the boot file specified by upgrading-filename is compatible with the boot file. you cannot perform the manual rollback operation. the system automatically converts it to an absolute path in the format of [drive:/]file-name. • The new boot file has been saved in the Flash of each IRF member switch. you must provide this key word to ISSU. and the specified board will reboot and be upgrade d. name. force: Forces the IRF member switch to upgrade its incompatible boot file. and takes the format [ slot slot-number# ]flash:. If you enter a relative path in the format of file-name. The upgrading-filename must exist in the Flash. slot slot-number: Specifies the ID of an IRF member switch. • file-name specifies the name of the new boot file. The absolute path can contain no more than 63 characters. otherwise. Please save the current running configuration first. • If the IRF member switch is rebooting. Example # Upgrade the subordinate switch with ID 2 by using upgrade file new. where the following conditions apply: • The items in square brackets [ ] are optional.bin slot 2 This command will begin ISSU. • drive specifies the Flash of a member switch. 144 .

If you execute the issu rollback-timer command during an ISSU upgrade process. the member switch reboots with the new boot file. During the reboot. Continue? [Y/N]:y will roll back issu rollback-timer Description Use issu rollback-timer to set the rollback timer. the system automatically creates a version rollback timer.• After you execute the issu commit command for a member switch. the newly configured rollback timer takes effect for the next ISSU upgrade. Cancel the ISSU upgrade on the member switch with ID 1 and roll back the boot file to the previous version. you cannot perform any manual rollback operation. 145 . The system automatically stops the ISSU upgrade and reverts to the previous boot file version if • IRF member switches are not upgraded with the issu accept command • the auto-rollback function is not disabled with issu commit command before the specified rollback timer expires. The value must be the same as that specified in the issu load command. With the issu load command executed. Use undo issu rollback-timer to restore the default (45 minutes is the default value). Related commands: issu load. <Sysname> system-view [Sysname] issu rollback slot 1 This command will quit the ISSU process and the specified board to the previous version. Example # Assume that the member ID specified in the issu load command is 1. Syntax issu rollback slot slot-number View System view Default level 2: System level Parameter slot slot-number: Specifies the ID of an upgraded member switch.

During compatible ISSU upgrade. <Sysname> system-view [Sysname] issu rollback-timer 30 issu run switchover Description Use issu run switchover to reboot the master. the system automatically stops the ISSU upgrade process and reverts to the previous boot file version if • The un-upgraded IRF member switches are not upgraded with the issu accept command. ranging from 0 to 120. • The auto-rollback function is not disabled with issu commit command before the specified rollback timer expires. the system automatically creates a version rollback timer. The value of 0 indicates that the version rollback function is disabled and the rollback timer is not created when you execute the issu load command. and then the ISSU upgrade process is completed. During incompatible ISSU upgrade. Syntax issu run switchover slot slot-number View System view 146 . after you execute the issu load command. Related commands: issu load. when you execute the issu run switchover command. Example # Set the rollback timer value to 30 minutes. the IRF member switches (except the specified subordinate switch) reboot with the new boot file. • During compatible ISSU upgrade. During incompatible ISSU upgrade. the process is completed when the IRF member switches accept the specified subordinate switch reboot with the new boot file. the system automatically stops the ISSU upgrade and reverts to the previous boot file version.Syntax issu rollback-timer minutes undo issu rollback-timer View System view Default level 2: System level Parameter minutes: Rollback timer in minutes. • If you do not upgrade IRF member switches with the issu accept command or you do not disable the auto-rollback function with issu commit command before the specified rollback timer expires.

<Sysname> system-view [Sysname] issu run switchover slot 1 Master will reboot. Continue? [Y/N]:y 147 . Example # Reboot the master. switch the specified board to master and update the line card. The value must be the same as that specified in the issu load command.Default level 2: System level Parameter slot slot-number: Specifies the ID of an upgraded member switch.

The hh value ranges from 00 to 23. the system time automatically adds “add-time” after the command executes. the mm value ranges from 00 to 59. Examples # Set the current system time to 14:10:20 08/01/2011. and the DD value ranges from 1 to 31. and the universal time coordinated (UTC) time zone is applied. and the ss value ranges from 00 to 59. in the hh:mm:ss format. 148 . daylight saving time is configured on the device. • By default. <Sysname> clock datetime 14:10:20 8/1/2011 # Set the current system time to 00:06:00 01/01/2011. and clock timezone. <Sysname> clock datetime 0:6 2011/1/1 clock summer-time one-off Description Use clock summer-time one-off to adopt daylight saving time from the start-time of the start-date to the end-time of the end-date. clock summer-time one-off adds the add-time to the standard time of the device. Syntax clock datetime time date View User view Default level 3: Manage level Parameters time: Configured time. You can leave the SS field when you specify the time parameters.Device management commands clock datetime Description Use clock datetime to set the device’s current time and date. The YYYY value ranges from 2000 to 2035. the MM value ranges from 1 to 12. Related commands: display clock. clock summer-time one-off. unless you specify 00:00:00. Zeros can be omitted. • If the device’s standard time is in the range specified with this command. clock summer-time repeating. date: Configured date. in the MM/DD/YYYY or YYYY/MM/DD format.

set the system clock ahead one hour. and clock timezone. unless you specify 00:00:00. Use undo clock summer-time to cancel the configuration of the daylight saving time. 149 . Zeros can be omitted. The time displayed in the log or debug information is the adjusted local time. add-time: Time added to the standard time of the device. Example # For daylight saving time in abc1 between 06:00:00 on 08/01/2011 and 06:00:00 on 09/01/2011. use the display clock command. in the hh:mm:ss format. Daylight saving time adds one hour to the device’s standard time. the argument is considered as invalid and the configuration fails. end-time: End time. Otherwise.• The time range from start-time in start-date to end-time in end-date must be longer than one day and shorter than one year. and add-time to 01:00:00. Related commands: display clock. a case-sensitive string of 1 to 32 characters. Zeros can be omitted. Zeros can be omitted. in the MM/DD/YYYY or YYYY/MM/DD format. For example. The time displayed in the log or debug information is the adjusted local time. clock summer-time repeating. unless you specify 00:00:00. <Sysname> system-view [Sysname] clock summer-time abc1 one-off 6 08/01/2011 6 09/01/2011 1 clock summer-time repeating Description Use clock summer-time repeating to adopt daylight saving time repeatedly. if you specify start-date and start-time as 2007/6/6 and 00:00:00. in the MM/DD/YYYY or YYYY/MM/DD format. • The time range from “start-time” in “start-date” to “end-time” in “end-date” must be longer than one day and shorter than one year. • To view your configuration after it takes effect. end-date and end-time as 2007/10/01 and 00:00:00. Syntax clock summer-time zone-name one-off start-time start-date end-time end-date add-time undo clock summer-time View System view Default level 3: Manage level Parameters zone-name: Name of the daylight saving time. and the UTC time zone is applied. use the display clock command. end-date: End date. • To view the result after the configuration takes effect. Otherwise. unless you specify 00:00:00. the argument is considered as invalid and the configuration fails. start-date: Start date. daylight saving time is configured on the device. start-time: Start time. clock datetime. in the hh:mm:ss format. in the hh:mm:ss format. • By default.

Monday. Zeros can be omitted. Related commands: display clock. month and date one by one. the system time automatically adds “add-time” after the this command executes. start-date: Start date. unless you specify 00:00:00. October. add-time: Time added to the standard time of the device. February. November or December. February. end-date: End date which can be set in the following ways: • Enter the year. fifth or last week of the month. start-time: Start time. the month can be January. April. Zeros can be omitted. in the hh:mm:ss format. July. August. Friday. in the MM/DD/YYYY or YYYY/MM/DD format. August. the start week can be the first. Monday. month and date at one time. The year ranges from 2000 to 2035. fourth. the start date is Sunday. separated by spaces. unless you specify 00:00:00. Thursday. September. the end date is Sunday. separated by spaces. the end week can be the first. The daylight saving time adds one hour to the standard time of the device. Wednesday. which can be set in the following ways: • Enter the year. Friday. The year ranges from 2000 to 2035. Saturday. clock summer-time one-off. • Enter the year. end-time: End time. April. in the hh:mm:ss format . May. Saturday. July. unless you specify 00:00:00. November or December. Zeros can be omitted. month and date at one time. Tuesday. Thursday. second. September. Use undo clock summer-time to cancel the configuration of the daylight saving time. fifth or last week of the month. Wednesday. third. in the MM/DD/YYYY or YYYY/MM/DD format. fourth. June. clock datetime. third. month and date one by one. June. March.the daylight saving time range is from 00:00:00 of June 6 to 00:00:00 of October 1 each year from 2007—2007 inclusive. the month can be January. Tuesday. in the hh:mm:ss format. May. March. Syntax clock summer-time zone-name repeating start-time start-date end-time end-date add-time undo clock summer-time View System view Default level 3: Manage level Parameters zone-name: Name of the daylight saving time. • If the standard time of the device is in the time range specified with this command. October. second. a string of 1 to 32 characters. and clock timezone. • Enter the year. 150 .

a case-sensitive string of 1 to 32 characters. where the hh value ranges from 0 to 23. Related commands: display clock. minus: Subtracts a offset to UTC time. five hours ahead of UTC time. and clock summertime repeating. <Sysname> system-view [Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2007 06:00:00 09/01/2007 01:00:00 clock timezone Description Use clock timezone to set the local time zone displayed in the log and debug information. the mm value ranges from 0 to 59. unless you specify 00:00:00. zone-offset: Offset to the UTC time. Syntax clock timezone zone-name { add | minus } zone-offset undo clock timezone View System view Default level 3: Manage level Parameters zone-name: Time zone name. Use undo clock timezone to restore the local time zone as the default UTC time zone. use the display clock command. clock datetime. • To view the result after the configuration takes effect. and the ss value ranges from 0 to 59. add: Adds a offset to UTC time. set the system clock ahead one hour. 151 .Example # For the daylight saving time in abc2 between 06:00:00 on 08/01/2007 and 06:00:00 on 09/01/2007 and from 06:00:00 08/01 to 06:00:00 on 09/01 each year after 2007. Zeros can be omitted. • The time displayed in the log or debug information is the specified local time zone. Example # Set the name of the local time zone to Z5. clock summer-time one-off. <Sysname> system-view [Sysname] clock timezone z5 add 5 copyright-info enable Description Use copyright-info enable to display copyright information. in the hh:mm:ss format.

Use undo copyright-info enable to disable display of copyright information.P. L. the display of copyright information is enabled. the following information is displayed: ************************************************************************* *** * Copyright (c) 2010-2011 Hewlett-Packard Development Company. Enable the display of copyright information. * * no decompiling or reverse-engineering shall be allowed. * * Without the owner's prior written consent. By default. L. 152 . * * Without the owner's prior written consent. and then quits user view. * ************************************************************************* *** <Sysname> • If a user has already logged in through the console port.P. Syntax copyright-info enable undo copyright-info enable View System view Default level 3: Manage level Parameters None Examples 1. Please press ENTER. the following information is displayed: ************************************************************************* *** * Copyright (c) 2010-2011 Hewlett-Packard Development Company. * * no decompiling or reverse-engineering shall be allowed. <Sysname> system-view [Sysname] copyright-info enable • If a user logs in to the device through Telnet. * ************************************************************************* *** User interface aux0 is available.

regular-expression: Specifies a regular expression. <Sysname> display clock 09:41:23 UTC Thu 12/15/2011 153 . see the Fundamentals Configuration Guide. the following information is displayed: <Sysname> • If a user has already logged in through the console port. Syntax display clock [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. or clock summer-time repeating. clock summer-time repeating. <Sysname> system-view [Sysname] undo copyright-info enable • If a user logs in to the device through Telnet.2. clock summer-time one-off. a case-sensitive string of 1 to 256 characters. Related commands: clock datetime. For more information about how the system time and date are decided. Disable the display of copyright information. and clock timezone commands. exclude: Displays all lines that do not match the regular expression. include: Displays all lines that match the regular expression. display clock Description Use display clock to view the current system time and date. and clock timezone. For more information about regular expressions. the following information is displayed: User interface aux0 is available. The current system time and date are determined by the clock datetime. begin: Displays the first line that matches the regular expression and all lines that follow. clock summer-time one-off. and then quits user view. see the Fundamentals Configuration Guide. Please press ENTER. Example # Display the current time and date.

The slot-number argument is the ID of a member device of the current IRF virtual device. • display cpu-usage entry-number offset indicates the system displays number records from the last but offset record. offset: Offset between the serial number of the first CPU usage statistics record to be displayed and that of the last CPU usage record to be displayed. and its value ranges from 0 to 60 cyclically. the system displays the statistics of the CPU usage of all member devices. which ranges from 1 to 60. Syntax display cpu-usage [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regularexpression ] display cpu-usage entry-number [ offset ] [ verbose ] [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters entry-number: Number of entries to be displayed. the system displays the brief information of the CPU usage statistics. • display cpu-usage entry-number indicates the system displays entry-number records from the latest record. |: Filters command output by specifying a regular expression. If this keyword is provided. include: Displays all lines that match the regular expression. where idx represents the serial number of the period for the statistics. exclude: Displays all lines that do not match the regular expression. see the Fundamentals Configuration Guide. the idx of the latest statistics record is 12. verbose: Displays detailed information of CPU usage statistics. • The system takes CPU usage statistics at intervals—usually every 60 seconds—and saves them in the history record area. If this keyword is not provided.display cpu-usage Description Use display cpu-usage to view the CPU usage statistics. For more information about regular expressions. If the slot-number argument is not provided. slot slot-number: Displays the statistics of the CPU usage of a specific member device. the system will display the statistics records from the one with the idx of 9. • The maximum number of records saved depends on device model. If the offset is set to 3. The system makes CPU usage statistics periodically. It ranges from 0 to 59. and the system records the average CPU usage during this period. begin: Displays the first line that matches the regular expression and all lines that follow. For example. and the idx value is added by 1 automatically. the system displays the average CPU usage statistics for each task in the specified period. 154 .

<Sysname> display cpu-usage 2 4 ===== CPU usage info (no: 0 idx: 58) ===== CPU Usage Stat. Cycle : 0x0(CPU Tick High) 0x950906af(CPU Tick Low) 155 . a case-sensitive string of 1 to 256 characters. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low) Actual Stat. Tick : 0x1d9c(CPU Tick High) 0xa50e5351(CPU Tick Low) Actual Stat. Cycle: 60 (Second) CPU Usage : 3% CPU Usage Stat. cpu cpu-number: Displays the CPU usage statistics of a specific CPU. Display information of the current CPU usage statistics. Cycle: 60 (Second) CPU Usage : 3% CPU Usage Stat. Cycle : 0x0(CPU Tick High) 0x95030517(CPU Tick Low) ===== CPU usage info (no: 1 idx: 57) ===== CPU Usage Stat.regular-expression: Specifies a regular expression. the system displays the CPU usage statistics of all CPUs of the member device. Time : 2006-07-10 10:55:55 CPU Usage Stat. Examples 1. Display the last fifth and sixth records of the CPU usage statistics history. Time : 2006-07-10 10:56:55 CPU Usage Stat. If the cpu-number argument is not provided. <Sysname> display cpu-usage Slot 1 CPU usage: 6% in last 5 seconds 10% in last 1 minute 5% in last 5 minutes Slot 2 CPU usage: 5% in last 5 seconds 8% in last 1 minute 5% in last 5 minutes 2.

rounded up or down in 5% increments. in seconds. CPU Usage Stat. This field displays the average CPU usage in the last five minutes. the system calculates and records the average CPU usage in every five seconds. For example. If only the information of the current record is displayed. it indicates that the average CPU usage during the last 41 seconds is calculated. a smaller number equals a newer record. 1% in last 5 minutes After the device boots. The value range of this field is 1 to 60. represented by a 64-bit hexadecimal. the actual measurement periods of different CPU usage records might differ slightly. CPU usage info (no: idx:) Information of CPU usage records (no: The (no+1)th record is currently displayed. Tick System runtime in ticks. Slot 2 CPU usage The CPU usage of the device with the member ID of 2). that is. and an actual statistical value of 52% is rounded down and displayed as 50%. CPU Usage Stat. Owing to the precision of less than one second. the system calculates and records the average CPU usage in every five minutes. idx: index of the current record in the history record table). if the value is 41. CPU Tick High represents the most significant 32 bits and the CPU Tick Low the least significant 32 bits. For example. Time CPU usage statistics time in seconds. This field displays the average CPU usage in the last five seconds. Cycle CPU usage measurement interval. display cpu-usage history Description Use display cpu-usage history to view CPU usage history statistics over the last 60 minutes plotted in a chart. an actual statistical value of 53% is rounded up and displayed as 55%. Actual Stat. The system takes CPU usage statistics at intervals and saves the results in the history record area. 1% in last 1 minute After the device boots. CPU Usage Average CPU usage in a measurement interval. In the output information: • The x-axis indicates the CPU usage. the system time when the command is executed. Cycle Actual CPU usage measurement interval in ticks. 156 . no and idx are not displayed. the system calculates and records the average CPU usage in every one minute. CPU Tick High represents the most significant 32 bits and the CPU Tick Low the least significant 32 bits. in percentage. The statistical results are displayed through x and y coordinates.Table 21 Command output Field Description 1% in last 5 seconds After the device boots. (On a centralized IRF member device). no numbers from 0. This field displays the average CPU usage in the last minute. represented by a 64-bit hexadecimal. • The y-axis indicates the time. CPU Usage Stat.

exclude: Displays all lines that do not match the regular expression. a case-sensitive string of 1 to 256 characters. slotnumber is the ID of a member device of the current IRF virtual device. the system displays the history statistics of the CPU usage of the main CPU. |: Filters command output by specifying a regular expression. see the Fundamentals Configuration Guide. Syntax display cpu-usage history [ task task-id ] [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters task task-id: Displays the history statistics of the CPU usage of a specific task. If the slot-number argument is not provided. begin: Displays the first line that matches the regular expression and all lines that follow. 157 . If the cpu-number argument is not provided. Support for this keyword depends on your device model. For more information about regular expressions. The CPU usage of the entire system is the sum of CPU usages of all tasks. regular-expression: Specifies a regular expression. If the task-id argument is not provided. slot slot-number: Displays the history statistics of the CPU usage of a specific member device. where task-id represents the task number.Consecutive pound marks (#) indicate CPU usage at a certain moment. the system displays the history statistics of the CPU usage of the entire system. the system displays the history statistics of the CPU usage of the master. include: Displays all lines that match the regular expression. The value of the x-axis corresponding to the # mark on the top of a moment is the CPU usage at that moment. cpu cpu-number: Displays the history statistics of the CPU usage of a specific CPU.

<Sysname> display cpu-usage history 100%| 95%| 90%| 85%| 80%| 75%| 70%| 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| 15%| # 10%| ### 5%| # ######## -----------------------------------------------------------10 20 30 40 50 60 (minutes) cpu-usage last 60 minutes(SYSTEM) The output shows the CPU usage of the whole system (with the task name SYSTEM) in the last 60 minutes: • 5%: 12 minutes ago • 10%: 13 minutes ago • 15%: 14 minutes ago • 10%: 15 minutes ago • 5%: 16 and 17 minutes ago • 10%: 18 minutes ago • 5%: 19 minutes ago • 2% or lower than 2%: other time 158 .Example # Display the CPU usage statistics of the whole system.

# Display the CPU usage statistics of task 6. <Sysname> display cpu-usage history task 6 100%| 95%| 90%| 85%| 80%| 75%| 70%| 65%| 60%| 55%| 50%| 45%| 40%| 35%| 30%| 25%| 20%| 15%| 10%| 5%| # -----------------------------------------------------------10 20 30 40 50 60 (minutes) cpu-usage last 60 minutes(T03M) The output shows the CPU usage of task 6 (with the task name T03M) in the last 60 minutes: • 5%: 20 minutes ago • 2% or lower than 2%: other time display device Description Use display device to view device information. Syntax display device [ usb ] [ [ slot slot-number [ subslot subslot-number ] ] | verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level 159 .

include: Displays all lines that match the regular expression. verbose: Displays detailed information.B 002 002 013 160 IVL MAIN . regular-expression: Specifies a regular expression.B 002 002 013 IVL MAIN Slot 4 SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State 0 NULL Normal 18 Ver. |: Filters command output by specifying a regular expression. see the Fundamentals Configuration Guide. The subslot-number represents the subslot of the host or subcard.B 002 002 013 IVL MAIN Slot 2 SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State 0 18 Ver.A NULL 001 NULL IVL LSW1SP4P0 Normal 2 4 Ver. subslot subslot-number: Displays the information for a host or subcard (interface card or OAP card). For more information about regular expressions.) <Sysname> display device Slot 1 SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State 0 NULL Normal 18 Ver. (The output of this command varies with devices. If the switch does not support the subcard or the subcard is not installed. Example # Display the information of all IRF member devices.B NULL 001 NULL IVL LSW1XP4P0 Normal Slot 3 SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State 0 NULL Normal 18 Ver. slot slot-number: Displays the information of a specific member device.Parameters usb: Displays the information of the device connected with the universal serial bus (USB) interface. begin: Displays the first line that matches the regular expression and all lines that follow. slot number 0 is displayed. exclude: Displays all lines that do not match the regular expression. The slot-number argument is the ID of a member device of the current IRF virtual device.A NULL 002 002 013 IVL MAIN Normal 1 4 Ver. a case-sensitive string of 1 to 256 characters.

• 2—Subcard slot 2. Syntax display device manuinfo [ slot slot-number [ fan fan-id | power power-id | subslot subslot-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level 161 . CPLDVer CPLD version of the host or subcard. device serial number. and vendor name. FPGAVer FPGA version of the host or subcard. Address learning mode: AddrLM • IVL—Independent VLAN learning. • Absent.Table 22 Command output Field Description Slot 1 Information of member device 1. • The output by this command depends on the device model. PortNum Maximum number of ports that the host or subcard supports. • SVL—Shared VLAN learning. • Fault. • Electrical label information also called permanent configuration data or archive information is written to the device’s storage medium during debugging and testing. • Subcard—The specific model is displayed for this type. Number of the slot in which the host or subcard resides: SubSNo • 0—Host slot. • 1—Subcard slot 1. Type of the host or subcard: Type • Host—MAIN is displayed for this type. State of the host or subcard: State • Normal. display device manuinfo Description Use display device manuinfo to display electrical label information about the device. PCBVer PCB version of the host or subcard. BootRomVer Boot ROM version of the host or subcard. The information includes name of the card.

regular-expression: Specifies a regular expression. <Sysname> display device manuinfo Slot 1: DEVICE_NAME : A5800AF-48G JG225A DEVICE_SERIAL_NUMBER : CN13F5D001 MAC_ADDRESS : 20FDF1AC81BB MANUFACTURING_DATE : 2011-03-10 VENDOR_NAME : HP Power 1: DEVICE_NAME : NONE MANU SERIAL NUMBER : US0BF64123 MANUFACTURING_DATE : NONE VENDOR_NAME : NONE Power 2: DEVICE_NAME : NONE MANU SERIAL NUMBER             : US0BF75832 MANUFACTURING_DATE : NONE VENDOR_NAME         : NONE Fan 1: DEVICE_NAME : HP A58x0AF bck(pwr)-frt(ports)Fan Tray JC682A DEVICE_SERIAL_NUMBER : WB12FDD001 MANUFACTURING_DATE : 2011-03-25 VENDOR_NAME : HP 162 . The subslot-number represents the number of the slot where the interface card or OAP card resides. Display electrical label information (on the 5800AF-48G Switch(JG225A) or 5820AF-24XG Switch(JG219A)). exclude: Displays all lines that do not match the regular expression. power supply unit (PSU). power power-id: Displays the electrical label information for a power-id represents the PSU number.Parameters slot slot-number: Displays electrical label information for a member device. For more information about regular expressions. Examples 1. where subslot subslot-number: Displays electrical label information about the interface card or OAP card. The slot-number argument is the ID of a member device of the current IRF virtual device. If the slot-number argument is not provided. include: Displays all lines that match the regular expression. fan fan-id: Displays the electrical label information for a fan. |: Filters command output by specifying a regular expression. the system displays the electrical label information of all member devices. a case-sensitive string of 1 to 256 characters. begin: Displays the first line that matches the regular expression and all lines that follow. see the Fundamentals Configuration Guide.

<Sysname> display device manuinfo Slot 1: DEVICE_NAME : A5800-24G-PoE+ JC099A DEVICE_SERIAL_NUMBER : CN13F5D653 MAC_ADDRESS : 00238927AFDB MANUFACTURING_DATE : 2011-03-24 VENDOR_NAME : HP Power 1: MANU SERIAL NUMBER : NONE Fan 1: DEVICE_NAME : NONE DEVICE_SERIAL_NUMBER : NONE MANUFACTURING_DATE : NONE VENDOR_NAME : NONE Table 23 Command output Field Description Slot IRF member ID Fan Fan ID Power PSU ID DEVICE_NAME Device name DEVICE_SERIAL_NUMBER Device serial number MAC_ADDRESS MAC address of the device MANUFACTURING_DATE Manufacturing date of the device VENDOR_NAME Vendor name 163 . MANUFACTURING_DATE : 2011-03-25 VENDOR_NAME : HP Display electrical label information (on a switch except the 5800AF-48G Switch(JG225A) or 5820AF-24XG Switch(JG219A)).Fan 2: DEVICE_NAME : HP A58x0AF bck(pwr)-frt(ports)Fan Tray JC682A DEVICE_SERIAL_NUMBER : WB12FDD521 2.

• During daily maintenance or when the system is out of order. display device. Please wait. display the running information of each functional module to locate the problem. execute the more. Save succeeded.aa. see the Fundamentals Configuration Guide. For more information about regular expressions.diag.diag Diagnostic information is outputting to flash:/aa. begin: Displays the first line that matches the regular expression and all lines that follow.diag]:aa. Save the statistics of each module's running status in the system. exclude: Displays all lines that do not match the regular expression. Examples 1.diag command in user view. in combination of the Page Up and Page Down keys. • Execute the display diagnostic-information for multiple modules running in the system. a case-sensitive string of 1 to 256 characters. To view the content of file aa. N=display)?[Y/N]y Please input the file name(*. <Sysname> display diagnostic-information Save or display diagnostic information (Y=save.diag)[flash:/default.. 164 . Syntax display diagnostic-information [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.diag. and display current-configuration one by one. include: Displays all lines that match the regular expression. • Execution of the display diagnostic-information command equals execution of the commands display clock. each module has independent information. regular-expression: Specifies a regular expression. display version..display diagnostic-information Description Use display diagnostic-information to view or save running status statistics of multiple modules in the system.

Related commands: temperature-limit. The slotnumber argument is the ID of a member device of the current IRF virtual device. including the current temperature and temperature thresholds. If the slot parameter is not specified. regular-expression: Specifies a regular expression. Display the statistics of each module's running status in the system. <Sysname> display diagnostic-information Save or display diagnostic information (Y=save. For more information about regular expressions. |: Filters command output by specifying a regular expression. Syntax display environment [ slot slot-number] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the temperature information of the sensors on the member device. this command displays the temperature information of all sensors on the IRF member device. a case-sensitive string of 1 to 256 characters. N=display)? [Y/N]:n ================================================= ===============display clock=============== ================================================= 08:54:16 UTC Fri 11/15/2011 =================================================== ===============display version=============== =================================================== ……Omitted…… display environment Description Use display environment to view device temperature information. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. include: Displays all lines that match the regular expression.2. see the Fundamentals Configuration Guide. 165 .

Temperature Current temperature of the temperature sensor. the device shuts down automatically. LowerLimit Temperature lower limit of the temperature sensor. display fan Description Use display fan to view fan operating states.Example # Display temperature information (the output varies with devices). ShutdownLimit Shut-down temperature threshold of the temperature sensor. <Sysname> display environment Slot 1 System temperature information (degree centigrade): ------------------------------------------------------------------------------Sensor Temperature LowerLimit hotspot 1 44 5 WarningLimit 70 AlarmLimit ShutdownLimit 80 NA hotspot 2 37 -10 125 135 NA Table 24 Command output Field Description Slot Member ID of the device. Related commands: fan prefer-direction. Syntax display fan [ slot slot-number [ fan-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level 166 . Sensor Temperature sensor. • hotspot—A hotspot sensor. WarningLimit Warning temperature threshold of the temperature sensor. When the sensor temperature reaches this limit. AlarmLimit Alarming temperature threshold of the temperature sensor.

see the Fundamentals Configuration Guide. fan-id: Displays the operating state of the fan. <Sysname> display fan Slot 1 FAN State 1 : Normal 167 . the system displays the operating state of fans of all member devices. For more information about regular expressions. |: Filters command output by specifying a regular expression. a case-sensitive string of 1 to 256 characters. begin: Displays the first line that matches the regular expression and all lines that follow. exclude: Displays all lines that do not match the regular expression.Parameters slot slot-number: Displays the operating state of fans for a member device. <Sysname> display fan Slot 1 FAN 1 State : Normal Wind Direction :Power-to-Port Prefer Wind Direction FAN 2 State : Normal Wind Direction :Power-to-Port Prefer Wind Direction 2. Examples 1. The slot-number argument is the ID of a member device of the current IRF virtual device. Support for this argument and the value range depend on your device model. :Power-to-Port :Power-to-Port Display the operating states of all fans (on the switch except the 5800AF-48G Switch(JG225A) or 5820AF-24XG Switch(JG219A)). regular-expression: Specifies a regular expression. where fan-id represents the built-in fan number. Display the operating states of all fans (on the 5800AF-48G Switch(JG225A) or 5820AF-24XG Switch(JG219A)). include: Displays all lines that match the regular expression. If the slot-number argument is not provided.

• If no parameters are specified. Syntax display job [ job-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters job-name: Specifies the task name. and view. For more information about regular expressions. regular-expression: Specifies a regular expression. time. a string of 1 to 32 characters. include: Displays all lines that match the regular expression. |: Filters command output by specifying a regular expression. 168 . a case-sensitive string of 1 to 256 characters. details about all scheduled tasks are displayed. Related commands: job. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. see the Fundamentals Configuration Guide.Table 25 Command output Field Description Slot 1 Member device 1 FAN Fan ID State of the fan: State • Normal • Absent • Fault Actual ventilation direction: Wind Direction • Power-to-Port • Port-to-Power Preferred ventilation direction: Prefer Wind Direction • Power-to-Port • Port-to-Power display job Description Use display job to view detailed information about scheduled tasks that are automatically executed.

regular-expression: Specifies a regular expression. cpu cpu-number: Displays the memory of a CPU. |: Filters command output by specifying a regular expression. exclude: Displays all lines that do not match the regular expression. the system displays the main CPU memory. see the Fundamentals Configuration Guide. where cpu-number represents the ID of the CPU. • If the cpu parameter is not provided. • If the slot parameter is not provided. <System> dis job Job name: phone Specified view: GigabitEthernet1/0/2 Time 1: Execute command poe enable at 08:00 Mondays Tuesdays Wednesdays Thursdays Fridays Table 26 Command output Field Description Job name Name of a scheduled task Specified view View where the specified command or commands are to be executed Time 1: Execute command Execute the task at the specified time display memory Description Use display memory to display a device’s memory usage. Syntax display memory [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regularexpression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the memory of a CPU for a member device. The slot-number argument is the ID of a member device of the current IRF virtual device. 169 .Example # Display configurations of all scheduled tasks. include: Displays all lines that match the regular expression. the system displays the master’s memory usage. For more information about regular expressions. a case-sensitive string of 1 to 256 characters. begin: Displays the first line that matches the regular expression and all lines that follow.

Example # Display the usage of the memory of a device. regular-expression: Specifies a regular expression. exclude: Displays all lines that do not match the regular expression. For more information about regular expressions. see the Fundamentals Configuration Guide. The slot-number argument is the ID of a member device of the current IRF virtual device. begin: Displays the first line that matches the regular expression and all lines that follow. power-id: Displays the information for a PSU. Syntax display power [ slot slot-number [ power-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the information of the power supply units (PSUs) of the member device. where power-id represents the PSU number. <Sysname> display memory System Total Memory(bytes): 431869088 Total Used Memory(bytes): 71963156 Used Rate: 16% Table 27 Command output Field Description System Total Memory(bytes) Total size of the system memory in bytes Total Used Memory(bytes) Size of the memory used in bytes Used Rate Percentage of the memory used to the total memory display power Description Use display power to display a device’s PSU information. 170 . a case-sensitive string of 1 to 256 characters. |: Filters command output by specifying a regular expression. include: Displays all lines that match the regular expression.

• AC. the system displays the master’s reboot mode.Example Display the PSU information of the device. The member ID is 1 in this output. PSU number: Power • If only one PSU is displayed. <Sysname> display power Slot 1 Power 1 State : Normal Type : AC Slot 2 Power 1 State : Normal Type : AC Power 2 State : Normal Type : AC Table 28 Command output Field Description Slot 1 PSU information of the member device. • If two PSUs are displayed. display reboot-type Description Use display reboot-type to view the device’s reboot mode. Syntax display reboot-type [ slot slot-number ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level 171 . PSU type: Type • DC. the system uses swappable PSUs. • Fault. the system uses a fixed PSU. • Absent. PSU state: State • Normal. If no parameters are provided.

Example # Display the reboot mode of the device. display rps Description This command is available only for the switches that support RPS. see the Fundamentals Configuration Guide. |: Filters command output by specifying a regular expression. where rps-id represents the RPS number. exclude: Displays all lines that do not match the regular expression. For more information about regular expressions. For more information about regular expressions. 172 . <Sysname> display reboot-type The rebooting type this time is: Cold The output shows that the last reboot mode of the device is Cold boot—the cold boot will restart a device by powering it on. rps-id: Displays the status of the RPS. The slot-number is the ID of a member device of the current IRF virtual device. a case-sensitive string of 1 to 256 characters. The value varies with devices. include: Displays all lines that match the regular expression.Parameters slot slot-number: Displays reboot mode for a member device. Syntax display rps [ slot slot-number [ rps-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters slot slot-number: Displays the RPS status of the member device. The slot-number argument is the ID of a member device of the current IRF virtual device. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. |: Filters command output by specifying a regular expression. see the Fundamentals Configuration Guide. which means to restart a device by using the commands like reboot. the system displays the RPS status of all IRF members. include: Displays all lines that match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. regular-expression: Specifies a regular expression. The display of Warm represents a warm boot. If the slot-number is not provided. Use display rps to display RPS status.

173 . a case-sensitive string of 1 to 256 characters. exclude: Displays all lines that do not match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. include: Displays all lines that match the regular expression. see the Fundamentals Configuration Guide. regular-expression: Specifies a regular expression. a case-sensitive string of 1 to 256 characters. <Sysname> display rps Slot 1 Power 2 State : Absent Slot 2 Power 2 State : Absent Table 29 Command output Field Description Slot 1 Member device 1 Power RPS ID RPS state: State • Normal • Absent • Fault display schedule job Description Use display schedule job to view the configuration set by the schedule job command. Syntax display schedule job [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions. Example # Display RPS status.regular-expression: Specifies a regular expression. Related commands: schedule job.

<Sysname> display schedule job Specified command: execute 1. see the Fundamentals Configuration Guide. exclude: Displays all lines that do not match the regular expression. include: Displays all lines that match the regular expression. Syntax display schedule reboot [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions. Table 30 Command output Field Description Specified command Command to be executed Specified view View for the command to be executed Executed time Execution time of the command and the difference between the current time and scheduled time display schedule reboot Description Use display schedule reboot to view the device reboot time set by the user.Example # Display the configuration of the scheduled task configured by the schedule job command. a case-sensitive string of 1 to 256 characters. regular-expression: Specifies a regular expression. 174 . begin: Displays the first line that matches the regular expression and all lines that follow. the scheduled task becomes invalid. Then if you execute the display schedule job command again.bat Specified view: system view Executed time: at 12:00 10/31/2007 (in 0 hours and 16 minutes) If you change the system time within 16 minutes after you execute the schedule job command. the system displays nothing. Related commands: schedule reboot at and schedule reboot delay.

For more information about regular expressions. begin: Displays the first line that matches the regular expression and all lines that follow. include: Displays all lines that match the regular expression. <Sysname> display system-failure System failure handling method: reboot display transceiver Description Use display transceiver to display main parameters of a single or all pluggable transceivers. Related commands: system-failure. regular-expression: Specifies a regular expression. display system-failure Description Use display system-failure to view the exception handling method of all member devices of an IRF virtual device. a case-sensitive string of 1 to 256 characters. Example # Display the exception handling method. exclude: Displays all lines that do not match the regular expression. The output shows that the system will reboot at 16:00:00 on March 10.Example # Display the reboot time of a device. 2011—in two hours and five minutes. Syntax display transceiver interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] 175 . see the Fundamentals Configuration Guide. Syntax display system-failure [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level Parameters |: Filters command output by specifying a regular expression. <Sysname> display schedule reboot System will reboot at 16:00:00 03/10/2011 (in 2 hours and 5 minutes).

(The output of this command varies with devices. interface-type interface-number represents interface type and interface number.5um) Digital Diagnostic Monitoring : YES Vendor Name : HP Ordering Name : JD118B 176 . exclude: Displays all lines that do not match the regular expression. Example # Display main parameters of the pluggable transceiver plugged in interface GigabitEthernet 1/0/3. begin: Displays the first line that matches the regular expression and all lines that follow.View Any view Default level 2: System level Parameters interface [ interface-type interface-number ]: Displays main parameters of the pluggable transceiver plugged in the interface. a case-sensitive string of 1 to 256 characters. |: Filters command output by specifying a regular expression. the command displays main parameters of the pluggable transceivers in all the interfaces. include: Displays all lines that match the regular expression. If it is not . regular-expression: Specifies a regular expression. see the Fundamentals Configuration Guide. For more information about regular expressions.) <Sysname> display transceiver interface gigabitethernet1/0/3 GigabitEthernet1/0/3 transceiver information: Transceiver Type : 1000_BASE_SX_SFP Connector Type : LC Wavelength(nm) : 850 Transfer Distance(m) : 550(50um).270(62.

• Support for transceivers depends on the device module. Transceiver Type Pluggable transceiver type.5 um—62. Type of the connectors of the transceiver: Connector Type • Optical connectors. If the transceiver supports multiple wavelengths. • Optical transceiver: central wavelength of the laser sent. Ordering Name Product code. The corresponding transfer medium is included in the bracket following the transfer distance value. Vendor Name Vendor name. in nm. Transfer distance(xx) Digital Diagnostic Monitoring Transfer distance. • Other connectors.Table 31 Command output Field Description transceiver information Pluggable transceiver information. 1. developed by NTT) and LC (LC connector. The following are the transfer media: • • • • • 9 um—9/125 um single-mode fiber. 177 . Wavelength(nm) • Electrical transceiver: displayed as N/A. TP—Twisted pair. 50 um—50/125 um multi-mode fiber. CX4—CX4 cable. Whether the digital diagnosis function is supported. • If no error occurs. • Table 32 shows the alarm information that might occur to the commonly used transceivers. • NO—Not supported. with xx representing km for single-mode transceivers and m for other transceivers. display transceiver alarm Description Use display transceiver alarm to view the current alarm information of transceivers. If the transceiver supports multiple transfer medium. every two wavelength values are separated by a comma. 62. including RJ-45 and CX 4. where: • YES—Supported.25 mm/RJ-45 optical connector developed by Lucent). including SC (SC connector. None is displayed.5/125 um multi-mode fiber. every two values of the transfer distance are separated by a comma.

Temp low Temperature is low. Voltage low Voltage is low. Transceiver info checksum error Transceiver information checksum error. For more information about regular expressions. Transceiver type and port configuration mismatch Transceiver type does not match port configuration. Voltage high Voltage is high. Temp high Temperature is high. TX power low TX power is low. TX fault Transmit (TX) fault. TX bias high TX bias current is high. begin: Displays the first line that matches the regular expression and all lines that follow. 178 . displays the current alarm information of the pluggable transceiver in all the interfaces. If not specified. exclude: Displays all lines that do not match the regular expression.Table 32 Alarms for commonly used transceivers Field Remarks SFP/SFP+ RX loss of signal Incoming (RX) signal is lost. |: Filters command output by specifying a regular expression. RX power low Incoming (RX) power level is low. see the Fundamentals Configuration Guide. TX bias low TX bias current is low. TX power high TX power is high. interface-type interface-number represents interface type and interface number. RX power high Incoming (RX) power level is high. Transceiver type not supported by port hardware Transceiver type is not supported on the port. Transceiver info I/O error Transceiver information read and write error. Syntax display transceiver alarm interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface [ interface-type interface-number ]: Displays the current alarm information of the pluggable transceiver plugged in the specified interface.

) <Sysname> display transceiver alarm interface gigabitethernet1/0/1 GigabitEthernet1/0/1 transceiver current alarm information: RX loss of signal RX power low Table 33 Command output Field Description Transceiver current alarm information Current alarm information of the transceiver. interface-type interface-number represents interface type and interface number. see the Fundamentals Configuration Guide. RX loss of signal Incoming (RX) signal is lost. regular-expression: Specifies a regular expression. |: Filters command output by specifying a regular expression. displays the currently measured value of digital diagnosis parameters of transceivers in all the interfaces. exclude: Displays all lines that do not match the regular expression. Example # Display the alarm information of the pluggable transceiver plugged in interface GigabitEthernet 1/0/1. RX power low Incoming (RX) power level is low. (The output of this command varies with devices. 179 . If not specified. a case-sensitive string of 1 to 256 characters. include: Displays all lines that match the regular expression. regular-expression: Specifies a regular expression.include: Displays all lines that match the regular expression. For more information about regular expressions. Syntax display transceiver diagnosis interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters interface [ interface-type interface-number ]: Displays the currently measured value of digital diagnosis parameters of the transceiver plugged in the interface. begin: Displays the first line that matches the regular expression and all lines that follow. a case-sensitive string of 1 to 256 characters. display transceiver diagnosis Description Use display transceiver diagnosis to view the currently measured value of digital diagnosis parameters of pluggable transceivers.

display transceiver manuinfo Description Use display transceiver manuinfo to view the electrical label information of a single or all pluggable transceivers.01 dBm. in V. in mA.31 6. with the precision to 0.(°C) Digital diagnosis parameter-temperature. Temp.Example # Display the currently measured values of the digital diagnosis parameters of the optical transceiver in interface GigabitEthernet 1/0/2. Syntax display transceiver manuinfo interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level 180 .19 Table 34 Command output Field Description Transceiver diagnostic information Digital diagnosis information of the transceiver plugged in the interface. with the precision to 0. in dBm. TX power(dBm) Digital diagnosis parameter-TX power. RX power(dBm) Digital diagnosis parameter-RX power.01 mA. (The output of this command varies with devices. in °C.01 dBm. Voltage(V) Digital diagnosis parameter-voltage. with the precision to 1°C.01 V. in dBm. with the precision to 0.13 -35.) <Sysname> display transceiver diagnosis interface gigabitethernet1/0/2 GigabitEthernet1/0/2 transceiver diagnostic information: Current diagnostic parameters: Temp(°C) Voltage(V) Bias(mA) RX power(dBm) 36 3.64 TX power(dBm) -5. Current diagnostic parameters Current diagnostic parameters. with the precision to 0. Bias(mA) Digital diagnosis parameter-bias current.

display version Description Use display version to view current system software version information. For more information about regular expressions. regular-expression: Specifies a regular expression.Parameters interface [ interface-type interface-number ]: Displays the electrical label information of the transceiver plugged in the interface. Vendor Name Vendor name. a case-sensitive string of 1 to 256 characters. include: Displays all lines that match the regular expression. begin: Displays the first line that matches the regular expression and all lines that follow. Syntax display version [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level 181 .) <Sysname> display transceiver manuinfo interface gigabitethernet1/0/4 GigabitEthernet1/0/4 transceiver manufacture information: Manu. exclude: Displays all lines that do not match the regular expression. Serial Number : 213410A0000054000251 Manufacturing Date : 2011-03-01 Vendor Name : HP Table 35 Command output Field Description Manu. |: Filters command output by specifying a regular expression. (The output of this command varies with devices. the command displays part of the electrical label information of the pluggable transceivers in all the interfaces. interface-type interface-number represents interface type and interface number. Manufacturing Date Debugging and testing date. see the Fundamentals Configuration Guide. Serial Number Serial number generated during debugging and testing of the customized transceivers. Example # Display the electrical label information of the transceiver plugged in interface GigabitEthernet 1/0/4. If it is not specified. The date takes the value of the system clock of the computer that performs debugging and testing.

0 hour. L. When the device boots. exclude: Displays all lines that do not match the regular expression. 0 day.20.P. Related commands: reset version-update-record. begin: Displays the first line that matches the regular expression and all lines that follow. Syntax display version-update-record [ | { begin | exclude | include } regular-expression ] View Any view Default level 3: Manage level 182 .B CPLD Version is 003 BootRom Version is 212 [SubSlot 0] 24GE+4SFP Plus+POE Hardware Version is Ver. Release 1211 Copyright (c) 2010-2011 Hewlett-Packard Development Company. 20 minutes HP A5800-24G-PoE+ Switch with 2 Processors 512M bytes SDRAM 4M bytes Nor Flash Memory 512M bytes Nand Flash Memory Config Register points to Nand Flash Hardware Version is Ver.Parameters |: Filters command output by specifying a regular expression. a case-sensitive string of 1 to 256 characters. the system keeps 10 records. Currently. the system records the device software version. HP A5800-24G-PoE+ Switch uptime is 0 week. regular-expression: Specifies a regular expression. Version 5. For more information about regular expressions.B [SubSlot 1] No Module display version-update-record Description Use display version-update-record to view the device software’s update records. Example # Display system version information. (The output depends on your device model and the device version) <Sysname> display version HP Comware Platform Software Comware Software. include: Displays all lines that match the regular expression. If the software is updated when the device is running. the system records update time and software version. see the Fundamentals Configuration Guide.

Example # Display the version update records of the device software. begin: Displays the first line that matches the regular expression and all lines that follow. Update time 1 2009-09-28 14:39:11 version 5. the system outputs traps and logs for you to replace the wrong ones or modify the fan ventilation direction for the switch. a case-sensitive string of 1 to 256 characters. Syntax fan prefer-direction slot slot-number { power-to-port | port-to-power } undo fan prefer-direction slot slot-number View System view Default level 2: System level 183 . Related commands: display fan.Parameters |: Filters command output by specifying a regular expression. Serial number Version The updated version fan prefer-direction Description This command is available only for the 5800AF-48G Switch(JG225A) or 5820AF-24XG Switch(JG219A). For more information about regular expressions. <Sysname> display version-update-record No. Use fan prefer-direction to configure the fan ventilation direction. exclude: Displays all lines that do not match the regular expression. see the Fundamentals Configuration Guide.20 Release 0000 Table 36 Command output Field Description No. If one or both the two fan trays have a different ventilation direction from the switch. regular-expression: Specifies a regular expression. Use undo fan prefer-direction to restore the default (fan ventilation direction is power-to-port by default). include: Displays all lines that match the regular expression.

text: Banner message. motd: Banner displayed before login. If authentication is required. If authentication is needed. Example # Configure the fan ventilation direction as port-to-power. The legal banner is displayed before the user inputs the username and password. which can be input in two formats. Use undo header to clear a banner. Syntax header { incoming | legal | login | motd | shell } text undo header { incoming | legal | login | motd | shell } View System view Default level 2: System level Parameters incoming: Sets the banner displayed when a Modem login user enters user view. shell: Sets the banner displayed when a non-Modem login user enters user view. the incoming banner is displayed after the authentication is passed. see the Fundamentals Configuration Guide. the banner is displayed before authentication. <Sysname> system-view [Sysname] fan prefer-direction port-to-power header Description Use header to create a banner. The slot-number is the ID of a member device of the current IRF virtual device. For more information. legal: Sets the authorization banner before a user logs in to the terminal interface. login: Sets the login banner at authentication. 184 . power-to-port: Specifies the fan ventilation direction from the PSU side to the port side. port-to-power: Specifies the fan ventilation direction from the port side to the PSU side.Parameters slot slot-number: Configures the fan ventilation direction of the member device.

The login banner can be displayed only when login authentication is configured. * * no decompiling or reverse-engineering shall be allowed. Test the configuration by using Telnet. Welcome to shell(header shell)% 2.Examples 1. ************************************************************************* *** * Copyright (c) 2010-2011 Hewlett-Packard Development Company. Configure banners. Entering % after the displayed text quits the header command. Welcome to motd(header motd) Welcome to login(header login) Login authentication Password: Welcome to shell(header shell) <Sysname> 185 . % is not a part of a banner. and quit with the character '%'. * * Without the owner's prior written consent. Welcome to incoming(header incoming)% [Sysname] header legal % Please input banner content. and quit with the character '%'. and quit with the character '%'. L. and quit with the character '%'. <Sysname> system-view [Sysname] header incoming % Please input banner content. Character % is the starting/ending character of text in this example. Welcome to login(header login)% [Sysname] header motd % Please input banner content. Welcome to motd(header motd)% [Sysname] header shell % Please input banner content. Welcome to incoming(header incoming)% [Sysname] header legal % Please input banner content. * ************************************************************************* *** Welcome to legal(header legal) Press Y or ENTER to continue. Welcome to legal (header legal)% [Sysname] header login % Please input banner content. N to exit. As the starting and ending character. and quit with the character '%'. and quit with the character '%'.P.

Use these commands with caution. In this case. the device cannot be rebooted with the reboot command. <Sysname> system-view [Sysname] job saveconfig [Sysname-job-saveconfig] reboot Description CAUTION: • Device reboot might result in the interruption of the ongoing services. re-specify a main boot file. • If a main boot file fails or does not exist. If the slot parameter is not provided. Use undo job to restore the default (no scheduled task is created). • If you are performing file operations when the device will be rebooted. a string of 1 to 32 characters. Syntax reboot [ slot slot-number ] View User view 186 . the system does not execute the command for the sake of security. The system automatically uses the backup boot file to restart the device. You can create up to 100 scheduled tasks. You can use reboot [ slot slot-number ] on the master to reboot it or a subordinate device. each task is uniquely identified by its job-name. a subcard. all member devices reboot. or all member devices.job Description Use job to create a scheduled task or enter scheduled task view. Use reboot to reboot a member device. or power off the device and then power it on. Syntax job job-name undo job job-name View System view Default level 3: Manage level Parameter job-name: Name of a scheduled task. Example # Create a scheduled task or enter an existing scheduled task view.

DONE! This command will reboot the device. save c urrent configuration? [Y/N]:y Please input the file name(*.cfg exists. Please wait.) <Sysname> reboot Start to check configuration with next startup configuration file. Examples 1. (The output of this command varies with devices...... Syntax reset unused porttag View User view Default level 1: Monitor level Parameters None 187 ....Default level 3: Manage level Parameter slot slot-number: Specifies a device by its member ID of the IRF virtual device.... Configuration is saved to device successfully.. (The output of this command varies with devices. .) <Sysname> reboot Start to check configuration with next startup configuration file.. reboot the device..cfg)[flash:/config.. A confirmation within 30 seconds is required.DONE! This command will reboot the device. Saved the current configuration to mainboard device successfully. please wait. overwrite? [Y/N]:y Validating file. reboot the device. Continue? [Y/N]:y reset unused porttag Description Use reset unused porttag to clear the 16-bit index saved but not used in the current systems of all member devices. press the enter key): flash:/config. Continue? [Y/N]:y 2. please wait... This command will reboot the device.cfg] (To leave the existing filename unchanged. If the current configuration changes. Current configuration will be lost.. The command will not execute if you fail to make a confirmation within 30 seconds or enter N to cancel the operation. If the current configuration does not change.

• Only the latest configuration takes effect if you execute the schedule job command repeatedly. Syntax reset version-update-record View System view Default level 3: Manage level Parameters None Example # Clear the records of updating the device software. • The system does not require any interactive information when executing the schedule task. • When using the at or delay parameter. Related commands: display version-update-record. <Sysname> system-view [Sysname] reset version-update-record schedule job Description Use schedule job to schedule a task. • If you change the system time after the scheduled task is configured. the difference between the execution time of the command and the current system time cannot exceed 720 hours (30 days). the task becomes invalid. the execution time must be in the future. You must ensure the commands and their corresponding views are correct for the commands to execute. Continue? [Y/N]:y <Sysname> reset version-update-record Description Use reset version-update-record to clear the records of updating the device software.Example # Clear the 16-bit index saved but not used in the current system. 188 . The system will automatically input confirmation and default or empty character strings as needed. • If you provide only a time1 parameter earlier than the current system time. the command executes at time1 of the current day. <Sysname> reset unused porttag Current operation will delete all unused port tag(s). • If you provide only a time1 parameter later than the current system time. • If you provide both the time1 and date parameters. • The system does not check the values of the view and command parameters. the command executes at time1 of the next day.

Syntax schedule job { at time1 [ date ] | delay time2 } view view command undo schedule job View User view Default level 3: Manage level Parameters at time1 [ date ]: Specifies the execution time of a specified command. and the mm value ranges from 0 to 59. Schedule a task to execute the batch file 1. The view argument represents the view name. The hh value ranges from 0 to 23. delay time2: Specifies the execution waiting time of a specified command.bat in system view at 12:00 in the current day (assuming that the current time is 11:43). <Sysname> schedule job at 12:00 view system execute 1. and ssh2). in the MM/DD/YYYY or YYYY/MM/DD format. and it takes either of the following values at present: • shell—Represents user view.• The operation interface. which can be in the following format: • hh:mm format—The hh value ranges from 0 to 720. the mm value cannot be more than 0. or commands used to modify status of a user executing commands (such as super). When the hh value is 720. with 0 indicating that the command is executed immediately.bat Info: Command execute 1. • date: Execution date of the command. and the mm value ranges from 0 to 59. command: Command to be executed. Examples 1.bat Info: Command execute 1. Use undo schedule job to remove the scheduled task. The YYYY value ranges from 2000 to 2035. the MM value ranges from 1 to 12.bat in system view in 60 minutes (assuming that the current time is 11:43). command view and status of the current user are not changed after execution if a scheduled task contains commands used to switch user interfaces (such as telnet. view view: Specifies the view in which the command is executed.bat in system view will be executed at 12:00 10/31/2007 (in 0 hours and 16 minutes). 2. <Sysname> schedule job delay 60 view system execute 1. commands used to switch views (such as system-view and quit). time2 represents the waiting time. and the DD value ranges from 1 to 31. • time1: Execution time of the command. in the hh:mm format. Schedule a task to execute the batch file 1. ftp.bat in system view will be executed at 12:43 10/31/2007 (in 1 hours and 0 minutes). • mm format—It ranges from 0 to 432000 minutes. 189 . • system—Represents system view.

• If the date specified for the schedule reboot at command is later than the current date. the reboot time set by the schedule reboot at command will become invalid. The difference between the reboot date and the current date cannot exceed 30 x 24 hours (30 days). By default. the device will prompt “REBOOT IN ONE MINUTE. the scheduled reboot function is disabled. the device reboots at the current day’s reboot time. • If no date is specified for a reboot time later than the current time. the device will reboot at that reboot time. You must enter Y to make the configuration take effect. • One minute before the reboot time. • If you are performing file operations when the device will be rebooted. the device will prompt you to confirm the configuration. The original configuration will be overwritten at the same time. Use undo schedule reboot to restore the default condition. • If no date is specified for a reboot time earlier than the current time. Syntax schedule reboot at hh:mm [ date ] undo schedule reboot View User view Default level 3: Manage level 190 . • If you use the clock command after the schedule reboot at to adjust the system time. Use schedule reboot at to enable the scheduled reboot function on all member devices and specify a specific reboot time and date. the device reboots at the following day’s reboot time.” • After you execute the command.schedule reboot at Description CAUTION: This command reboots the device in a future time and results in service interruption. Use it with caution. the system does not execute the command for the sake of security.

Configure the device to reboot at 12:00 AM—supposing that the current time is 11:43. and system will reboot at 12:00 06/06/2006. in the MM/DD/YYYY or YYYY/MM/DD format. date: Reboot date for the device. Examples 1. the system does not execute the command for the sake of security.54): Set schedule reboot parameters at 11:43:11 06/06/2006. the system will automatically display related log information after you enter <y>. The hh value ranges from 0 to 23. Use it with caution. which results in service interruption. schedule reboot delay Description CAUTION: This command reboots the device after the specified delay time. • The reboot wait time can be in the hh:mm format or mm format—absolute minutes. The original configuration will be overwritten at the same time.1. The absolute minutes cannot exceed 30 x 24 x 60 minutes (30 days). <Sysname> schedule reboot at 12:00 Reboot system at 12:00 06/06/2006(in 0 hour(s) and 16 minute(s)) confirm? [Y/N]: 2. Use undo schedule reboot to disable the scheduled reboot function (by default. <Sysname> %Jun 6 11:43:11:629 2006 Sysname CMD/4/REBOOT: vty0(192. The YYYY value ranges from 2000 to 2035. You must enter Y to make the configuration take effect. the device will prompt “REBOOT IN ONE MINUTE. the device will prompt you to confirm the configuration. • One minute before the reboot time. By default. the log display function is enabled. • If you are performing file operations when the device will be rebooted. If you have used the terminal logging to enable the log display function on the terminal before setting a reboot time. the MM value ranges from 1 to 12.168. and the mm value ranges from 0 to 59. • If you use the clock command after the schedule reboot delay to adjust the system time.Parameters hh:mm: Reboot time for the device. the reboot wait time set by the schedule reboot delay command will become invalid. this function is disabled).” • After you execute the command. Syntax schedule reboot delay { hh:mm | mm } undo schedule reboot 191 . Use schedule reboot delay to enable the scheduled reboot function of all member devices and set a reboot wait time. and the DD value ranges from 1 to 31. in the hh:mm format.

the system will automatically display related log information after you enter y.200. an MSTP module will automatically shut down a port that receives configuration messages after the BPDU guard function is enabled on the port. When the hh value is 720. the log display function is enabled on the terminal. 192 . Some protocol modules might shut down ports under specific circumstances. the interval from when you change the interval to the time when the protocol module shuts down the port is T.54): Set schedule reboot parameters at 11:48:44 06/06/2006. in the hh:mm format. which ranges from 0 to 43. You need to manually bring up the port by using the undo shutdown command or change the detection interval to a non-zero value. Then. if the detection interval is set to 30 seconds and you change it to 10 seconds (T1=10) two seconds after the port is shut down (T=2). If T>=T1. the MSTP module enables a detection timer and detects the status of the port. and system will reboot at 13:16 06/06/2006. • If the detection interval is set to 0. <Sysname> %Jun 6 11:48:44:860 2006 Sysname CMD/4/REBOOT: vty0(192. the protocol module will never automatically recover the port. • If you change the detection interval to T1 during port detection.View User view Default level 3: Manage level Parameters hh:mm: Device reboot wait time. this port will be brought up 8 seconds later. By default. For example. The hh value ranges from 0 to 720. the mm value cannot be more than 0. If the detection interval is set to 30 seconds and you change it to 2 seconds ten seconds after the port is shut down. and the mm value ranges from 0 to 59. If T<T1. this port will be brought up immediately. If you have used the terminal logging to enable the log display function on the terminal before setting a reboot time. mm: Device reboot wait time in minutes. confirm? [Y/N]: 2. For example. the port which is down will be brought up after T1-T time. <Sysname> schedule reboot delay 88 Reboot system at 13:16 06/06/2006(in 1 hour(s) and 28 minute(s)). the MSTP module will automatically bring up the port. shutdown-interval Description Use shutdown-interval to set a detection interval. If the port is still down when the detection timer times out. Examples 1. Use undo shutdown-interval to restore the default detection interval of 30 seconds.168.1. Configure the device to reboot in 88 minutes—supposing the current time is 11:48. the port which is down will be brought up immediately.

For example. Example # Set the detection interval to 100 seconds.Syntax shutdown-interval time undo shutdown-interval View System view Default level 2: System level Parameter time: Detection interval in seconds. which ranges from 0 to 300. Use undo sysname demand to restore the device name to the default. the prompt of user view is <Sysname>. a string of 1 to 30 characters. Syntax sysname sysname undo sysname View System view Default level 2: System level Parameter sysname: Name of the device. if the device name is Sysname. <Sysname> system-view [Sysname] sysname S2000 [S2000] 193 . • Changing device name affects the prompt of the CLI configuration. which is HP. Example # Set the name of the device to S2000. <Sysname> system-view [Sysname] shutdown-interval 100 sysname Description Use sysname to set the name of the device.

the device repeatedly outputs the log and trap information in the terminal display. By default. • If the temperature is lower than the lower limit. • The warning and alarming thresholds must be higher than the lower temperature limit. the device logs the event and outputs the log and trap information for users. it maintains the current situation.system-failure Description Use system-failure to configure the exception handling method on all member devices. it recovers itself through automatic reboot. all member devices adopt the reboot method to handle exceptions. the device logs the event and outputs the log and trap information for users. Syntax system-failure { maintain | reboot } undo system-failure View System view Default level 3: Manage level Parameters maintain: Specifies that when the system detects any software abnormality. and alerts users through the LED on the device panel. 194 . <Sysname> system-view [Sysname] system-failure reboot temperature-limit Description Use temperature-limit to set the temperature alarm thresholds for a device. Use undo temperature-limit to restore the default temperature alarm threshold (see Table 37). • If the temperature reaches the alarming threshold. Example # Set the exception handling method to reboot. and does not influence the operations of other IRF members. • The alarming threshold must be higher than the warning threshold. • If the temperature reaches the warning threshold. The exception handling method is effective to the failed member device only. and does not take any measure to recover itself. reboot: Specifies that when the system detects any software abnormality.

195 .Table 37 Temperature alarm thresholds for a device Device Sensor Lower limit Warning limit Alarm limit 5820X-14XG-SFP+ Switch with 2 Interface Slots(JC106A)/ 1 5 70 80 2 10 90 100 1 10 80 87 1 0 67 72 4 0 61 66 1 5 70 80 2 -10 125 135 3 10 90 100 1 10 65 75 2 -10 125 135 1 10 70 80 5800-24G-PoE+ Switch(JC099A)/ 1 5 70 80 5800-24G-PoE+TAA Switch(JG254A) 2 -10 125 135 1 5 70 80 1 5 65 75 1 0 67 72 4 0 64 69 5820X-14XG-SFP+ TAA Switch with 2 Interface Slots(JG259A) 5820X-24XG-SFP+ Switch(JC102A)/ 5820X-24XG-SFP+ TAA-compliant Switch (JG243A) 5820AF-24XG Switch(JG219A) 5800-48G-PoE+ Switch with 2 Interface Slots(JC101A)/ 5800-48G-PoE+ TAA Switch with 2 Interface Slots(JG242A) 5800-48G-PoE+ Switch with 1 Interface Slot(JC104A)/ 5800-48G-PoE+ TAA Switch with 1 Interface Slot(JG257A) 5800-48G Switch with 1 Interface Slot(JC105A)/ 5800-48G TAA Switch with 1 Interface Slot(JG258A) 5800-24G Switch(JC100A)/ 5800-24G TAA Switch(JG255A) 5800-24G-SFP Switch with 1 Interface Slot(JC103A)/ 5800-24G-SFP TAA Switch with 1 Interface Slot(JG256A) 5800AF-48G Switch(JG225A) Related commands: display environment. Syntax temperature-limit slot slot-number hotspot sensor-number lowerlimit warninglimit [ alarmlimit ] undo temperature-limit slot slot-number hotspot sensor-number View System view Default level 2: System level Parameters slot slot-number: Specifies device by its slot number. which is the ID of a member device of the current IRF virtual device.

A scheduled task can be specified with up to 10 time setting entries. where time-id is an integer ranging from 1 to 10. The values are positive integers starting from 1. and the alarming threshold to 100 Celsius degrees. warninglimit: Warning temperature threshold in Celsius degrees. • The commands in a scheduled task must be in the same view. That is. alarmlimit: Alarming temperature threshold in Celsius degrees. • A scheduled task can contain up to 10 commands. each representing a temperature sensor. the warning threshold to 70. lowerlimit: Lower temperature limit in Celsius degrees. Use undo time to remove the time schedule for the task. 196 .hotspot: Specifies a hotspot sensor. one-off: Specifies that the command is executed for once. typically placed near the chip that generates a great amount of heat for temperature monitoring. in the hh:mm format. <Sysname> system-view [sysname] temperature-limit slot 1 hotspot 1 -10 70 100 time at Description Use time at to schedule a task. The value range from 15 to 125. The value range from -10 to 70. configure multiple scheduled tasks. and will not be executed when the time is reached next time. repeating: Specifies a recurring time schedule. The value range from 20 to 135. where the hh value ranges from 0 to 23 and the mm value ranges from 0 to 59. • To execute more than 10 commands. sensor-number: Specifies the sensor number. For the assignment of temperature sensors on different devices. at time: Specifies the execution time. the command runs when the time is reached. Example # Set the lower limit for the sensor 1 on the device of the IRF member 1 to –10 Celsius degrees. Syntax time time-id { one-off | repeating } at time [ week-day week-daylist | month-date month-day ] command command time time-id at time date command command undo time time-id View Scheduled task view Default level 3: Manage level Parameters time time-id: Time setting entry. see Table 37.

one-off: Specifies that the specified command is executed for once. or Sun. • To execute more than 10 commands. 197 . and you can set at most seven days. The YYYY value ranges from 2000 to 2035. in the MM/DD/YYYY or YYYY/MM/DD format. and the DD value ranges from 1 to 31. • A scheduled task can contain up to 10 commands. an integer in the range 1 to 31. command command: Command to be executed at a specified time. week-daylist represents a day or multiple days in a week. Sat. configure them in different tasks. • The commands in a scheduled task must be in the same view. <Sysname> system-view [Sysname] job phone [Sysname-job-phone] time 2 at 8:00 2008/04/06 command undo poe enable time delay Description Use time delay to configure a scheduled task to be executed after a delay time. <Sysname> system-view [Sysname] job phone [Sysname-job-phone] time 1 repeating at 8:00 week-day Mon Tue Wed Thu Fri command poe enable 2. Fri. where time-id is an integer ranging from 1 to 10. A scheduled task can be specified with up to 10 time setting entries. where month-day represents the day. taking the value of Mon. Use undo time to remove it (by default no time delay is configured). Schedule a task to enable PoE on the device at eight AM from Monday to Friday. The execution date must be ahead of the current date. date: Date when a command is executed. Syntax time time-id { one-off | repeating } delay time command command undo time time-id View Scheduled task view Default level 3: Manage level Parameters time time-id: Time setting entry.week-day week-daylist: Executes a command on a specified day or the days of a week. the command is executed when the time is reached. Multiple days must be separated by spaces. the MM value ranges from 1 to 12. and will not be executed when the time is reached next time. That is. repeating: Specifies a recurring time schedule. Wed. Tue. Thu. month-date month-day: Executes a command on a specified day of a month. Schedule a task to disable PoE on the device on sixth April 2008. Examples 1.

only the last configuration takes effect. <Sysname> system-view [Sysname] job phone [Sysname-job-phone] time 3 one-off delay 5:00 command undo poe enable view Description Use view to specify a view where the commands are to be executed. When the hh value is 720. Syntax view view-name undo view View Scheduled task view Default level 3: Manage level Parameter view-name: View name. The delay time parameter is unrelated to the system time. • When the time argument is in the hh:mm format. Examples # Specify system view where the specified commands are to be executed. Even though the system time changes. That is. the mm value ranges from 1 to 43. and the mm value ranges from 0 to 59.delay time: Specifies the delay time for executing the command. If the view view-name command is executed repeatedly. the mm value can be only 00. the maximum value of the delay timer is 30 days. Use undo view to remove the view existing in a scheduled task and restore the default (no view is specified by default). • When the time argument is in the mm format. which a string of 1 to 90 characters used to specify in which view the commands in a scheduled task are executed.200. in the hh:mm format or mm format. the hh value ranges from 0 to 720. Example # Configure a scheduled task so that PoE is disabled on the device five hours after the command is configured. <Sysname> system-view [Sysname] job saveconfig [Sysname-job-saveconfig] view system 198 . the command is executed after the specified delay time. command command: Command to run at a specified time. Only one view can be specified for a scheduled task and all the commands are automatically executed in that view.

Websites • HP.com/support/downloads • HP software depot http://www. you will receive email notification of product enhancements.com/support/manuals • For related documentation.hp.com 199 .com/go/wwalerts After registering. collect the following information: • Product model names and numbers • Technical support registration number (if applicable) • Product serial numbers • Error messages • Operating system type and revision level • Detailed questions Subscription service HP recommends that you register your product at the Subscriber's Choice for Business website: http://www. navigate to the Networking section. see the HP support website: http://www.hp.com/support/manuals • HP download drivers and software http://www. firmware updates. see HP A-Series Acronyms.com/go/networking • HP manuals http://www.com • HP Networking http://www.Support and other resources Contacting HP For worldwide technical support information. browse to the Manuals page of the HP Business Support Center website: http://www.software. and select a networking category.com http://www. and other product resources.hp.hp.hp.hp. • For a complete list of acronyms and their definitions.hp. Related information Documents To find related documents.hp.com/support Before contacting HP. new driver versions.

File > Create > Folder. from which you select one. CAUTION An alert that calls attention to important information that if not understood or followed can result in data loss.. An alert that provides helpful information. [ x | y | . ] * Asterisk-marked square brackets enclose optional syntax choices separated by vertical bars.. NOTE TIP An alert that contains additional or supplementary information. the New User window appears.. [ x | y | . For example. { x | y | . 200 . &<1-n> The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times. or none. click OK. IMPORTANT An alert that calls attention to essential information.Conventions This section describes the conventions used in this documentation set. field names. GUI conventions Convention Description Boldface Window names. > Multi-level menus are separated by angle brackets. from which you select at least one. For example. } Braces enclose a set of required syntax choices separated by vertical bars. Convention Description Symbols WARNING An alert that calls attention to important information that if not understood or followed can result in personal injury.. ] Square brackets enclose a set of optional syntax choices separated by vertical bars. { x | y | . multiple choices.. } * Asterisk-marked braces enclose a set of required syntax choices separated by vertical bars... Italic Italic text represents arguments that you replace with actual values. # A line that starts with a pound (#) sign is comments.. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. from which you select one choice. data corruption. button names. or damage to hardware or software. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. and menu items are in bold text. from which you select one or none.

201 . Represents a routing-capable device. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. such as a router. such as a Layer 2 or Layer 3 switch. switch. or a router that supports Layer 2 forwarding and other Layer 2 features. Represents a generic switch. or firewall. such as a router or Layer 3 switch.Network topology icons Represents a generic network device.

62 display hotkey.5 command accounting.66 clock summer-time one-off.168 configuration replace file.89 archive configuration location.89 display nandflash badblock-location.169 copy.164 cd.16 databits.3 display clock.149 display ftp-user.61 display environment.138 command-alias mapping.161 cd.127 display cpu-usage.19 disconnect.148 display ftp-server.111 bootrom-update security-check enable.15 D activation-key.165 cdup.21 archive configuration.53 clock summer-time repeating.139 command-privilege.23 command-alias enable.64 archive configuration max.1 display issu state.156 bootrom.4 close.131 backup startup-configuration.107 dir.148 display ftp client configuration.106 delete.60 display device.130 display default-configuration.1 display issu rollback-timer.112 bye.54 clock timezone.Index ABCDEFGHIJLMOPQRSTUV A copyright-info enable.22 command authorization.108 display clipboard.109 display memory.59 dir.151 acl (user interface view).153 binary.128 display cpu-usage history.59 display command-alias.88 display diagnostic-information.63 archive configuration interval.159 C display device manuinfo.20 display ip http.21 display ip https.154 boot-loader update file.110 B display boot-loader.151 display history-command.65 authentication-mode.2 display job.129 display current-configuration.66 auto-execute command.93 202 .61 display fan.4 boot-loader.105 debugging.166 clock datetime.90 ascii.105 delete.17 display archive configuration.

35 display this.118 ip http port.177 ip https certificate access-control-policy.95 job.117 I display system-failure.57 display nandflash page-data.38 display transceiver manuinfo.94 ftp update.143 display version-update-record.96 lock.171 display rps.38 display user-interface.92 ftp timeout.186 F L fan prefer-direction.70 display reboot-type.83 ip http enable.72 flow-control.146 escape-key.31 mkdir.56 203 .142 display version.34 display tftp client configuration.145 E issu run switchover.71 file prompt.34 display telnet client configuration.29 J execute.73 ftp server acl.33 display schedule reboot.37 display transceiver diagnosis.24 ip http acl.179 ip https enable.67 move.132 G display power.7 display startup.99 ftp client source.27 issu accept.172 H display saved-configuration.55 mkdir.73 free user-interface.173 history-command max-size.40 fixdisk.display nandflash file-location.57 display patch information.182 issu rollback.97 free web-users.183 lcd.96 ls.141 issu load.174 hotkey.97 M free ftp user.181 issu commit.25 ip https ssl-server-policy.144 display web users.143 display version comp-matrix.69 open. 68 O ftp ipv6.36 display transceiver alarm.98 ftp.175 ip https acl.32 more.39 display users.180 ip https port.56 open ipv6.175 idle-timeout.170 get.74 ftp server enable.35 display transceiver.114 header.31 format.28 issu rollback-timer.184 display schedule job.

134 startup saved-configuration.45 patch delete.100 tftp.76 system-failure.186 temperature-limit.194 pwd.121 time delay.190 verbose.188 V schedule reboot at.12 protocol inbound.9 U rmdir.193 put.77 telnet ipv6.40 set authentication password.80 S user privilege level.124 patch deactive.188 time at.136 super authentication-mode.81 schedule reboot delay.10 204 .78 terminal type.80 user.11 patch run.134 speed (user interface view).194 remotehelp.192 patch active.137 super password.46 patch load.51 save.52 schedule job.197 return.13 Q T quit.9 telnet.103 rmdir.50 rename.83 reset version-update-record.77 pwd.75 shutdown-interval.86 reset saved-configuration.41 sysname.122 user-interface.136 super.49 R telnet server enable.196 restore startup-configuration.45 passive.48 quit.191 view.10 patch location.44 shell.49 reboot.100 system-view.103 undelete.198 screen-length.120 tftp ipv6.125 patch install.84 reset recycle-bin.43 parity.133 slave auto-update config.135 stopbits.187 tftp-server acl.87 reset unused porttag.101 tftp client source.42 screen-length disable.P send.47 telnet client source.