background image

 

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 
..... 
%Undeleted file flash:/test/b.cfg. 

 

Summary of Contents for WX Series

Page 1: ... 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: ... express or implied Hangzhou H3C Technologies Co Ltd and its licensors shall not be liable for technical or editorial errors or omissions contained herein Acknowledgments H3C Aolynk H3Care TOP G IRF NetPilot Neocean NeoVTL SecPro SecPoint SecEngine SecPath Comware Secware Storware NQA VVG V2G VnG PSPT XGbus N Bus TiGem InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All ot...

Page 3: ... return 19 screen length disable 20 system view 21 2 Commands for logging in to an access controller 22 acl user interface view 22 authorization attribute 24 display telnet client configuration 27 header 27 service type 30 service type lan access 31 sysname 31 telnet 32 telnet client source 33 telnet ipv6 34 telnet server enable 35 3 FTP configuration commands 36 FTP server configuration commands ...

Page 4: ...39 ftp timeout 40 ftp update 41 FTP client configuration commands 41 ascii 42 binary 42 bye 43 cd 44 cdup 45 close 45 debugging 46 delete 48 dir 48 disconnect 50 display ftp client configuration 50 ftp 51 ftp client source 52 ftp ipv6 53 get 54 lcd 55 ls 56 mkdir 57 open 58 open ipv6 59 passive 60 ...

Page 5: ... tftp client source 71 tftp ipv6 72 5 User interface configuration commands 74 activation key 74 auto execute command 75 authentication mode 77 command accounting 78 command authorization 79 databits 79 display history command 80 display user interface 81 display users 83 escape key 84 free user interface 86 history command max size 86 idle timeout 87 lock 88 parity 89 ...

Page 6: ...e view 95 stopbits 96 terminal type 97 user privilege level 98 user interface 99 6 File management commands 101 cd 101 copy 102 delete 103 dir 103 execute 105 file prompt 106 fixdisk 106 format 107 mkdir 108 more 109 mount 110 move 111 pwd 111 rename 112 reset recycle bin 113 rmdir 114 umount 115 undelete 116 ...

Page 7: ...figuration 124 display saved configuration 125 display startup 127 reset saved configuration 128 restore startup configuration 129 save 130 startup saved configuration 131 8 Device management commands 133 boot loader 133 bootrom 134 display boot loader 135 display cpu usage 136 display cpu usage history 137 display device 139 display device manuinfo 140 display device serial number 141 display env...

Page 8: ...ot delay 153 system failure 155 temperature limit 155 time 156 view 159 9 Basic configuration commands 161 clock datetime 161 clock summer time one off 162 clock summer time repeating 163 clock timezone 165 configure user count 166 display clipboard 167 display clock 167 display configure user 168 display current configuration 169 display diagnostic information 170 display this 171 display version...

Page 9: ...mmands 185 display ip https 185 ip https acl 186 ip https certificate access control policy 187 ip https enable 188 ip https port 189 ip https ssl server policy 190 12 Hotfix configuration commands 191 display patch information 191 patch active 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 docume...

Page 10: ...able to your region 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 The interface types and the number of interfaces vary by AC model This document uses GE interfaces to show how to configure Ethernet interfaces The sample output...

Page 11: ...Use the undo command alias enable command to disable the command alias function By default the command alias function is disabled which means command aliases cannot be configured Examples Example 1 Enable the command alias function Sysname system view Sysname command alias enable Example 2 Disable the command alias function Sysname system view Sysname undo command alias enable command alias mappin...

Page 12: ...as Examples Example 1 Configure command aliases by specifying show as the replacement of the display keyword Sysname system view Sysname command alias mapping display show After implementing the above configuration the display commands have their aliases For example if the original command is display clock its alias is now show clock and the alias can be input to view the system time and date Exam...

Page 13: ...lege is 3 and the command privilege of VTY 0 user interface is 1 and the user logs on the system from VTY 0 all the commands with privilege smaller than three inclusive can be used Use the default command level or modify the command level under the guidance of professional staff otherwise the change of command level may introduce maintenance operation or security problems When you configure the co...

Page 14: ...this view For example the default command level of commands interface and system view is 2 system level If you want to make the interface command available to users with the user privilege level of 1 you must execute the following three commands command privilege level 1 view shell system view command privilege level 1 view system interface ethernet 1 1 and command privilege level 1 view system qu...

Page 15: ...onitor level Parameters None Description Use the display history command command to display commands saved in the history buffer The system saves validated history commands performed last in current user view to the history buffer which can save up to 10 commands by default You can use the history command max size command to set the size of the history buffer Related commands history command max s...

Page 16: ...onfiguration 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 cur...

Page 17: ...SC_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 hotkey 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 Assigns the hot key Ctrl G to a command CTRL_L Assigns the hot key Ctrl L to a command...

Page 18: ...isplay 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 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 cu...

Page 19: ...cify the beginning of clipboard ESC_ Specify the end of clipboard quit Syntax quit View Any view Default Level 0 Visit level in user view 2 System level in other views Parameters None Description Use the quit command to exit to a lower level view If the current view is user view the quit command terminates the current connection and reconnects to the device Examples Switch from GigabitEthernet 1 0...

Page 20: ...e screen length disable command to disable the multiple screen output function of the current user Use the undo screen length disable command to enable the multiple screen output function of the current user By default a login user uses the settings of the screen length command The default settings of the screen length command are multiple screen output is enabled and 24 lines are displayed on the...

Page 21: ...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 Sysname system view System View return to User View with Ctrl Z Sysname ...

Page 22: ...ce model acl number Number of access control list ACL The value is in the following range 100 to 199 WLAN ACL 2000 to 2999 Basic ACL 3000 to 3999 Advanced ACL 4000 to 4999 Layer 2 ACL inbound Restricts the Telnet or SSH connection established by using the VTY user interface If the received packets for establish a Telnet or SSH connection match the ACL rule the connection is established When the de...

Page 23: ...nection match the ACL rule the connection is permitted or denied according to the ACL rule if not the connection is denied directly The system regards the basic advanced ACL with the inbound keyword the basic advanced ACL with the outbound keyword WLAN ACL and Layer 2 ACL as four different types of ACLs which can coexist in one VTY user interface If there are different types of ACLs in one VTY use...

Page 24: ...onnection fails and the system prompt appears Can t access the host from this terminal when the device telnets to another device with the IP address of 192 168 1 41 the connection is established which equals logging in to the device with the IP address of 192 168 1 41 directly Example 3 When users access the wireless access point AP or access controller AC through wireless AP by using the user int...

Page 25: ...ommands of this level are used to diagnose the network and change the language mode of user interface such as the ping tracert and language mode command The Telnet command is also of this level Commands of this level cannot be saved in configuration files Monitor level Commands of this level are used to maintain the system and to debug service problems This level includes the display debugging res...

Page 26: ...tes for a local user consider what attributes are needed For example for PPP users you do not need to configure the work directory attribute The assignment of local user authorization attributes does not take the service type into account the configured authorization attributes is effective to all types of users Authorization attributes configured for a user group are effective on all local users ...

Page 27: ... configuration information of the source IP address or source interface of the Telnet client Examples Display the current configuration information of the Telnet client Sysname display telnet client configuration The source IP address is 1 1 1 1 header Syntax header incoming legal login motd shell text undo header incoming legal login motd shell View System view Default Level 2 System level Parame...

Page 28: ...e not part of the banner information c Input multiple characters after the command keywords at the first line with the first and last characters being different then press the Enter key End the setting with the first character input at the first line The first input character at the first line and the end character are not part of the banner information The line feed character inserted in the info...

Page 29: ...ut banner text and quit with the character Welcome to login header login Sysname header motd Input banner text and quit with the character Welcome to motd header motd Sysname header shell Input banner text and quit with the character Welcome to shell header shell NOTE In this example acts as the beginning end character of the text After the text is displayed enter the character to end the text and...

Page 30: ...nal undo service type ssh telnet terminal View Local user view Default Level 3 Manage level Parameters ssh Specifies the users to be of SSH type telnet Specifies the users to be of Telnet type terminal Makes terminal services available to users logging in through the console port NOTE You can use the authorization attribute acl acl number callback number callback number idle cut minute level level...

Page 31: ...ce type lan access undo service type lan access View Local user view Default Level 2 System level Parameters None Description Use the service type lan access command to specify the service type that a user can use as lan access to the user of Ethernet 802 1x user Use the undo service type lan access command to cancel the lan access service type By default no service is supplied to a user Examples ...

Page 32: ...hen the prompt of user view is H3C Examples Set the system name of the access controller to ABC Sysname system view System View return to User View with Ctrl Z Sysname sysname ABC ABC telnet Syntax telnet remote host service port 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 sys...

Page 33: ...terface specified by the telnet command takes effect Examples Telnet the remote host with the IP address 1 1 1 2 specifying the source IP address of Telnet packets as 1 1 1 1 Sysname telnet 1 1 1 2 source ip 1 1 1 1 telnet client source Syntax telnet client source interface interface type interface number ip ip address undo telnet client source View System view Default Level 2 System level Paramet...

Page 34: ...ystem view Sysname telnet client source ip 1 1 1 1 telnet ipv6 Syntax telnet ipv6 remote host i interface type interface number port number View User view Default Level 0 Visit level Parameters remote host IP address or host name of a remote system a string of 1 to 46 characters case insensitive i interface type interface number Specifies the outbound interface for sending Telnet packets where int...

Page 35: ...m view Default Level 3 Manage level Parameters None Description Use the telnet server enable command to enable Telnet services Use the undo telnet server enable command to disable Telnet services Telnet services are disabled by default Examples Example 1 Enable the Telnet Server Sysname system view Sysname telnet server enable Start Telnet server Example Disable the Telnet Server Sysname undo teln...

Page 36: ...guring FTP server parameters you may verify them with this command Related commands ftp server enable ftp timeout and ftp update Examples Display the FTP server configuration Sysname display ftp server FTP server is running Max user number 1 User count 1 Timeout value in minute 30 Put Method fast Table 1 display ftp server command output description Field Description Max user number Maximum number...

Page 37: ...ommand to display the detailed information of current FTP users Examples Display the detailed information of FTP users Sysname display ftp user UserName HostIP Port Idle HomeDir ftp 192 168 1 54 1190 0 cfa0 If the name of the logged in user exceeds 10 characters the exceeded characters are displayed in the next line and right justified For example if the logged in user name is administrator the in...

Page 38: ...play ftp user command to view the logged in user name of the current FTP connection Description Use the free ftp user command to manually release the FTP connection established with the specified username If the user to be released is transmitting a file the connection between the user and the FTP server is terminated after the file transmission Examples Manually release the FTP connection establi...

Page 39: ... clients allowed by the ACL rules This configuration only filters the FTP connections to be established and has no effect on the established FTP connections and operations If you execute the command for multiple times the last specified ACL takes effect Examples Associate the FTP service with ACL 2001 to allow only the client 1 1 1 1 to access the AC through FTP Sysname system view Sysname acl num...

Page 40: ...inutes in the range 1 to 35791 Description Use the ftp timeout command to set the idle timeout timer Use the undo ftp timeout command to restore the default By default the FTP idle time is 30 minutes After you log in to an FTP server if the connection is disrupted and the FTP server is not notified the system will maintain the connection This causes the occupation of the system resources and affec...

Page 41: ...em view Sysname ftp update normal FTP client configuration commands NOTE In this section the configuration procedure of entering FTP client view is omitted You must use the ftp command to enter FTP client view for configurations under this view For details see ftp Before executing the FTP client configuration commands in this section be sure that you have configured the proper authority for users ...

Page 42: ...s system use characters r n and the Linux system uses characters n Therefore after the file transmission between two systems that use different carriage return characters such as Linux system and H3C device system the FTP transmission mode must be applied to ensure the correct resolution of the files FTP transfers files in two modes 1 Binary mode for program file or picture transmission 2 ASCII mo...

Page 43: ... Type set to I bye Syntax bye View FTP client view Default Level 3 Manage level Parameters None Description Use the bye command to disconnect from the remote FTP server and return to user view If the AC establishes no connection with the remote FTP server you will return to user view directly Related commands close disconnect and quit Examples Terminate the connection with the remote FTP server an...

Page 44: ...upper directory exists the current working directory does not change when the cd command is executed This argument does not support command online help Returns to the root directory of the storage medium The keyword does not support command line online help Description Use the cd command to change the current working directory on the remote FTP server You can use this command to access another aut...

Page 45: ...xecution of this command will not change the working directory if the current directory is already the authorized directory work directory Related commands cd and pwd Examples Change the current working directory path to the upper directory ftp pwd 257 ftp subdir is current directory ftp cdup 200 CDUP command successful ftp pwd 257 ftp is current directory close Syntax close View FTP client view D...

Page 46: ...ndo debugging View FTP client view Default Level 3 Manage level Parameters None Description Use the debugging command to enable FTP client debugging Use the undo debugging command to disable FTP client debugging By default FTP client debugging is disabled Examples The AC serves as the FTP client Enable FTP client debugging and use the active mode to download file sample file from the current direc...

Page 47: ...ith the signal light turned on FTPC File transfer completed with the signal light turned off 226 Transfer complete FTP 3304 byte s received in 4 889 second s 675 00 byte s sec ftp Table 3 debugging command output description Field Description PORT Give an FTP order with data port numbers being The parsed reply is The received reply code which is defined in RFC 959 RETR Download the file FTPC File ...

Page 48: ... delete permission on the FTP server Examples Delete file temp c ftp delete temp c 250 DELE command successful dir 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 localfile Name of the local file to save the displayed information Description Use the dir command to view the detailed inform...

Page 49: ...ir 227 Entering Passive Mode 192 168 1 46 5 68 125 ASCII mode data connection already open transfer starting for drwxrwxrwx 1 noone nogroup 0 Aug 08 2006 logfile rwxrwxrwx 1 noone nogroup 20471748 May 11 10 21 test app rwxrwxrwx 1 noone nogroup 4001 Dec 08 2007 config cfg rwxrwxrwx 1 noone nogroup 3608 Jun 13 2007 startup cfg drwxrwxrwx 1 noone nogroup 0 Dec 03 2007 test rwxrwxrwx 1 noone nogroup ...

Page 50: ...w This command is equal to the close command Examples Disconnect from the remote FTP server but remain in FTP client view ftp disconnect 221 Server closing display ftp client configuration Syntax display ftp client configuration View Any view Default Level 1 Monitor level Parameters None Description Use the display ftp client configuration command to display the configuration information of the FT...

Page 51: ...CP port number of the remote FTP server in the range 0 to 65535 The default value is 21 interface interface type interface number Specifies the source interface by its type and number The primary IP address configured on this interface is the source address of the transmitted packets If no primary IP address is configured on the source interface the connection fails ip source ip address The source...

Page 52: ...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 ftp client source 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 Parame...

Page 53: ...d with the ftp client source command 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 the ftp client source command is valid for all FTP connections and the source address specified with the ftp command is valid only for the current FTP connection Related commands display ftp client configura...

Page 54: ... the configuration of link local addresses see IPv6 Basics in the Layer 3 IP Services Configuration Guide Description Use the ftp ipv6 command to log in to the FTP server and enter FTP client view This command applies to IPv6 networks If you use this command without specifying any parameters you will simply enter the FTP client view without logging in to an FTP server If you specify the parameters...

Page 55: ... from a remote FTP server and save it 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 lcd Syntax lcd View FTP client view Default Level 3 Manage level Parame...

Page 56: ...played Use the ls remotefile command to view the information of a specified file or subdirectory Use the ls remotefile localfile command to view the information of a specified file or subdirectory and save the result to a local file specified by the localfile argument NOTE The Is command can only display the names of files and directories on the FTP server whereas the dir command can display other...

Page 57: ...tion already open transfer starting for logfile 226 Transfer complete FTP 20 byte s received in 3 962 second s 5 00 byte s sec Example 3 View the content of file aa txt ftp quit Sysname more aa txt logfile log mkdir Syntax mkdir directory View FTP client view Default Level 3 Manage level Parameters directory Name of the directory to be created Description Use the mkdir command to create a subdirec...

Page 58: ... client view At login you are asked to enter the username and password for accessing the FTP server If your input is correct the login succeeds otherwise it fails If you have logged in to the IPv4 FTP server currently you cannot use the open command to log in to another server You must disconnect with the current server first and then try to connect with another one Related commands close Examples...

Page 59: ...e specified egress interface must have a link local address For the configuration of link local addresses see IPv6 Basics in the Layer 3 IP Services Configuration Guide Description Use the open ipv6 command to log in to the IPv6 FTP server in FTP client view At login you are asked to enter the username and password for accessing the FTP server If your input is correct the login succeeds otherwise ...

Page 60: ...a transmission modes fall into the passive mode and the active mode Active mode the data connection request is initiated by a server Passive mode the data connection request is initiated by a client This command is mainly used in conjunction with a firewall to restrict the FTP session connection between private and public network users Examples Set the data transmission mode to passive ftp passive...

Page 61: ...e remote FTP server and save it as dd txt ftp put cc txt dd txt 227 Entering Passive Mode 192 168 1 50 17 169 125 ASCII mode data connection already open transfer starting for dd txt 226 Transfer complete FTP 9 byte s sent in 0 112 second s 80 00 byte s sec pwd Syntax pwd View FTP client view Default Level 3 Manage level Parameters None Description Use the pwd command to display the currently acce...

Page 62: ...xit to user view ftp quit 221 Server closing control connection Sysname remotehelp Syntax remotehelp protocol command View FTP client view Default Level 3 Manage level Parameters protocol command FTP command Description Use the remotehelp command to display the help information of FTP related commands supported by the remote FTP server If no argument is specified FTP related commands supported by ...

Page 63: ...ay the help information for the user command ftp remotehelp user 214 Syntax USER sp username ftp Table 4 remotehelp command output description Field Description 214 Here is a list of available ftp commands The following is an available FTP command list Those with are not yet implemented Those commands with are not yet implemented USER Username PASS Password CWD Change the current working directory...

Page 64: ...king 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 the same meaning as CUP XCWD Extension command the same meaning as CWD XMKD Extension command the same meaning as MKD XPWD Extension command the same meaning as PWD XRMD Extension command the same meaning as RMD Syntax USER s...

Page 65: ...aning you should delete all files and subdirectories under the directory before you delete a directory For the deletion of files see the delete command After you execute the rmdir command successfully the files in the remote recycle bin under the directory are automatically deleted Examples Delete the temp1 directory from the authorized directory on the FTP server ftp rmdir temp1 200 RMD command s...

Page 66: ...ng username and password on the FTP server otherwise your login fails and the FTP connection is closed Examples User ftp1 has logged in to the FTP server Use username ftp2 to log in to the current FTP server Assume that username ftp2 and password 123123123123 have been configured on the FTP server Method 1 ftp user ftp2 331 Password required for ftp2 Password 230 User logged in ftp Method 2 ftp us...

Page 67: ...ple 2 Disable the protocol information function and perform the Get operation ftp undo verbose FTP verbose is off ftp get startup cfg bb cfg FTP 3608 byte s received in 0 052 second s 69 00K byte s sec ftp Example 3 Enable the protocol information function and perform the Get operation ftp verbose FTP verbose is on ftp get startup cfg aa cfg 227 Entering Passive Mode 192 168 1 46 5 85 125 ASCII mo...

Page 68: ...o display the configuration information of the TFTP client Related commands tftp client source Examples Display the current configuration information of the TFTP client Sysname display tftp client configuration The source IP address is 192 168 0 123 NOTE Currently this command displays the configured source IP address or source interface of the TFTP client tftp server acl Syntax tftp server ipv6 a...

Page 69: ...ss to a specific TFTP server in a network For more information about ACL see ACL in the ACL and QoS Configuration Guide and Command Reference Examples Example 1 Allow the AC to access the TFTP server with the IP address of 1 1 1 1 only in IPv4 networking environment Sysname system view Sysname acl number 2000 Sysname acl basic 2000 rule permit source 1 1 1 1 0 Sysname acl basic 2000 quit Sysname t...

Page 70: ...y TFTP If no primary IP address is configured on the source interface the transmission fails ip source ip address Specifies the source IP address for the current TFTP client to transmit packets This source address must be an IP address that has been configured on the AC Description Use the tftp command to upload files from the local AC to a TFTP server or download files from the TFTP server to the...

Page 71: ...s of 192 168 0 98 and save it as config bak Specify the source IP interface to be Ethernet 1 1 Sysname tftp 192 168 0 98 put config cfg config bak source interface ethernet 1 1 File will be transferred in binary mode Sending file to remote TFTP server Please wait TFTP 345600 bytes sent in 1 second s File uploaded successfully tftp client source Syntax tftp client source interface interface type in...

Page 72: ...ce interface and vice versa If the source address is specified with the tftp client source command and then with the tftp command the source address specified with the latter one is used to communicate with the TFTP server The source address specified with the tftp client source command is valid for all tftp connections and the source address specified with the tftp command is valid for the curren...

Page 73: ...es Configuration Guide get Downloads a file put Uploads a file source filename Source filename destination filename Destination filename If not specified this filename is the same as the source filename Description Use the tftp ipv6 command to download a specified file from a TFTP server or upload a specified local file to a TFTP server This command applies to IPv6 networks Examples Download filet...

Page 74: ...ystem will use its corresponding character a as the shortcut key if you input the string b c the system will use the first letter b as the shortcut key Description Use the activation key command to define a shortcut key for starting a terminal session Use the undo activation key command to restore the default By default pressing the Enter key starts the terminal sessions However if you define a ne...

Page 75: ...004 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 Please press ENTER Enter s to start the terminal session Pressing Enter cannot start the session Sysname Mar 2 18 40 27 981 2005 Sysname SHELL 5 LOGIN Console login from con0 auto execute command Syntax auto execute ...

Page 76: ...ne to which the command is applied Therefore before configuring the command and saving the configuration using the save command be sure that you can access the system by other means to remove the configuration in case a problem occurs Examples Automatically execute the display brief interface loopback command after a user logs on from the VTY 0 interface Sysname system view Sysname user interface ...

Page 77: ...users log onto the device using the current user interface Use the undo authentication mode command to restore the default By default the authentication mode is password for VTY and AUX user interfaces and is none for console user interface Related commands set authentication password Examples Example 1 Set that no authentication is needed when users use VTY 0 interface to log onto the device This...

Page 78: ...sname luser 123 authorization attribute level 3 command accounting Syntax command accounting undo command accounting View User interface view Default Level 3 Manage level Parameters None Description Use the command accounting command to enable command accounting Use the undo command accounting command to restore the default By default command accounting is disabled The accounting server does not r...

Page 79: ...tion command to enable command authorization Use the undo command authorization command to restore the default By default command authorization is disabled Logged in users can execute commands without authorization With command authorization enabled users logging in from the current user interface can perform commands authorized by the server Examples Enable command accounting for VTY 0 Then users...

Page 80: ...ce Use the undo databits command to restore the default By default the data bit is eight NOTE The command is only applicable to asynchronous serial interfaces including AUX and console ports The data bits setting on the terminal must be the same as that on the device user interface for communication Examples Set data bits to 5 Sysname system view Sysname user interface aux 0 Sysname ui aux0 databi...

Page 81: ...2 summary View Any view Default Level 1 Monitor level Parameters num1 Absolute number of a user interface typically starting from 0 num2 Relative number of a user interface in the following rules For the AUX port the value is 0 For the console port the value is 0 For VTY user interfaces the value ranges from 0 to 4 summary Displays summary about user interfaces Description Use the display user int...

Page 82: ... interface command output description Field Description The current user interface is active F The current user interface is active and works in asynchronous mode Idx The absolute number of the user interface Type The type and relative number of the user interface Tx Rx The speed of the user interface Privi Indicates the command level of a user under that user interface Auth The authentication mod...

Page 83: ...les Display the information about the user interfaces being used Sysname display users The user application information of the user interface s Idx UI Delay Type Userlevel 1 VTY 0 00 00 00 TEL 3 2 VTY 1 00 02 34 TEL 3 Following are more details VTY 0 User name admin Location 192 168 1 54 VTY 1 User name admin Location 192 168 1 58 Current operation user F Current operation user work in async mode ...

Page 84: ...rent user works in asynchronous mode escape key 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 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...

Page 85: ...e A If you telnet to Device B through Device A however you can only use e to terminate the task running on Device B rather than input e as a common character Therefore you are recommended to specify character as a key combination Examples Define key a as the escape key Sysname system view Sysname user interface console 0 Sysname ui console0 escape key a To verify the configuration do the following...

Page 86: ...cription Use the free user interface command to disconnect with the specified user interface You cannot use this command to terminate your own connection Examples Terminate the connection with user interface VTY 1 Sysname free user interface vty 1 Are you sure to free user interface vty1 Y N y Sysname If you want to make configurations without interruption from the user using VTY 1 you can release...

Page 87: ... saved in the history buffer After you terminate the current session the system automatically removes the commands saved in the corresponding history buffer Examples Set the size of the history command buffer to 20 Sysname system view Sysname user interface console 0 Sysname ui console0 history command max size 20 idle timeout Syntax idle timeout minutes seconds undo idle timeout View User interfa...

Page 88: ...console 0 Sysname ui console0 idle timeout 1 30 lock Syntax lock View User view Default Level 3 Manage level Parameters None Description Use the lock command to set a password to prevent unauthorized users from operating under the active user interface After entering the lock command you are prompted to input a password up to 16 characters and then confirm it by inputting the password again The pa...

Page 89: ...k none odd space undo parity View User interface view Default Level 2 System level Parameters even Even parity check mark Mark parity check none No parity check odd Odd parity check space Space parity check Description Use the parity command to set the parity check Use the undo parity command to restore the default By default no parity check is performed ...

Page 90: ...vel Parameters all Supports all the protocols including Telnet SSH and PAD ssh Supports SSH only telnet Supports Telnet only Description Use the protocol inbound command to enable the current user interface to support either Telnet PAD SSH or all of them By default all the protocols are supported The configuration takes effect next time you log in CAUTION To configure SSH for a user interface you ...

Page 91: ... the Space key when information display pauses the system continues to display information of the next screen page This command sets the number of lines displayed on the next screen the displayed number of lines on the terminal however is decided by the specifications of the terminal For example you set the value of screen length to 40 but the terminal can only display 24 lines In this case if you...

Page 92: ...rface num2 Relative number of a user interface in the following rules For the AUX port the value is 0 For the console port the value is 0 For VTY user interfaces the value ranges from 0 to 4 Description Use the send command to send messages to the specified user interface s Press Ctrl Z to end message input and press Ctrl C to remove this operation when inputting messages Examples Send the message...

Page 93: ... message Y N y The message saying that the system will reboot in 3 minutes is sent to VTY 1 If a user logs in from VTY 1 the following message is received on VTY 1 VTY 1 received a message from VTY 0 when the interface loopback command is being input in this example Sysname interface loo Message from vty0 to vty1 Note please I will reboot the system in 3 minutes set authentication password Syntax ...

Page 94: ...o local authentication password is set by default When setting a password you should specify simple to save it in plain text in the configuration file or specify cipher to save it in cipher text Whether the password format is plain text or cipher text you must type in plain text password at authentication Plain text password easily gets cracked Therefore use cipher text password Related commands a...

Page 95: ...This command cannot be used on the user interface from which you log in Examples Disable terminal services on the VTYs 0 through 4 Sysname system view Sysname user interface vty 0 4 Sysname ui vty0 4 undo shell Disable ui vty0 4 are you sure Y N y Sysname ui vty0 4 The following information is displayed when a Telnet terminal logs in The connection was closed by the remote host speed in user inter...

Page 96: ...mission rate By default the transmission rate is 9600 bps NOTE The command is only applicable to asynchronous serial interfaces including AUX and console ports The transmission rate setting on the terminal must be the same as that on the device user interface for communication Examples Set the transmission rate on the user interface AUX 0 to 19200 bps Sysname system view Sysname user interface aux...

Page 97: ...1 5 The command is only applicable to asynchronous serial interfaces including AUX and console ports The stop bits setting on the terminal must be the same as that on the device user interface for communication Examples Set the stop bits to 1 5 Sysname system view Sysname user interface aux 0 Sysname ui aux0 stopbits 1 5 terminal type Syntax terminal type ansi vt100 undo terminal type View User in...

Page 98: ...is inconsistent or is set to ANSI but the total number of the characters of the currently using command line exceeds 80 anomalies such as cursor corruption or abnormal display of the terminal display may occur on the client Therefore you are recommended to set the display type of both the device and the client to VT100 Examples Set the terminal display type to VT100 Sysname system view Sysname use...

Page 99: ...rivilege level of the user logging in from VTY 0 to 0 Sysname system view Sysname user interface vty 0 Sysname ui vty0 user privilege level 0 After you telnet the device from VTY 0 you can see that the terminal only displays commands of privilege level 0 in the help information Sysname User view commands cluster Run cluster command display Display current system information ping Ping function quit...

Page 100: ... Relative number of the last user interface in the following rule for VTY user interfaces the value ranges from first num2 1 to 4 Description Use the user interface command to enter a single or multiple user interface views In a single user interface view the configuration takes effect in the user view only In multiple user interface views the configuration takes effect in all of these user views ...

Page 101: ...Management in the Fundamentals Configuration Guide If no drive information is provided the argument represents a folder or subfolder under the current directory Returns to an upper directory If the current working directory is the root directory or no upper directory exists the current working directory does not change when the cd command is executed This argument does not support command online h...

Page 102: ...get file or folder Description Use the copy command to copy a file If you specify a target folder the system will copy the file to the specified folder and use the name of the source file as the file name Examples Example 1 Copy file testcfg cfg under the current folder and save it as testbackup cfg Sysname copy testcfg cfg testbackup cfg Copy flash test cfg to flash testbackup cfg Y N y Copy file...

Page 103: ... txt command Description Use the delete command to move a specified file from a storage medium to the recycle bin where you can restore the file with the undelete command or permanently delete it with the reset recycle bin command The dir all command can display the files moved to the recycle bin These files are enclosed in pairs of brackets CAUTION If you delete two files in different directories...

Page 104: ...mes of these deleted files are enclosed in pairs of brackets The dir file url command displays information about a file or folder Examples Display information about all files and folders Sysname dir all Directory of flash 0 rw 10736924 Jul 25 2008 10 32 37 main bin 1 rw 10348532 May 06 2008 17 55 20 backup bin 2 rw 26348 Dec 06 2007 10 37 53 default diag 3 rw 1494 Jul 30 2008 10 42 53 startup cfg ...

Page 105: ...execution the batch process will abort and the commands that have been executed cannot be cancelled Not every command in a batch file is sure to be executed For example if a certain command is not correctly configured the system omits this command and goes to the next one The configuration generated after a batch file is executed will not be backed up to the standby main board automatically Each c...

Page 106: ... Description Use the file prompt command to set a prompt mode for file operations By default the prompt mode is alert When the prompt mode is set to quiet the system does not warn for any file operation To avoid undesirable consequences resulting from misoperation use the alert mode Examples Set the file operation prompt mode to alert Sysname system view Sysname file prompt alert fixdisk Syntax fi...

Page 107: ...tely if used and is not applicable to a Flash card FAT32 Formats a storage medium using the FAT32 format FAT32 does not support Tab matching but needs to be input completely if used and is not applicable to a Flash card Description Use the format command to format a storage medium CAUTION Formatting a storage medium results in loss of all the files on the storage medium and these files cannot be r...

Page 108: ... created must be unique under the specified directory Otherwise you will fail to create the folder under the directory To use this command to create a folder the specified directory must exist For instance to create folder flash test mytest the test folder must exist Otherwise you will fail to create folder mytest Examples Example 1 Create a folder named test in the current directory Sysname mkdir...

Page 109: ...y the contents of the specified file 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 sysname Sysname configure user count 5 vlan 2 return Sysname ...

Page 110: ...ium or swap the board when mounting or unmounting the device or when you are processing files on the storage medium Otherwise the file system could be damaged 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 me...

Page 111: ... with the file name unchanged You cannot move files between storage media of different types or between different partitions of a CF card Examples Example 1 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 Example 2 Move file b cfg to the subfolder test2 S...

Page 112: ... Default Level 3 Manage level Parameters fileurl source Name of the source file or folder fileurl dest Name of the target file or folder Description Use the rename command to rename a file or folder The target file name must be unique under the current path Examples 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 f...

Page 113: ...ce To delete the file in the recycle bin you must execute the reset recycle bin command in the original directory of the file The reset recycle bin command deletes files in the current directory and in the recycle bin If the original path of the file to be deleted is not the current directory use the cd command to enter the original directory of the file and then execute the reset recycle bin comm...

Page 114: ...ng files from flash may take a long time Please wait Cleared file flash b cfg In directory flash check whether all the files in the recycle bin are deleted 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 r...

Page 115: ...mount device View User view Default Level 3 Manage level Parameters device Name of a storage medium for example cf Description Use the umount command to unmount a hot swappable storage medium such as a CF card excluding flash This command is effective only when the storage medium is in mounted state By default a storage medium is automatically mounted and in the mounted state You must unmount it b...

Page 116: ...rd on the device Sysname umount cf Umount cf successfully Apr 23 01 49 20 929 2008 Sysname VFS 5 LOG cf umounted from slot 0 undelete Syntax undelete file url View User view Default Level 3 Manage level Parameters file url Name of the file to be restored Description Use the undelete command to restore a file from the recycle bin If another file with the same name exists under the same path the und...

Page 117: ...om 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 Undeleted file flash test b cfg ...

Page 118: ...h the specified filename filename prefix serial number to the specified path Before executing the archive configuration command configure the filename prefix and path of the saved configuration file by using the archive configuration location command Examples Save the current running configuration manually Sysname archive configuration Warning Save the running configuration to an archive file Cont...

Page 119: ...nfiguration modification If the configuration of the device does not change frequently save the current running configuration manually as needed If a low speed storage media such as a Flash is used either save the current running configuration manually or configure automatic saving with an interval longer than 1 440 minutes 24 hours If a high speed storage media such as a CF card is used and the c...

Page 120: ...ation location command to configure the path and filename prefix of a saved configuration file Use the undo archive configuration location command to restore the default By default the path and filename prefix of a saved configuration file are not configured and the system does not periodically save the configuration file Before the current running configuration is saved either manually or automat...

Page 121: ...o restore the default By default a maximum of 5 configuration files can be saved Because excessive configuration files occupy large memory space you can use this command to control the number of the files After the maximum number of configuration files is saved the system deletes the oldest files when the next file is saved either automatically or manually When you change the maximum number of con...

Page 122: ...rver The address cannot be an IPv6 address dest filename Target filename used to save the startup configuration file for the next system startup on the server Description Use the backup startup configuration command to back up the configuration file for the next system startup using a filename you specify to the specified TFTP server If you do not specify this filename the original filename is use...

Page 123: ...configuration file encryption function Description Use the configuration encrypt command to enable configuration file encryption Use the undo configuration encrypt command to restore the default By default configuration file encryption is disabled The current valid configurations are directly saved to the configuration file With this feature enabled a configuration file is encrypted every time bef...

Page 124: ...s command the current running configuration rolls back to the configuration state based on the specified configuration file filename Examples Roll back from the current running configuration to a previous configuration state based on a saved configuration file my_archive_1 cfg Sysname system view Sysname configuration replace file my_archive_1 cfg Info Now replacing the current configuration Pleas...

Page 125: ...05 2007 20 34 54 my_archive_2 cfg 3 Aug 05 2007 20 44 54 my_archive_3 cfg indicates the most recent archive file Next archive file to be saved my_archive_4 cfg Table 8 display archive configuration command output description Field Description Location Absolute path of the saved configuration files Archive interval in minutes Configuration file saving interval in minutes If the automatic saving is ...

Page 126: ...ist no information is displayed when you execute the display saved configuration command Related commands save and reset saved configuration in File Management in the Fundamentals Command Reference display current configuration in Basic System Configuration in the Fundamentals Command Reference Examples Example 1 Display the configuration file saved for the next startup of the device Sysname displ...

Page 127: ...each line Sysname display saved configuration by linenum 1 2 version 5 20 0000 3 4 sysname Sysname 5 6 configure user count 6 7 8 domain default enable system 9 10 ipv6 icmpv6 multicast echo reply enable 11 12 ipv6 fib loadbalance type hash based 13 14 ipv6 fibcache 15 16 telnet server enable 17 18 loopback detection enable 19 20 vlan 1 21 22 vlan 100 23 More The More prompt shows that there are m...

Page 128: ... one to be used at the next system startup Sysname display startup Current startup saved configuration file flash testcfg cfg Next startup saved configuration file flash testcfg cfg Table 9 display startup command output description Field Description Current Startup saved configuration file The configuration file used for the current startup Next startup saved configuration file The configuration ...

Page 129: ...ault Level 2 System level Parameters src addr IP address or name of a TFTP server The address cannot be an IPv6 address src filename Filename of the configuration file to be downloaded from the specified server Description Use the restore startup configuration command to download a configuration file from the specified TFTP server to the device and specify the configuration file as the startup con...

Page 130: ... of the storage medium and specify the file as the startup configuration file for the next system startup Related commands reset saved configuration and display current configuration in File Management in the Fundamentals Command Reference display saved configuration in Basic System Configuration in the Fundamentals Command Reference Examples Example 1 Save the current configuration file to the sp...

Page 131: ...figuration file flash startup cfg Next backup startup saved configuration file NULL The output shows that the main startup configuration file for the next system startup is changed to startup cfg startup saved configuration Syntax startup saved configuration cfgfile undo startup saved configuration View User view Default Level 2 System level Parameters cfgfile Configuration file name The file must...

Page 132: ...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 ...

Page 133: ...not be successfully executed The file name is in the format of drive file name where The items in square brackets are optional drive specifies the storage medium of the file The value is the name of the storage medium If an AC has only one storage medium you can execute this command without providing this argument file name specifies the filename which is usually suffixed by bin main Specifies a f...

Page 134: ...t ROM memory When the current Boot ROM is broken and you have backed up the codes you can restore the Boot ROM by performing the restore operation backup Backs up Boot ROM Backs up the Boot ROM codes in the normal partition to the backup partition of the Boot ROM memory When the current Boot ROM is broken you can restore the Boot ROM program from the backup partition update file file url Upgrades ...

Page 135: ...te basic bootrom success Updating extended bootrom Update extended bootrom success Update bootrom success display boot loader Syntax display boot loader View Any view Default Level 2 System level Parameters None Description Use the display boot loader command to display information of the boot file Related commands boot loader Examples Display the file adopted for the current and next boot of the ...

Page 136: ... number of the period for the statistics and its value ranges from 0 to 60 cyclically The system makes CPU usage statistics periodically after each period the system records the average CPU usage during this period and the idx value is added by 1 automatically verbose Specifies to display detailed information of CPU usage statistics If this keyword is not provided the system displays the brief inf...

Page 137: ...cords the average CPU usage in every one minute This field displays the average CPU usage in the last minute 1 in last 5 minutes After the AC boots the system calculates and records the average CPU usage in every five minutes This field displays the average CPU usage in the last five minutes display cpu usage history Syntax display cpu usage history task task id View Any view Default Level 1 Monit...

Page 138: ...h geographical coordinates In the output information Latitude indicates the CPU usage which is displayed based on the step For example if the step of the CPU usage is 5 then the actual statistics value 53 is displayed as 55 and actual statistics value 52 is displayed as 50 Longitude indicates the time Consecutive pond marks indicate the CPU usage at a certain moment The value of the latitude corre...

Page 139: ...for the cf card keyword depends on your AC model usb Displays information of a device connected with the USB interface Support for the usb keyword depends on your AC model subslot subslot number Displays detailed information of the specified subcard The subslot number represents the subslot of a subcard and the value range depends on your AC model verbose Displays detailed information Description ...

Page 140: ...e display device manuinfo command to display electrical label information about the AC Electrical label information is also called permanent configuration data or archive information which is written to the storage device during debugging or test of a board or AC The information includes name of the board device serial number and vendor name Examples Display electrical label information of the AC ...

Page 141: ...vel Parameters None Description Use the display device serial number command to display the serial number and checksum of the AC Examples Display the serial number and checksum of the AC Sysname display device serial number DEVICE_SERIAL_NUMBER 210235A045B05B000435 CHECK_SUM 12SD6D8G Table 14 display device serial number command output description Field Description DEVICE_SERIAL_NUMBER Device seri...

Page 142: ...s Use the display environment cpu command to display the temperature information of all CPUs on the AC Examples Display the temperature information of the AC Sysname display environment System Temperature information degree centigrade SlotNo Temperature Lower limit Upper limit 1 27 5 60 display fan Syntax display fan fan id View Any view Default Level 1 Monitor level Parameters fan id Displays the...

Page 143: ...Specifies the task name a string of 1 to 32 characters Description Use the display job command to display the detailed information of the scheduled tasks to be automatically executed With no argument specified this command displays information about all the scheduled tasks Related commands job time and view Examples Display detailed information of scheduled task saveconfig Sysname display job save...

Page 144: ...level Parameters None Description Use the display license command to display the software registration information of an AC NOTE Only users at monitor level or a higher level can execute this command Examples Display the software registration information of the AC Sysname display license No SN License Key Activation Key Status 1 210235A28X0079000001 868407F2A07102359B8A 47B6155F18EC6B38B5B5 Valid ...

Page 145: ...memory of an AC Examples Display the usage of the memory of the AC Sysname display memory System Total Memory bytes 533579904 Total Used Memory bytes 45910248 Used Rate 8 Table 17 display memory command output description 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 u...

Page 146: ...depends on your AC model Examples Display the status of the power supply of the AC Sysname display power Power 1 State Absent Power 2 State Normal The above information indicates that PSU 2 works normally and PSU 1 is absent display reboot type Syntax display reboot type View Any view Default Level 2 System level Parameters None Description Use the display reboot type command to display the reboot...

Page 147: ...l 1 Monitor level Parameters rps id Displays the status of the specified RPS The argument rps id represents the RPS number which is 2 Description Use the display rps command to display status of the RPS NOTE Support for this command depends on your AC model Examples Display status of the RPS of the AC Sysname display rps RPS 2 State Normal The above output information indicates that RPS 2 works no...

Page 148: ...rs and 5 minutes The above information indicates the system will reboot at 16 00 00 on March 10 2006 in two hours and five minutes display system failure Syntax display system failure View Any view Default Level 3 Manage level Parameters None Description Use the display system failure command to display the exception handling method Related commands system failure Examples Display the exception ha...

Page 149: ...u can configure the task in job view For example you can specify the execution time for the commands in the task This command can be repeatedly executed to create multiple independent scheduled tasks Related commands view and time Examples Create a scheduled task or enter scheduled task saveconfiguration Sysname system view Sysname job saveconfiguration Sysname job saveconfiguration license append...

Page 150: ...ault Level 2 System level Parameters None Description Use the reboot command to reboot the AC CAUTION AC reboot may result in the interruption of the ongoing services Be sure to use these commands If a main boot file fails or does not exist the AC cannot be rebooted with this command In this case you can re specify a main boot file to reboot the AC or you can power off the AC then power it on and ...

Page 151: ... continue Continue Y N y Now rebooting please wait reset unused porttag Syntax reset unused porttag View User view Default Level 1 Monitor level Parameters None Description Use the reset unused porttag command to clear the 16 bit index saved but not used in the current system A confirmation is required when you carry out this command If you fail to make a confirmation within 30 seconds or enter N ...

Page 152: ...c reboot time and date Use the undo schedule reboot command to disable the scheduled reboot function By default the scheduled reboot function is disabled There are two cases if no specific reboot date is specified When the specified reboot time is later than the current time the AC is rebooted at the reboot time of the current day When the specified reboot time is earlier than the current time the...

Page 153: ...hedule reboot at 12 00 Reboot system at 12 00 06 06 2006 in 0 hour s and 16 minute s confirm Y N If you have used the terminal logging command to enable the log display function on the terminal before setting a reboot time the system will automatically display related log information after you enter y By default the log display function is enabled Sysname Jun 6 11 43 11 629 2006 Sysname CMD 4 REBO...

Page 154: ...e reboot delay command to adjust the system time the reboot wait time set by the schedule reboot delay command becomes invalid If you are performing file operations when the AC is to be rebooted the system does not execute the command for the sake of security CAUTION This command reboots the AC after the specified delay time resulting in service interruption Please use it with caution Examples Con...

Page 155: ...t recovers itself through automatic reboot Description Use the system failure command to configure the exception handling method By default the system adopts the reboot method to handle exceptions Examples Set the exception handling method to reboot Sysname system view Sysname system failure reboot temperature limit Syntax temperature limit slot number lower value upper value undo temperature limi...

Page 156: ...ment must be bigger than the lower level argument Support for this command depends on your AC model Examples Set the lower temperature limit on board 1 to 10 Celsius degrees and the upper temperature limit to 75 Celsius degrees Sysname system view Sysname temperature limit 1 10 75 Setting temperature limit succeeded time Syntax time timeID at time1 date command command time timeID one off repeatin...

Page 157: ...hich can be a combination of Sun Mon Tue Wed Thu Fri and Sat For example to have a command executed on Monday you can enter week day Mon to have a command executed on Friday and Saturday enter week day Fri Sat Use a space between every two days for separation delay time2 Specifies the delay time for executing the command in the format of hh mm hour minute or mm minute In the case of hh mm hh is in...

Page 158: ...g at time1 month date month day command command to specify the time on a specific day for repeating the command every month Use time timeID repeating at time1 week day week daylist command command to specify the time on a specified day or days for repeating the command every week Use time timeID one off delay time2 command command to specify the time delay for executing the command This command wi...

Page 159: ... one off at 8 00 week day fri sat command save a cfg Example 5 Configure to save the configuration file at 8 00 on Friday and Saturday every week Sysname system view Sysname job saveconfig Sysname job saveconfig view momitor Sysname job saveconfig time 1 repeating at 8 00 week day fri sat command save a cfg Example 6 Configure to save the configuration file five minutes later than the current syst...

Page 160: ... be specified for a scheduled task All the commands in the task are automatically executed in the specified view If different views are specified by executing the view view name command repeatedly only the last configuration takes effect The view must be currently supported by the system with its name specified using its complete format but not an abbreviation Most commonly used view names include...

Page 161: ...e format of MM DD YYYY or YYYY MM DD MM is the month of the year in the range 1 to 12 DD is the day of the month that varies with months and YYYY is a year in the range 2000 to 2035 Description Use the clock datetime command to set the current time and date of the AC The current time and date of the AC must be set in an environment that requires the acquisition of absolute time You may choose not ...

Page 162: ...the format of MM DD YYYY months days years or YYYY MM DD add time Time added to the standard time of the AC in the format of HH MM SS hours minutes seconds The zeros in the argument can be omitted except for indicating 0 hours Description Use the clock summer time one off command to adopt daylight saving time from the start time of the start date to the end time of the end date Daylight saving tim...

Page 163: ...g 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 a string of 1 to 32 characters start time Start time in the format of HH MM SS hours minutes seconds The zeros in the argument can be omitted except for indicating 0 hours start dat...

Page 164: ...me command to cancel the configuration of the daylight saving time By default daylight saving time is configured on the AC and the UTC time zone is applied For example when start date and start time are set to 2007 6 6 and 00 00 00 end date and end time to 2007 10 01 and 00 00 00 and add time to 01 00 00 it specifies to adopt daylight saving time from 00 00 00 of June 6 until 00 00 00 of October 1...

Page 165: ...cified offset from UTC time zone offset Offset to the UTC time in the format of HH MM SS hours minutes seconds where HH is hours in the range 0 to 23 MM is minutes in the range 0 to 59 and SS is seconds in the range 0 to 59 The zeros in the argument can be omitted except for indicating 0 hours Description Use the clock timezone command to set the local time zone Use the undo clock timezone command...

Page 166: ... user count command to configure the number of users allowed to enter system view at the same time Use the undo configure user count command to restore the default Two users are allowed to configure in system view by default Related commands display configure user NOTE When multiple users enter system view to configure certain attribute only the last configuration applies When the number of users ...

Page 167: ...nt and press the Esc Shift combination is an English comma Move the cursor to the ending position of the content and press the Esc Shift combination is an English dot to copy the specified content to the clipboard Examples View the content of the clipboard Sysname display clipboard CLIPBOARD configure user count 5 display clock Syntax display clock View Any view Default Level 1 Monitor level Param...

Page 168: ...ck 09 41 23 UTC Thu 12 15 2005 display configure user Syntax display configure user View Any view Default Level 1 Monitor level Parameters None Description Use the display configure user command to display the users that have logged in to the AC and are not in user view Related commands configure user count Examples Display the users entering system view at the same time Sysname display configure ...

Page 169: ...configuration radius template Displays the Radius template configuration system Displays the system configuration user interface Displays the user interface configuration interface interface type interface number Displays the interface configuration where interface type represents the interface type and interface number represents the interface number by linenum Specifies to display the number of ...

Page 170: ...n a Loopback interface In this case if you execute the display current configuration command ip address 11 11 11 11 255 255 255 255 is displayed meaning the validated subnet mask is 32 bits Related commands save reset saved configuration and display saved configuration File Management in the Fundamentals Command Reference Examples Display the configuration from the line containing user interface t...

Page 171: ...equals execution of the commands display clock display version display device and display current configuration one by one Examples Example 1 Save the statistics of each module s running status in the system Sysname display diagnostic information Save or display diagnostic information Y save N display Y N y Please input the file name diag flash default diag aa diag Diagnostic information is output...

Page 172: ... A parameter is not displayed if the configuration has not taken effect Execution of this command in any user interface view displays the valid configuration in all the user interfaces Execution of this command in any VLAN view displays the configurations of all the created VLANs Examples Display the valid configuration information of the current view the output information depends on the current ...

Page 173: ...n motd shell View System view Default Level 2 System level Parameters incoming Sets the banner displayed when a Modem login user enters user view If authentication is needed the incoming banner is displayed after the authentication is passed legal Sets the authorization banner before a user logs onto the terminal interface The legal banner is displayed before the user inputs the username and passw...

Page 174: ...elcome to motd header motd Sysname header shell Input banner text and quit with the character Welcome to shell header shell NOTE The character is the starting ending character of text in this example Entering after the displayed text quits the header command As the starting and ending character is not a part of a banner Test the configuration remotely using Telnet only when login authentication is...

Page 175: ...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 NOTE The content of quick configuration depends on the AC model Examples Perform quick configuration Sysname system view Sysname quick configuration This operation will change the current configuration Continue Y N n s...

Page 176: ...m AUX TTY and VTY user interfaces users must enter the password needed for the security s sake If the entered password is incorrect or no password is configured the switching fails Therefore before switching a user to a higher user privilege level you should configure the password needed Related commands super password Examples Example 1 Set the user privilege level to 2 The current user privilege...

Page 177: ...and then scheme Authenticates a user by using the local password first and if no password is set for the user logged in from the console port the privilege level switch succeeds for the user logged in from any of the AUX or VTY user interfaces the AAA authentication is performed scheme local First scheme and then local AAA authentication is performed first and if the AAA configuration is invalid d...

Page 178: ... it is a string of 1 to 16 characters For cipher password it is a string of 1 to 16 characters in plain text or 24 characters in cipher text For example the simple text 1234567 corresponds to the cipher text TT8F Y 5SQ Q MAF4 1 Description Use the super password command to set the password needed to switch from a lower user privilege level to a higher one Use the undo super password command to res...

Page 179: ...word level 3 cipher abc Display the password for switching user level Sysname display current configuration super password level 3 cipher Y F a_SW8 MYM2A sysname Syntax sysname sysname undo sysname View System view Default Level 2 System level Parameters sysname Name of the AC a string of 1 to 30 characters Description Use the sysname command to set the name of the AC Use the undo sysname demand t...

Page 180: ...180 Examples Set the name of the AC to R2000 Sysname system view Sysname sysname Test Test ...

Page 181: ...rent connection 0 Operation status Running Table 18 display ip http command output description Field Description HTTP port Port number used by the HTTP service WLAN ACL A WLAN ACL number associated with the HTTP service Basic ACL A basic ACL number associated with the HTTP service Current connection The number of current connections Operation status Operation status which takes the following value...

Page 182: ...nd the two types of ACLs will not overwrite each other However ACLs of the same type will overwrite each other If you execute the ip http acl command for multiple times to associate the HTTP service with the same type of ACLs the HTTP service is only associated with the last specified ACL When the HTTP service is associated with a WLAN ACL the HTTP service uses this ACL to filter wireless clients ...

Page 183: ...l basic 2001 quit Sysname ip http acl 2001 ip http enable Syntax ip http enable undo ip http enable View System view Default Level 2 System level Parameters None Description Use the ip http enable command to enable the HTTP service Use the undo ip http enable command to disable the HTTP service The device can act as the HTTP server and the users can access and control the device through the Web fu...

Page 184: ...mmand to configure the port number of the HTTP service Use the undo ip http port command to restore the default By default the port number of the HTTP service is 80 This command does not check whether the configured port number conflicts with that of an existing service Therefore you must be sure that the port number is not used by another service before the configuration Related commands display ...

Page 185: ...SL server policy test Certificate access control policy WLAN ACL 100 Basic ACL 2222 Current connection 0 Operation status Running Table 19 display ip https command output description Field Description HTTPS port Port number used by the HTTPS service SSL server policy The SSL server policy associated with the HTTPS service Certificate access control policy The certificate attribute access control p...

Page 186: ...ice with an ACL Use the undo ip https acl command to remove the association By default the HTTPS service is not associated with any ACL After the HTTPS service is associated with an ACL only the clients permitted by the ACL can access the device The HTTPS service can be associated with a WLAN ACL and basic ACL and the two types of ACLs will not overwrite each other However ACLs of the same type wi...

Page 187: ... to access the HTTPS server through the Web function Sysname system view Sysname acl number 2001 Sysname acl basic 2001 rule permit source 10 10 0 0 0 0 255 255 Sysname acl basic 2001 quit Sysname ip https acl 2001 ip https certificate access control policy Syntax ip https certificate access control policy policy name undo ip https certificate access control policy View System view Default Level 3...

Page 188: ...e level Parameters None Description Use the ip https enable command to enable the HTTPS service Use the undo ip https enable command to disable the HTTPS service By default the HTTPS service is disabled The device can act as the HTTP server and the users can access and control the device through the Web function only after the HTTP service is enabled Enabling of the HTTPS service triggers an SSL h...

Page 189: ...ranges from 1 to 65535 Description Use the ip https port command to configure the port number of the HTTPS service Use the undo ip https port command to restore the default By default the port number of the HTTPS service is 443 This command does not check whether the configured port number conflicts with that of an existing service Therefore you must ensure that the port number is not used by anot...

Page 190: ...the HTTPS service and an SSL server end policy By default the HTTPS service is not associated with any SSL server end policy The HTTPS service can be enabled only after this command is configured successfully You cannot modify an SSL server end policy or remove the association between the HTTPS service and an SSL server end policy after the HTTPS service is enabled Related commands display ip http...

Page 191: ...ng Start Address 0 RPE004 0 1 1 0 1 0x310bd74 Table 20 display patch information command output description Field Description The location of patches Patch file location You can configure it using the patch location command Slot meaningless Version Patch version The first three characters represent the suffix of the PATCH FLAG the subsequent three digits if any represent the patch number The patch...

Page 192: ...atch active command to activate the specified patch namely the system will run the patch After you execute the command all the DEACTIVE patches before the specified patch are activated The command is not applicable to patches in the DEACTIVE state After a system reboot the original ACTIVE patches change to DEACTIVE and become invalid To make them effective you must activate them again Examples Act...

Page 193: ...E patches after patch 3 Sysname system view Sysname patch deactive 3 patch delete Syntax patch delete 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 Description Use the patch delete command to delete the specified patch and all the patches after the specified patch This co...

Page 194: ...tch load patch active and patch run The patches remain RUNNING after system reboot Entering n or N All the patches are installed and turn to the ACTIVE state from IDLE This equals execution of the commands patch location patch load and patch active The patches turn to the DEACTIVE state after system reboot Before executing the command save the patch files to the root directory of the device s stor...

Page 195: ... to load the patch file on the storage medium such as the flash or the CF card to the memory patch area If the device is mounted with multiple storage media the system loads the patch file from the flash by default If the system cannot find the patch file on the flash it will try to load the patch file from the CF card Before using the command save the patch file to the root directory of the stora...

Page 196: ...ll command changes the patch file location specified with the patch location command to the directory specified by the patch location argument of the patch install command For example if you execute the patch location xxx command and then the patch install yyy command the patch file location automatically changes from xxx to yyy Examples Configure the root directory of the CF card as the patch fil...

Page 197: ... 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 system view Sysname patch run 3 ...

Page 198: ...of the 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 Documents Technical Documents Provides hardware installation software upgrading and software feature ...

Page 199: ... that are pressed Text entered into a GUI element such as a box GUI elements that are clicked or selected such as menu and list items buttons tabs and check boxes Italic text Text emphasis Monospace text File and directory names System output Code Commands their arguments and argument values Monospace italic text Code variables Command variables Monospace bold text Emphasized monospace text Indica...

Page 200: ... 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 ...

Reviews: