Page 1
H3C WX Series Access Controllers Fundamentals Command Reference Abstract This document details the fundamentals commands for the WX series access controllers. Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com...
Page 2
However, the statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Hangzhou H3C Technologies Co., Ltd. and its licensors shall not be liable for technical or editorial errors or omissions contained herein.
Page 9
······················································································································· 192 patch deactive ··················································································································· 192 patch delete ······················································································································· 193 patch install ························································································································ 194 patch load ·························································································································· 195 patch location ···················································································································· 195 patch run ···························································································································· 196 13 Support and other resources ···························································································· 198 Related documentation ··········································································································· 198 Contacting H3C ······················································································································· 198...
Page 10
Support of the H3C WX series access controllers (ACs) for commands may vary by AC model. For more information, see Feature Matrix and Command Matrix in H3C WX Series Access Controllers WX Command References Getting Started.
CLI commands command-alias enable Syntax command-alias enable undo command-alias enable View System view Default level 2: System level Parameters None Description Use the command-alias enable command to enable the command alias function. Use the undo command-alias enable command to disable the command alias function.
undo command-alias mapping cmdkey View System view Default Level 2: System level Parameters cmdkey: The complete form of the first keyword of a command for which an alias will be configured. alias: Specifies the command alias, which cannot be the same as the first keyword of an existing command.
Page 13
Default Level 3: Manage level Parameters level level: Command level, which ranges from 0 to 3. view view: Specifies a view. The value shell of the argument view represents user view. The specified view must be the view to which the command provided by the command argument belongs;...
When you configure the undo command-privilege command, the value of the command argument can be an abbreviated form of the specified command. You only need to enter the keywords at the beginning of the command. For example, after the undo command-privilege view system ftp command is executed, all commands starting with the keyword ftp (such as ftp server acl, ftp server enable, and ftp timeout) are restored to the default level.
Parameters None Description Use the display command-alias command to display defined command aliases and the corresponding commands. Examples Display the defined command aliases and the corresponding commands. <Sysname> display command-alias Command alias is enabled index alias command key show display display history-command Syntax display history-command...
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.
Page 18
By default, the system specifies corresponding commands for Ctrl+G, Ctrl+L and Ctrl+O, while the others are null. Ctrl+G corresponds to display current-configuration Ctrl+L corresponds to display ip routing-table Ctrl+O corresponds to undo debugging all You can customize this scheme as needed however. Examples Example 1: Assign the hot key Ctrl+T to the display tcp status command.
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.
Default Level 2: System level Parameters None Description Use the return command to return to user view from current view, as you do with the hot key Ctrl+Z. Related commands: quit. Examples Return to user view from GigabitEthernet 1/0/1 view. [Sysname-GigabitEthernet1/0/1] return <Sysname>...
Examples Disable multiple-screen output of the current user. <Sysname> screen-length disable system-view Syntax system-view View User view Default Level 2: System level Parameters None Description Use the system-view command to enter system view from the current user view. Related commands: quit, return. Examples Enter system view from the current user view.
Commands for logging in to an access controller acl (user interface view) Syntax For common and advanced ACLs: acl [ ipv6 ] acl-number { inbound | outbound } undo acl [ ipv6 ] acl-number { inbound | outbound } For WLAN and Layer 2 ACLs: acl acl-number inbound undo acl acl-number inbound View...
Page 23
connection is established. When the device functions as a Telnet client, this keyword is used to restrict the Telnet server that is allowed to access the device. Description Use the acl command to apply an Access Control List (ACL) for limiting the access authority of the current user interface.
When user A (IP address: 192.168.1.26) telnets to the device, the connection is established; when user B (IP address: 192.168.1.60) telnets to the device, the connection failed, and the system prompt appears: %connection closed by remote host! Example 2: When the device accesses another device through Telnet, only the Telnet server with the IP address of 192.168.1.41 can be accessed through this user interface;...
Page 25
View Local user view, user group view Default Level 3: Manage level Parameters acl acl-number: Specifies the authorized ACL for the local user(s). The argument acl- number is the authorized ACL number, in the range 2000 to 5999. callback-number callback-number: Specifies the authorization PPP callback number of the local user(s), where callback-number represents the authorization PPP callback number, which is a case-sensitive string of one to 64 characters.
Page 26
sensitive string of one to 32 characters. It can consist of English letters, digits, and underlines and must start with an English letter. vlan vlan-id: Specifies the authorized VLAN of the local user(s), where vlan-id represents the VLAN number, in the range 1 to 4094. work-directory directory-name: Specifies the authorized work directory of the local user(s), if the user or users are authorized the FTP or SFTP service type.
[Sysname] user-group abc [Sysname-ugroup-abc] authorization-attribute vlan 3 display telnet client configuration Syntax display telnet client configuration View Any view Default Level 1: Monitor level Parameters None Description Use the display telnet client configuration command to view information about the current Telnet client. At present, the command displays the configuration information of the source IP address or source interface of the Telnet client.
Page 28
login: Sets the login banner at authentication. shell: Sets the banner displayed when a non Modem login user enters user view. motd: Sets the login banner. text: Banner message, which can be input in two formats: Input all the text in one line. Altogether 510 characters, including command keyword, can be input.
Page 29
As the starting and ending character, % is not a part of a banner. Example 2: Test the configuration remotely using Telnet. (The login banner can be displayed only when login authentication is configured). **************************************************************************** * Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*...
* Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. **************************************************************************** Welcome to legal(header legal) Press Y or ENTER to continue, N to exit. Welcome to motd(header motd) Welcome to login(header login) Login authentication Password: Welcome to shell(header shell) <Sysname>...
Description Use the service-type command to specify the login type. Use the undo service-type command to cancel login type configuration. Examples Configure the login type as Telnet for the users logging in using the user name of user. <Sysname> system-view [Sysname] local-user user [Sysname-luser-user] service-type telnet service-type lan-access...
Use the undo sysname command to revert to the default system name. The CLI prompt reflects the system name of an access controller. For example, if the system name of an access controller is H3C, then the prompt of user view is <H3C>. Examples Set the system name of the access controller to ABC.
interface interface-type interface-number: Specifies the source interface. The source IPv4 address of the Telnet packets sent is the IPv4 address of the specified interface. interface-type interface-number represents the interface type and number. ip ip-address: Specifies the source IPv4 address of Telnet packets. Description Use the telnet command to telnet a remote host to remotely manage the host.
By default, no source IPv4 address or source interface is specified for Telnet packets, and the system uses the IPv4 address of the interface determined by the matched route as the source IPv4 address of Telnet packets. The source IPv4 address or source interface specified by this command is applicable to all Telnet connections.
NOTE: Support for this command depends on your device model. Examples Telnet the remote host with the IPv6 address 5000::1. <Sysname> telnet ipv6 5000::1 telnet server enable Syntax telnet server enable undo telnet server enable View System view Default Level 3: Manage level Parameters None...
FTP configuration commands FTP server configuration commands display ftp-server Syntax display ftp-server View Any view Default Level 3: Manage level Parameters None Description Use the display ftp-server command to display the FTP server configuration. After configuring FTP server parameters, you may verify them with this command. Related commands: ftp server enable, ftp timeout, and ftp update.
Field Description Allowed idle time of an FTP connection. If there is no packet exchange between the FTP server and client Timeout value (in minute) during the whole period, the FTP connection will be disconnected. File update method of the FTP server, including: Put Method ...
Field Description HostIP IP address of the currently logged-in user Port Port which the currently logged-in user is using Duration time of the current FTP connection, in Idle minutes HomeDir Authorized path of the present logged-in user free ftp user Syntax free ftp user username View...
View System view Default Level 3: Manage level Parameters acl-number: Basic access control list (ACL) number, in the range 2000 to 2999. Description Use the ftp server acl command to control FTP clients’ access to the AC using an ACL. Use the undo ftp server acl command to restore the default.
Parameters None Description Use the ftp server enable command to enable the FTP server and allow the login of FTP users. Use the undo ftp server command to disable the FTP server. By default, the FTP server is disabled to prevent attacks. Examples Enable the FTP server.
<Sysname> system-view [Sysname] ftp timeout 36 ftp update Syntax ftp update { fast | normal } undo ftp update View System view Default Level 3: Manage level Parameters fast: Fast update. normal: Normal update. Description Use the ftp update command to set the file update mode that the FTP server uses while receiving data.
The carriage return characters vary with operating systems. For example, to indicate the end of a line and transfer to the next line, the H3C device system and Windows system use characters /r/n, and the Linux system uses characters /n. Therefore, after the...
Default Level 3: Manage level Parameters None Description Use the binary command to set the file transfer mode to binary (also called flow mode). By default, the transfer mode is ASCII mode. Related commands: ascii. Examples Set the file transfer mode to binary. [ftp] binary 200 Type set to I.
Page 44
The parsed reply is 221 <Sysname> Syntax cd { directory | .. | / } View FTP client view Default Level 3: Manage level Parameters directory: Name of the target directory, in the format of [drive:/]path. For the detailed explanation of the drive and path arguments, see File Management in the Fundamentals Configuration Guide.
250 CWD command successful. cdup Syntax cdup View FTP client view Default Level 3: Manage level Parameters None Description Use the cdup command to exit the current directory and enter the upper directory of the FTP server. Execution of this command will not change the working directory if the current directory is already the authorized directory (work-directory).
Parameters None Description Use the close command to terminate the connection to the FTP server, but remain in FTP client view. This command is equal to the disconnect command. Examples Terminate the connection to the FTP server and remain in FTP client view. [ftp] close 221 Server closing control connection [ftp]...
Page 47
Connected to 192.168.1.46. 220 FTP service ready. User(192.168.1.46:(none)):ftp 331 Password required for ftp. Password: 230 User logged in. [ftp]undo passive FTP: passive is off [ftp] debugging FTP: debugging switch is on [ftp] get sample.file ---> PORT 192,168,1,44,4,21 200 Port command okay. The parsed reply is 200 --->...
delete Syntax delete remotefile View FTP client view Default Level 3: Manage level Parameters remotefile: File name. Description Use the delete command to permanently delete a specified file on the remote FTP server. A deleted file cannot be restored. To do this, you must be a user with the delete permission on the FTP server. Examples Delete file temp.c.
Page 49
Use the dir remotefile command to display the detailed information of the specified file or directory on the remote FTP server. Use the dir remotefile localfile command to display the detailed information of the specified file or directory on the remote FTP server, and save the displayed information into a local file specified by the localfile argument.
disconnect Syntax disconnect View FTP client view Default Level 3: Manage level Parameters None Description Use the disconnect command to disconnect from the remote FTP server but remain in FTP client view. This command is equal to the close command. Examples Disconnect from the remote FTP server but remain in FTP client view.
NOTE: Currently this command displays the configured source IP address or source interface of the FTP client. Related commands: ftp client source. Examples Display the current configuration information of the FTP client. <Sysname> display ftp client configuration The source IP address is 192.168.0.123 Syntax ftp [ server-address [ service-port ] [ source { interface interface-type interface-number | ip source-ip-address } ] ]...
If you specify the parameters, you are prompted to enter the username and password for accessing the FTP server. The priority of the source address specified with this command is higher than that with the ftp client source command. If you specify the source address with the ftp client source command first and then with the ftp command, the source address specified with the ftp command is used to communicate with the FTP server.
Description Use the ftp client source command to configure the source address of the transmitted FTP packets from the FTP client. Use the undo ftp client source command to restore the default. By default, an AC uses the IP address of the interface determined by the matched route as the source IP address to communicate with an FTP server.
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.
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 file is saved locally using the source file name to the current working directory, namely the directory where the user executes the ftp command.
Page 56
The above information indicates that the working directory of the FTP client before execution of the ftp command is cfa0:/clienttemp. Syntax ls [ remotefile [ localfile ] ] View FTP client view Default Level 3: Manage level Parameters remotefile: Filename or directory on the remote FTP server. localfile: Name of a local file used to save the displayed information.
logfile mainar.app arbasicbtm.app test bb.cfg testcfg.cfg 226 Transfer complete. FTP: 87 byte(s) received in 0.132 second(s) 659.00 byte(s)/sec. Example 2: View the information of directory logfile, and save the result to file aa.txt. [ftp] ls logfile aa.txt 227 Entering Passive Mode (192,168,1,46,4,3). 125 ASCII mode data connection already open, transfer starting for /logfile/*.
Examples Create subdirectory mytest on the current directory of the remote FTP server. [ftp] mkdir mytest 257 "/mytest" new directory created. open 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. service-port: Port number of the remote FTP server, in the range 0 to 65535, with the default value of 21.
[ftp] open ipv6 Syntax open ipv6 server-address [ service-port ] [ -i interface-type interface-number ] View FTP client view Default Level 3: Manage level Parameters server-address: IP address or host name of the remote FTP server. service-port: Port number of the remote FTP server, in the range 0 to 65535. The default value is 21.
passive Syntax passive undo passive View FTP client view Default Level 3: Manage level Parameters None Description Use the passive command to set the data transmission mode to passive. Use the undo passive command to set the data transmission mode to active. The default transmission mode is passive.
Parameters localfile: Name of the local file to be uploaded. remotefile: File name used after a file is uploaded and saved on the FTP server. Description Use the put command to upload a file on the client to the remote FTP server. If no name is assigned to the file to be saved on the FTP server, the name of the source file is used by default.
quit Syntax quit View FTP client view Default Level 3: Manage level Parameters None Description Use the quit command to disconnect from the remote FTP server and exit to user view. Examples Disconnect from the remote FTP server and exit to user view. [ftp] quit 221 Server closing control connection <Sysname>...
Page 63
STAT* HELP NOOP* XCUP XCWD XMKD XPWD XRMD 214 Direct comments to H3C company. Example 2: Display the help information for the user command. [ftp] remotehelp user 214 Syntax: USER <sp> <username>. [ftp] Table 4 remotehelp command output description Field...
Page 64
Field Description 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 Delete a folder Create a folder Print working directory LIST List files NLST...
rmdir Syntax rmdir directory View FTP client view Default Level 3: Manage level Parameters directory: Directory name on the remote FTP server. Description Use the rmdir command to remove a specified directory from the FTP server. Only authorized users are allowed to use this command. ...
password: Login password. You can input this argument after the username argument plus a space; or you can input this argument when the “Password:” prompt appears after you input the username and then press Enter. Description Use the user command to relog in to the currently accessed FTP server with another username.
Page 67
Description Use the verbose command to enable the protocol information function to display detailed prompt information. Use the undo verbose command to disable the protocol information function. By default, the protocol information function is enabled. Examples Example 1: Enable the protocol information function. [ftp] verbose FTP: verbose is on Example 2:...
TFTP client configuration commands display tftp client configuration Syntax display tftp client configuration View Any view Default Level 1: Monitor level Parameters None Description Use the display tftp client configuration command to display the configuration information of the TFTP client. Related commands: tftp client source.
Page 69
View System view Default Level 3: Manage level Parameters ipv6: References an IPv6 ACL. If it is not specified, an IPv4 ACL is referenced. acl-number: Number of a basic ACL, in the range 2000 to 2999. Description Use the tftp server acl command to control the AC’s access to a specific TFTP server using an ACL.
tftp Syntax tftp server-address { get | put | sget } source-filename [ destination-filename ] [ source { interface interface-type interface-number | ip source-ip-address } ] View User view Default Level 3: Manage level Parameters server-address: IP address or host name of a TFTP server. get: Downloads a file in normal mode.
This command applies to IPv4 networks. Related commands: tftp client source. Examples Example 1: Download the config.cfg file from the TFTP server with the IP address of 192.168.0.98 and save it as config.bak. Specify the source IP address to be 192.168.0.92. <Sysname>...
ip source-ip-address: The source IP address of TFTP connections. It must be an IP address that has been configured on the AC. Description Use the tftp client source command to configure the source address of the TFTP packets from the TFTP client. Use the undo telnet client source command to restore the default.
Page 73
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. -i interface-type interface-number: Specifies the egress interface by its type and number. This parameter can be used only in case that the TFTP server address is a link local address and the specified egress interface must have a link local address (For the configuration of link local address, see IPv6 Basics in the Layer 3 –...
User interface configuration commands activation-key Syntax activation-key character undo activation-key View User interface view Default Level 3: Manage level Parameters character: Shortcut key for starting terminal sessions, a single character (or its corresponding ASCII code value in the range 0 to 127) or a string of 1 to 3 characters. But in fact, only the first character functions as the shortcut key.
Exit the terminal session on the console port. [Sysname-ui-console0] return <Sysname> quit ****************************************************************************** * Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed. ****************************************************************************** User interface con0 is available.
Page 76
Telnet to the device again. The display brief interface loopback command is executed automatically before the telnet connection breaks. The following information displays: ****************************************************************************** * Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved. * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed.
<Sysname> authentication-mode Syntax authentication-mode { none | password | scheme } undo authentication-mode View User interface view Default Level 3: Manage level Parameters none: Performs no authentication. password: Performs local password authentication. scheme: Performs authorization and authentication of AAA. For more information about AAA, see AAA in the Security Configuration Guide.
[Sysname] user-interface vty 0 [Sysname-ui-vty0] authentication-mode password [Sysname-ui-vty0] set authentication password cipher 321 Example 3: Set to use username and password authentication when users use VTY 0 interface to log onto the device. The username is 123 and the authentication password is 321. <Sysname>...
Examples Enable command accounting for VTY 0. Then the HWTACACS server records the commands executed by the users logging in from VTY 0. <Sysname> system-view [Sysname] user-interface vty 0 [Sysname-ui-vty0] command accounting command authorization Syntax command authorization undo command authorization View User interface view Default Level...
undo databits View User interface view Default Level 2: System level Parameters 5: Five data bits for each character. 6: Six data bits for each character. 7: Seven data bits for each character. 8: Eight data bits for each character. Description Use the databits command to set data bits for the user interface.
Parameters None Description Use the display history-command command to view the valid history commands that have been executed recently. Currently, the system can display up to 256 history commands. Related commands: history-command max-size. Examples Display history commands. <Sysname> display history-command system-view quit display current-configuration...
Page 82
authentication mode and the physical location. If the summary keyword is present, the command displays all the number and type of user interfaces. Examples Display information about user interface 0. <Sysname> display user-interface 0 Type Tx/Rx Modem Privi Auth AUX 0 9600 : Current user-interface is active.
display users Syntax display users [ all ] View Any view Default Level 1: Monitor level Parameters all: Displays information about all user interfaces that the device supports. Description Use the display users command to display the information about the user interfaces being used.
Table 6 display users command output description Field Description Absolute number of the user interface Relative number of the user interface. The first column, for example, VTY, represents user interface type, and the second column, for example, 0, represents the relative number of the user interface.
Page 85
By default, you can use Ctrl+C to terminate a task. After defining a new shortcut key using the escape-key command, the new shortcut key will function to terminate a task. You can use the display current-configuration command to display the shortcut key you have defined. If you set the character argument in a user interface of a device, when you use the user interface to log in to the device and then telnet to another device through the device you have logged in, the character argument can be used as a control...
free user-interface Syntax free user-interface { num1 | { aux | console | vty } num2 } View User view Default Level 3: Manage level Parameters num1: Absolute number of a user interface, typically starting from 0 num2: Relative number of a user interface, in the following rules: ...
Parameters size-value: History buffer size in the range 0 to 256. It defaults to 10. Up to ten history commands can be stored. Description Use the history-command max-size command to set the size of history command buffer of the current user interface. Use the undo history-command max-size command to restore the default, or 10.
Use the undo idle-timeout command to restore the default. The default idle-timeout is 10 minutes. NOTE: The system automatically terminates the user’s connection if there is no information interaction between the device and the user in timeout time. Setting idle-timeout to zero disables the timer and the connection is maintained whether it is idle or not.
<Sysname> lock Please input password<1 to 16> to lock current user terminal interface: Password: Again: locked ! Password: <Sysname> parity Syntax parity { even | mark | none | odd | space } undo parity View User interface view Default Level 2: System level Parameters even: Even parity check.
NOTE: The command is only applicable to asynchronous serial interfaces (including AUX and console ports). The parity check setting on the terminal must be the same as that on the device user interface for communication. Examples Perform odd parity check on the AUX interface. <Sysname>...
Enable the VTYs 0 through 4 to support SSH only. <Sysname> system-view [Sysname] user-interface vty 0 4 [Sysname-ui-vty0-4] authentication-mode scheme [Sysname-ui-vty0-4] protocol inbound ssh screen-length Syntax screen-length screen-length undo screen-length View User interface view Default Level 2: System level Parameters screen-length: Number of lines displayed on the next screen, in the range 0 to 512, with zero meaning to display all information at one time;...
Set the number of lines displayed on the next screen of console user interface to 30. <Sysname> system-view [Sysname] user-interface console 0 [Sysname-ui-console0] screen-length 30 send Syntax send { all | num1 | { aux | console | vty } num2 } View User view Default Level...
hello abc <Sysname> A user logging in through VTY 0 wants to restart the device. To inform the other users to take corresponding actions (for example, save the current configuration), the system sends the message “Note please, I will reboot the system!”. ...
password: A case sensitive string. If the password format is set to simple, the password argument must be in plain text. If it is set to cipher, password can be either in cipher text or in plain text depending on what has been input. A plain text password can be a string of no more than 16 consecutive characters, 1234567 for example.
Parameters None Description Use the shell command to enable terminal services on the user interface. Use the undo shell command to disable this function. By default, terminal services are enabled on all user interfaces. There are a few restrictions on using the undo shell command: ...
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. Description Use the speed command to set the transmission rate on the user interface. Use the undo speed command to restore the default transmission rate.
Use the undo stopbits command to restore the default. By default, the stop bit is one. NOTE: The WX series access controllers do not support the stop bits of 1.5. The command is only applicable to asynchronous serial interfaces (including AUX and console ports).
vt100: Specifies the terminal display type as VT100. Description Use the terminal type command to configure the type of terminal display under the current user interface. Use the undo terminal type command to restore the default. By default, the terminal display type is ANSI. The system supports two types of terminal display: ANSI and VT100.
NOTE: Command level is divided into four levels of visit, monitor, system, and manage, corresponding to the number 0, 1, 2 and 3 respectively. The administrator can change the command level of a user when necessary. Description Use the user privilege level command to configure the command level that the login users on the current user interface can access.
Page 100
2: System level Parameters first-num1: Absolute number of the first user interface, typically starting from 0 last-num1: Absolute number of the last user interface. The value normally starts from 0, but cannot be smaller than the first-num1. first-num2: Relative number of the first user interface, in the following rules: ...
File management commands NOTE: The current working directory is the root directory of the storage medium on the device in the examples in this manual. For the qualified filename formats, see File Management in the Fundamentals Configuration Guide. Syntax cd { directory | ..
Example 2: Return to the upper directory (Remember to enter a space after the keyword cd). <Sysname> cd .. Example 3: Return to the root directory. <Sysname> cd / After you change the current directory using the cd command, you can use the pwd command to view the path of the current working directory.
%Copy file flash:/test/1.cfg to flash:/testbackup/1backup.cfg...Done. delete Syntax delete [ /unreserved ] file-url View User view Default Level 3: Manage level Parameters /unreserved: Permanently deletes the specified file, and the deleted file can never be restored. file-url: Name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For example, to remove files with the extension of .txt in the current directory, you may use the delete *.txt command.
Page 104
View User view Default Level 3: Manage level Parameters /all: Displays all files. file-url: Name of the file or directory to be displayed. Asterisks (*) are acceptable as wildcards. For example, to display files with the .txt extension under the current directory, you may use the dir *.txt command.
Field Description Indicates that the file is in the recycle bin. execute Syntax execute filename View System view Default Level 2: System level Parameters 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. Description Use the execute command to execute the specified batch file.
file prompt 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. quiet: Disables the system from warning you about any operation.
Description Use the fixdisk command to restore the space of a storage medium when it becomes unavailable because of some abnormal operation. Examples Restore the space of the Flash. <Sysname> fixdisk flash: format Syntax format device [ FAT16 | FAT32 ] View User view Default Level...
%Format flash: completed. Example 2: Format the CF card using the FAT16 format. <Sysname> format cfa0: FAT16 mkdir Syntax mkdir directory View User view Default Level 3: Manage level Parameters directory: Name of a folder. Description Use the mkdir command to create a folder under a specified directory on the storage medium.
So far, this command is valid only for text files. Examples Example 1: Display the contents of file test.txt. <Sysname> more test.txt Welcome to H3C. Example 2: Display the contents of file testcfg.cfg. <Sysname> more testcfg.cfg version 5.20, Beta 1201, Standard...
mount Syntax mount device View User view Default Level 3: Manage level Parameters device: Name of a storage medium (for example cf). Description Use the mount command to mount a hot swappable storage medium, such as a CF card, etc (excluding flash). This command is effective only when the device is in unmounted state.
move Syntax move fileurl-source fileurl-dest View User view Default Level 3: Manage level Parameters fileurl-source: Name of the source file. fileurl-dest: Name of the target file or folder. Description Use the move command to move a file. If you specify a target folder, the system moves the source file to the specified folder, with the file name unchanged.
View User view Default Level 3: Manage level Parameters None Description Use the pwd command to display the current path. Examples Display the current path. <Sysname> pwd flash: rename Syntax rename fileurl-source fileurl-dest View User view Default Level 3: Manage level Parameters fileurl-source: Name of the source file or folder.
reset recycle-bin Syntax reset recycle-bin [ /force ] View User view Default Level 3: Manage level Parameters /force: Deletes all files in the recycle bin, including files that cannot be deleted by the command without the /force keyword. Description Use the reset recycle-bin command to permanently delete the files in the recycle bin in the current directory.
-rw- 2386 May 08 2008 11:14:20 [a.cfg] -rw- 3608 Dec 03 2007 17:29:30 [b.cfg] 31750 KB total (23875 KB free) //The output shows that in the current directory flash:, there are two files a.cfg and b.cfg in the recycle bin. ...
Parameters directory: Name of the folder. Description Use the rmdir command to remove a folder. The folder must be an empty one. If not, you must delete all files and subfolders under it with the delete command. After you execute the rmdir command successfully, the files in the recycle bin under the folder are automatically deleted.
When a storage medium is connected to a lower version system, the system may not be able to recognize the device automatically, and you must use the mount command for the storage medium to function normally. Before removing a mounted storage medium from the system, you must first unmount it to avoid damaging the device.
Page 117
..%Undeleted file flash:/a.cfg. Example 2: Restore file b.cfg in directory flash:/test from the recycle bin. <Sysname> undelete flash:/test/b.cfg Undelete flash:/test/b.cfg?[Y/N]:y ..%Undeleted file flash:/test/b.cfg. Or, you can use the following steps to restore file flash:/test/b.cfg. <Sysname> cd test <Sysname> undelete b.cfg Undelete flash:/test/b.cfg?[Y/N]:y ..
Configuration file management commands archive configuration Syntax archive configuration View User view Default Level 3: Manage level Parameters None Description Use the archive configuration command to save the current running configuration manually. After the execution of this command, the system saves the current running configuration with the specified filename (filename prefix + serial number) to the specified path.
Page 119
undo archive configuration interval View System view Default Level 3: Manage level Parameters minutes: Specifies the interval for automatically saving the current running configuration, in minutes. The value ranges from 10 to 525,600 (365 days). Description Use the archive configuration interval command to enable the automatic saving of the current running configuration and set the interval.
<Sysname> system-view [Sysname] archive configuration interval 60 Info: Archive files will be saved every 60 minutes. archive configuration location 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, a case insensitive string of 1 to 63 characters, in the format of storage medium name:/[folder name]/subfolder name.
%Created dir flash:/archive. <Sysname> system-view [Sysname] archive configuration location flash:/archive filename-prefix my_archive archive configuration max Syntax archive configuration max file-number undo archive configuration max View System view Default Level 3: Manage level Parameters file-number: The maximum number of configuration files that can be saved, which ranges from 1 to 10.
Before executing this command, configure the path and filename prefix of a saved configuration file by using the archive configuration location command; otherwise, the execution of this command fails. If the undo archive configuration location command is executed, the maximum number of configuration files that can be saved also restores to the default.
After the above operation completes, the device backs up file test.cfg to TFTP server 2.2.2.2, where the file is saved as 192-168-1-26.cfg. configuration encrypt Syntax configuration encrypt { private-key | public-key } undo configuration encrypt View System view Default Level 3: Manage level Parameters private-key: Encrypts a configuration file with a private key.
<Sysname> system-view [Sysname] configuration encrypt public-key configuration replace file Syntax configuration replace file filename View System view Default Level 3: Manage level Parameters filename: Specifies the name of the replacement configuration file for configuration rollback. Description Use the configuration replace file command to set configuration rollback. After the execution of this command, the current running configuration rolls back to the configuration state based on the specified configuration file (filename).
Parameters None Description Use the display archive configuration command to display the information about configuration rollback. Examples Display the information about configuration rollback. <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.
Page 126
Description Use the display saved-configuration command to display the contents of the configuration file saved for the next startup of the device. During device management and maintenance, you can use this command to check whether important configurations are saved to the configuration file to be used for the next startup of the device.
The configurations are displayed in the order of global, port, and user interface. The More prompt indicates that there are more line that the screen can display. Press Enter to display the next line. Press Space to display the next screen. Press Ctrl+C or any other key to exit the display.
Default Level 1: Monitor level Parameters None Description Use the display startup command to display the configuration file used at the current system startup and the configuration file(s) to be used at the next system startup, and also the enabled/disabled status of the Boot ROM access control function if the function is supported on the device.
This command will permanently delete the configuration file from the device. Use it with caution. Related commands: save, display saved-configuration. Examples Delete the configuration file for the next startup of the device from the storage medium of the device. <Sysname> reset saved-configuration The saved configuration will be erased.
save Syntax save [ file-url | [ safely ] ] View Any view Default Level 2: System level Parameters file-url: File path, where the extension of the file name must be .cfg. safely: Sets the configuration saving mode to safe. If this argument is not specified, the configuration file is saved in fast mode.
<Sysname> display startup Current startup saved-configuration file: flash:/hmr.cfg Next main startup saved-configuration file: flash:/aa.cfg Next backup startup saved-configuration file: NULL // The above information indicates that the main startup configuration file for the next system startup is aa.cfg. <Sysname> save The current configuration will be written to the device.
Page 132
Related commands: display startup. Examples Specify a startup configuration file for the next system startup. <Sysname> startup saved-configuration testcfg.cfg Please wait ..Done!
Device management commands NOTE: There are many types of storage media such as flash memory, compact flash (CF), universal serial bus (USB), and hard disk. Different devices support different types of storage media. Flash memory is exemplified in this document. boot-loader Syntax boot-loader file file-url { main | backup }...
Related commands: display boot-loader. Examples Specify the main boot file for the next boot of the AC as plat.bin. <Sysname> boot-loader file plat.bin main This command will set boot file, Continue? [Y/N]:y The specified file will be used as the main boot file at the next reboot! bootrom Syntax bootrom { backup | read | restore | update file file-url } [ all | part ]...
To execute the bootrom command successfully, you must first save the Boot ROM program under the root directory of the storage medium. If the keywords all and part are not specified, all contents of the Boot ROM program are operated. Examples Use the a.btm file to upgrade the Boot ROM program of the AC.
Table 10 display boot-loader command output description Field Description The boot file used this time File used for the current boot of the system attribute Attributes of a boot file: main or backup The boot file used next time Boot file used for the next boot of the AC display cpu-usage Syntax display cpu-usage [ entry-number [ offset ] [ verbose ] [ from-device ] ]...
Examples Display information of the current CPU usage statistics on the AC. <Sysname> display cpu-usage Unit CPU usage: 1% in last 5 seconds 1% in last 1 minute 1% in last 5 minutes Table 11 display cpu-usage command output description Field Description Unit CPU usage...
Page 138
Description Use the display cpu-usage history command to display the history statistics of the CPU usage in a chart. If no argument is specified, the CPU usage of the whole system is displayed for the AC. The system takes statistics of the CPU usage at an interval and saves the statistical results in the history record area.
If the cf-card and usb keywords are not provided, the system displays information of all cards on the AC. Examples Display brief information of boards on the AC. <Sysname> display device Slot No. Board Type Status Max Ports H3C WX5002-128 Board Normal...
AC. The information includes name of the board, device serial number, and vendor name. Examples Display electrical label information of the AC. <Sysname> display device manuinfo DEVICE_NAME : WX5002 DEVICE_SERIAL_NUMBER : DPPMWWB123456 MAC_ADDRESS : 000f-e212-5002 MANUFACTURING_DATE : 2006-08-08 VENDOR_NAME : H3C...
Table 13 display device manuinfo command output description Field Description DEVICE_NAME AC name DEVICE_SERIAL_NUMBER Device serial number MAC_ADDRESS MAC address of the AC MANUFACTURING_DATE Manufacturing date of the AC VENDOR_NAME Vendor name display device serial-number Syntax display device serial-number View Any view Default Level 1: Monitor level...
display environment Syntax display environment [ cpu ] View Any view Default Level 1: Monitor level Parameters cpu: Displays temperature information of the CPUs on the AC. Description Use the display environment command to display the temperature information, including the current temperature and temperature thresholds of boards. Use the display environment cpu command to display the temperature information of all CPUs on the AC.
Description Use the display fan command to display the operating state of built-in fans. NOTE: Support for this command depends on your AC model. Examples Display the operating state of all fans of the AC. <Sysname> display fan 1 State: Normal 2 State: Normal The above information displays all fans work normally.
Table 15 display job command output description Field Description Job name Name of the scheduled task Specified view View containing the commands in the task Execution time of each command in the Time timeID task Execute command Command string display license Syntax display license View...
Field Description License Key License Key Activation Key Activation Key Status License status display memory Syntax display memory View Any view Default Level 1: Monitor level Parameters None Description Use the display memory command to display the usage of the memory of an AC. Examples Display the usage of the memory of the AC.
View Any view Default Level 1: Monitor level Parameters power-id: Displays the status of the specified power supply unit (PSU), where power-id represents the PSU number. The value varies by AC model. Description Use the display power command to display the status of the power supply of an AC. NOTE: Support for this command depends on your AC model.
The above information indicates that the last reboot type of the AC is Cold boot (cold boot is to restart an AC by powering it on). (The display of Warm represents a warm boot, which means to restart an AC by using the commands like reboot). display rps Syntax display rps [ rps-id ]...
Parameters None Description Use the display schedule reboot command to display the AC reboot time set by the user. Related commands: schedule reboot at and schedule reboot delay. Examples Display the reboot time of the AC. <Sysname> display schedule reboot System will reboot at 16:00:00 03/10/2006 (in 2 hours and 5 minutes).
undo job job-name View System view Default Level 3: Manage level Parameters job-name: Specifies name of the scheduled task, a string of 1 to 32 characters. Description Use the job command to create a scheduled task and enter job view, or enter this view directly if a task is ready.
Description Use the license append command to add a license to a specified AC. NOTE: After adding the license successfully, you must reboot the AC to make the license effective. Support for this command depends on your AC model. Examples Add a license to the AC with the license key of F2DED8FB42C662571820, and the activation key of CD59D7CD04AF48D89404.
<Sysname> reboot Start to check configuration with next startup configuration file, please wait..DONE! This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait... Example 2: Reboot the AC after the current configuration changes.. <Sysname> reboot Start to check configuration with next startup configuration file, please wait..DONE! This command will reboot the device.
schedule reboot at Syntax schedule reboot at hh:mm [ date ] undo schedule reboot View User view Default Level 3: Manage level Parameters hh:mm: Reboot time of an AC, in the format of hh:mm (hours:minutes). The value of the hh argument ranges from 0 to 23, and the value of the mm argument ranges from 0 to date: Reboot date of an AC, in the format mm/dd/yyyy (month/day/year) or in the format yyyy/mm/dd (year/month/day) The yyyy value ranges from 2000 to 2035, the mm value ranges from 1 to 12, and the dd value depends on a specific month.
After you execute the above command, the AC prompts you to confirm the configuration. You must enter <Y> or <y> to make the configuration take effect. The original configuration is overwritten at the same time. If a date (month/day/year or year/month/day) later than the current date is specified for the schedule reboot at command, the AC is rebooted at the reboot time.
Page 154
Description Use the schedule reboot delay command to enable the scheduled reboot function and set a reboot wait time. Use the undo schedule reboot command to disable the scheduled reboot function. By default, the scheduled reboot function is disabled. The reboot wait time can be in the format of hh:mm (hours:minutes) or mm (absolute minutes).
system-failure Syntax system-failure { maintain | reboot } undo system-failure { maintain | reboot } View System view Default Level 3: Manage level Parameters maintain: Specifies that when the system detects any software abnormality, it maintains the current situation, and does not take any measure to recover itself. reboot: Specifies that when the system detects any software abnormality, it recovers itself through automatic reboot.
upper-value: Upper temperature limit in Celsius degrees. The value ranges from 20 to The upper-value argument must be larger than the lower-value argument. Description Use the temperature-limit command to set the temperature alarm threshold on a board. Use the undo temperature-limit command to restore the temperature alarm threshold to the default.
Page 157
at time1: Specifies the execution time, in the format of hh:mm (hour:minute), where hh is in the rage of 0 to 23 and mm is in the range of 0 to 59. date: Specifies the execution date, in the format of MM/DD/YYYY (month/date/year) or YYYY/MM/DD (year/month/date), where the year is in the range of 2000 to 2035, the month is in the range of 1 to 12, and the date range depends on the specified month.
Page 158
command will be executed on the second day. This command will be executed only once. Use time timeID one-off at time1 month-date month-day command command to specify the time on the specified day in the current month for executing the command.
Example 3: Configure to save the configuration file at 8:00 AM on 5 in the current month, which may be executed in the second month if the time has passed. <Sysname> system-view [Sysname] job saveconfig [Sysname-job-saveconfig] view momitor [Sysname-job-saveconfig] time 1 repeating at 8:00 month-date 5 command save a.cfg Example 4: Configure to save the configuration file at 8:00 AM on Friday and Saturday in the...
Page 160
undo view View Job view Default Level 3: Manage level Parameters view-name: Specifies name of the view in which commands in the scheduled task are executed. A view name is a string of 1 to 90 characters. Description Use the view command to specify the view in which the commands contained in the scheduled task are automatically executed.
Basic configuration commands clock datetime Syntax clock datetime time date View User view Default Level 3: Manage level Parameters time: Configured time, in the format of HH:MM:SS, where HH is hours in the range 00 to 23, MM is minutes in the range 00 to 59, and SS is seconds in the range 00 to 59. The first zero in the HH, MM, or SS value can be omitted;...
clock summer-time one-off 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, a string of 1 to 32 characters. It is case sensitive.
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. Otherwise, the argument is considered as invalid and the configuration fails. If the current system time is in the time range specified with this command, the system time automatically adds “add-time”...
Page 164
end-time: End time, in the format of HH:MM:SS (hours/minutes/seconds). The zeros in the argument can be omitted except for indicating 0 hours. end-date: End date which can be set in two ways: Enter the year, month and date at one time, in the format of MM/DD/YYYY (months/days/years) or YYYY/MM/DD.
Examples 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, set the system clock ahead one hour. <Sysname> system-view [Sysname] clock summer-time abc2 repeating 06:00:00...
Examples Set the name of the local time zone to Z5, five hours ahead of UTC time. <Sysname> system-view [Sysname] clock timezone z5 add 5 configure-user count Syntax configure-user count number undo configure-user count View System view Default Level 2: System level Parameters number: Number of users, the value range varies with ACs.
display clipboard Syntax display clipboard View Any view Default Level 1: Monitor level Parameters None Description Use the display clipboard command to view the contents of the clipboard. To copy the specified content to the clipboard: Move cursor to the starting position of content...
The current system time and date are decided by the clock datetime, clock summer- time one-off (or clock summer-time repeating), clock timezone. For more information about the rules, see Basic System Configuration in the Fundamentals Configuration Guide. Related commands: clock datetime, clock summer-time one-off, clock summer-time repeating, and clock timezone.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. This argument is case-sensitive and can have spaces included. Description Use the display current-configuration command to display the current validated configuration of an AC. You can use the display current-configuration command to view the currently validated configuration.
Description Use the display diagnostic-information command to display or save the statistics of the running status of multiple modules in the system. During daily maintenance or when the system is out of order, you must display the running information of each functional module to locate the problem. Generally, you must execute the corresponding display commands for each module, because each module has independent running information.
View Any view Default Level 1: Monitor level Parameters by-linenum: Specifies to display the number of each line. Description Use the display this command to display the validated configuration information under the current view. After finishing a set of configurations under a view, you can use the display this command to check whether the configuration takes effect.
Default Level 1: Monitor level Parameters None Description Use the display version command to view system version information. By viewing system version information, you can learn about the current software version, rack type and the information related to the main control board and interface boards.
Page 174
Description Use the header command to create a banner. Use the undo header command to clear a banner. Examples Configure banners. <Sysname> system-view [Sysname] header incoming % Input banner text, and quit with the character '%'. Welcome to incoming(header incoming)% [Sysname] header legal % Input banner text, and quit with the character '%'.
Password: Welcome to shell(header shell) <Sysname> quick configuration Syntax quick configuration View System view Default Level 3: Manage level Parameters None Description Use the quick configuration command to enable the quick configuration function. This command implements the function of a configuration guide, to guide you to configure the basic parameters one by one in the way of prompt information.
Page 176
View User view Default Level 0: Visit level Parameters level: User level, in the range 0 to 3, and defaults to 3. Description Use the super command to switch from the current user privilege level to a specified user privilege level. If you do not provide the level argument, the current user privilege level is switched to Login users are classified into four levels that correspond to the four command levels.
super authentication-mode Syntax super authentication-mode { local | scheme } * undo super authentication-mode View System view Default Level 2: System level Parameters local: Authenticates a user by using the local password set with the super password command. In this case, when no password is set with the super password command, privilege level switch succeeds if the user is logged in from the console port (here indicates the console port or the AUX port used as the console port), and the switch fails if the user is logged in from any of the AUX or VTY user interfaces or inputs an...
<Sysname> system-view [Sysname] super authentication-mode local Example 2: Set the authentication mode for user privilege level switch to scheme local. <Sysname> system-view [Sysname] super authentication-mode scheme local super password Syntax super password [ level user-level ] { simple | cipher } password undo super password [ level user-level ] View System view...
Use the sysname command to set the name of the AC. Use the undo sysname demand to restore the AC name to the default. The default name of the AC is H3C. Modifying AC name affects the prompt of the CLI. For example, if the AC name is...
Page 180
Examples Set the name of the AC to R2000. <Sysname> system-view [Sysname] sysname Test [Test]...
HTTP configuration commands display ip http Syntax display ip http View Any view Default Level 1: Monitor level Parameters None Description Use the display ip http command to display information about HTTP. Examples Display information about HTTP. <Sysname> display ip http HTTP port: 80 WLAN ACL: 100 Basic ACL: 2222...
ip http acl Syntax ip http acl acl-number undo ip http acl acl-number View System view Default Level 2: System level Parameters acl-number: ACL number, which ranges from: 100 to 199: WLAN ACL 2000 to 2999: basic IPv4 ACL Description Use the ip http acl command to associate the HTTP service with an ACL.
[Sysname-acl-wlan-100] rule permit ssid user-ssid-name [Sysname-acl-wlan-100] quit [Sysname] ip http acl 100 Example 2: Configure to associate the HTTP service with ACL 2001 and only allow the clients within the 10.10.0.0/16 network segment to access the device through the Web function. <Sysname>...
Example 2: Disable the HTTP service. <Sysname> system-view [Sysname] undo ip http enable ip http port Syntax ip http port port-number undo ip http port View System view Default Level 3: Manage level Parameters port-number: Port number of the HTTP service, which ranges from 1 to 65535. Description Use the ip http port command to configure the port number of the HTTP service.
HTTPS configuration commands display ip https Syntax display ip https View Any view Default Level 1: Monitor level Parameters None Description Use the display ip https command to display information about HTTPS. Examples Display information about HTTPS. <Sysname> display ip https HTTPS port: 443 SSL server policy: test Certificate access-control-policy:...
Field Description The basic ACL number associated with the HTTPS Basic ACL service Current connection The number of current connections Operation status, which takes the following values: Operation status Running: The HTTPS service is enabled. Stopped: The HTTPS service is disabled. ip https acl Syntax ip https acl acl-number...
Related commands: display ip https (in HTTP in the Fundamentals Command Reference), acl number (in ACL in the ACL and QoS Command Reference). Examples Example 1: Associate the HTTPS service with ACL 100 and only allow the wireless client with the SSID user-ssid-name to access the device through the Web function.
By default, the HTTPS service is not associated with any certificate attribute access control policy. Association of the HTTPS service with a certificate attribute access control policy can control the access rights of clients. Related commands: display ip https (in HTTP in the Fundamentals Command Reference);...
command must be executed for multiple times to ensure normal startup of the HTTPS service. Related commands: display ip https. Examples Enable the HTTPS service. <Sysname> system-view [Sysname] ip https enable ip https port Syntax ip https port port-number undo ip https port View System view Default Level...
ip https ssl-server-policy Syntax ip https ssl-server-policy policy-name undo ip https ssl-server-policy View System view Default Level 3: Manage level Parameters policy-name: Name of an SSL server policy, which is a string of 1 to 16 characters. Description Use the ip https ssl-server-policy command to associate the HTTPS service with an SSL server-end policy.
Hotfix configuration commands display patch information Syntax display patch information View Any view Default Level 3: Manage level Parameters None Description Use the display patch information command to display the hotfix information. Examples Display hotfix information. <Sysname> display patch information The location of patches: flash: Slot Version Temporaty Common Current Active Running...
Field Description Active Number of patches in the ACTIVE state Start-Address Starting address of the memory patch area in the memory patch active Syntax patch active patch-number View System view Default Level 3: Manage level Parameters patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used.
Default Level 3: Manage level Parameters patch-number: Sequence number of a patch. The valid values of this argument depend on the patch file used. Description Use the patch deactive command to stop running the specified patch and all the ACTIVE patches after the specified patch, and the system will run at the original software version.
[Sysname] patch delete 3 slot 5 patch install Syntax patch install patch-location undo patch install View System view Default Level 3: Manage level Parameters patch-location: A string consisting of 1 to 64 characters. It specifies the directory where the patch file locates. Description Use the patch install command to install all the patches in one step.
[Sysname] patch install flash: Patches will be installed. Continue? [Y/N]:y Do you want to run patches after reboot? [Y/N]:y Installing patches… Installation completed, and patches will continue to run after reboot. [Sysname] patch load Syntax patch load View System view Default Level 3: Manage level Parameters...
Default Level 3: Manage level Parameters patch-location: A string consisting of 1 to 64 characters, It can be a root directory of a storage medium or be in the format of "root directory + patch file name". Description Use the patch location command to configure the patch file location. By default, the patch file location is flash:.
Page 197
This operation is applicable to patches in the ACTIVE state only. If the running of a patch is confirmed, after the system reboots, the patch will still be effective. Examples Confirm the running of patch 3 and all the ACTIVE patches before patch 3. <Sysname>...
WX Series WLAN Access Controllers. Contacting H3C Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: Technical Support &...
Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments. Document conventions and symbols Conventions Convention Element Blue text: Table 24 Cross-reference links and email addresses Blue underlined text: Website addresses http://www.hp.com • Bold text Keys that are pressed •...
Page 200
CAUTION: Indicates that failure to follow directions could result in damage to equipment or data. IMPORTANT: Provides clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints and shortcuts.