background image

 

69 

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

-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       299 Oct 15  2007 key.pub 

226 Transfer complete. 

FTP: 394 byte(s) received in 0.189 second(s), 2.00K byte(s)/sec. 

 

[ftp] 

# Save detailed information about file 

router.cfg

 to 

aa.txt

[ftp] dir router.cfg aa.txt 

227 Entering Passive Mode (192,168,1,50,17,158). 

125 ASCII mode data connection already open, transfer starting for /router.cfg. 

....226 Transfer complete. 

FTP: 67 byte(s) received in 4.600 second(s), 14.00 byte(s)/sec. 

# View the content of file 

aa.txt

[ftp] quit 

<Sysname> more aa.txt 

-rwxrwxrwx   1 noone    nogroup      3077 Jun 20 15:34 router.cfg 

disconnect 

Use 

disconnect

 to disconnect from the FTP server but remain in FTP client view. 

Syntax 

disconnect 

Views 

FTP client view 

Default command level 

3: Manage level 

Usage guidelines 

This command is equal to the 

close

 command. 

Examples 

# Disconnect from the FTP server but remain in FTP client view. 

[ftp] disconnect 

221 Server closing. 

[ftp] 

display ftp client configuration 

Use 

display ftp client configuration 

to display the source IP address configuration of the FTP client. 

Содержание S5820 series

Страница 1: ...H3C S5820X S5800 Switch Series Fundamentals Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 1805P02 Release 1808P12 Document version 6W101 20140314...

Страница 2: ...gine SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respecti...

Страница 3: ...3C S5820X S5800 documentation set Obtaining documentation Technical support Documentation feedback Audience This documentation is intended for Network planners Field technical support and servicing en...

Страница 4: ...ll filesystems option the dir command now can display files and folders in the root directories of all storage media on the switch Configuration file management N A Software upgrade Added commands dis...

Страница 5: ...ou select at least one x y Asterisk marked square brackets enclose optional syntax choices separated by vertical bars from which you select one choice multiple choices or none 1 n The argument or keyw...

Страница 6: ...S5800 documentation set The H3C S5820X S5800 documentation set includes Category Documents Purposes Product description and specifications Marketing brochures Describe product specifications and benef...

Страница 7: ...C Low End Series Ethernet Switches Pluggable Modules Manual Describes the models appearances and specifications of the pluggable modules available for the products Power configuration S5800 60C PWR Et...

Страница 8: ...when the login password is lost Release notes Provide information about the product release including the version history hardware and software compatibility matrix version upgrade information techni...

Страница 9: ...Documentation feedback You can e mail your comments about product documentation to info h3c com We appreciate your comments...

Страница 10: ...to execute command 16 authentication mode 17 command accounting 18 command authorization 19 databits 20 display ip http 20 display ip https 21 display telnet client configuration 22 display user inter...

Страница 11: ...web https authorization mode 54 web idle timeout 55 web logbuffer size 56 FTP configuration commands 57 FTP server configuration commands 57 display ftp server 57 display ftp user 58 free ftp user 59...

Страница 12: ...nandflash page data 99 execute 99 file prompt 100 fixdisk 101 format 101 mkdir 102 more 102 move 103 pwd 104 rename 104 reset recycle bin 104 rmdir 107 undelete 107 Configuration file management comma...

Страница 13: ...ept 146 issu commit 147 issu load 147 issu rollback 148 issu rollback timer 149 issu run switchover 149 Device management commands 151 clock datetime 151 clock summer time one off 151 clock summer tim...

Страница 14: ...183 fan prefer direction available only on S5800 54S and S5820X 26S switches 184 header 185 job 186 password recovery enable 187 reboot 188 reset unused porttag 188 reset version update record 189 sch...

Страница 15: ...le Default The command keyword alias function is disabled Views System view Default command level 2 System level Usage guidelines Disabling the command keyword alias function does not delete the confi...

Страница 16: ...mmand alias mapping display show After you configure the alias you can enter show to execute a display command For example you can enter show clock to execute the display clock command Delete the alia...

Страница 17: ...such as ftp server acl ftp server enable and ftp timeout to their default levels If you have modified the level of commands ftp server enable and ftp timeout and you want to restore only the ftp serv...

Страница 18: ...and alias to display the command keyword alias configuration Syntax display command alias begin exclude include regular expression Views Any view Default command level 1 Monitor level Parameters Filte...

Страница 19: ...er You can use the history command max size command to change the buffer size Examples Display all commands saved in the command history buffer Sysname display history command display history command...

Страница 20: ...sor CTRL_K Kill outgoing connection CTRL_N Display the next command from the history buffer CTRL_P Display the previous command from the history buffer CTRL_R Redisplay the current line CTRL_V Paste t...

Страница 21: ...2 System level Parameters CTRL_G Assigns a command to Ctrl G CTRL_L Assigns a command to Ctrl L CTRL_O Assigns a command to Ctrl O CTRL_T Assigns a command to Ctrl T CTRL_U Assigns a command to Ctrl...

Страница 22: ...pausing between screens of output for the current session Use undo screen length disable to enable pausing between screens of output for the current session Syntax screen length disable undo screen le...

Страница 23: ...the level the switching operation fails unless the user is a console user A console user can switch to a higher privilege level when no password is configured for the level With scheme authentication...

Страница 24: ...g requests of VTY users scheme Uses AAA for user privilege level switching authentication For more information about AAA see Security Configuration Guide local scheme Uses the local password if config...

Страница 25: ...orithm to encrypt the password This keyword is not supported in FIPS mode cipher simple password Specifies a case sensitive password string that contains uppercase and lowercase letters digits and spe...

Страница 26: ...s configured Examples Use the password abc in plain text to authenticate a user switching to privilege level 3 Sysname system view Sysname super password level 3 simple abc system view Use system view...

Страница 27: ...bound undo acl acl number inbound Default Access to the VTY user interface is not restricted Views VTY user interface view Default command level 2 System level Parameters ipv6 If this keyword is prese...

Страница 28: ...192 168 1 26 to access the device through Telnet or SSH Sysname system view Sysname acl number 2001 Sysname acl basic 2001 rule permit source 192 168 1 26 0 Sysname acl basic 2001 quit Sysname user i...

Страница 29: ...first character b as the shortcut key Usage guidelines To display the shortcut key you have defined use the display current configuration command Examples Configure character s as the shortcut key for...

Страница 30: ...eters command Specifies the command to be automatically executed Usage guidelines This command is not supported on AUX interfaces The system automatically executes the specified command when a user lo...

Страница 31: ...everse engineering shall be allowed Sysname This operation is the same as directly logging in to the device at 192 168 1 41 If the Telnet connection to 192 168 1 41 is broken down the Telnet connectio...

Страница 32: ...for VTY 0 This mode is insecure Sysname system view Sysname user interface vty 0 Sysname ui vty0 authentication mode none Use password authentication when users log in to the device through VTY 0 and...

Страница 33: ...face vty 0 Sysname ui vty0 command accounting command authorization Use command authorization to enable command authorization Use undo command authorization to restore the default Syntax command autho...

Страница 34: ...ust be the same for the user interfaces of the connecting ports on the device and the terminal device for communication Examples Use seven data bits for each character Sysname system view Sysname user...

Страница 35: ...g The HTTP service is enabled Stopped The HTTP service is disabled display ip https Use display ip https to display information about HTTPS Syntax display ip https begin exclude include regular expres...

Страница 36: ...configuration to display the configuration of the device when it serves as a Telnet client Syntax display telnet client configuration begin exclude include regular expression Views Any view Default co...

Страница 37: ...ndamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular...

Страница 38: ...face Modem Whether the modem is allowed to dial in in dial out out or both inout If this function is disabled a hyphen is displayed Privi Command level of a user under that user interface Auth Authent...

Страница 39: ...command level 1 Monitor level Parameters all Displays information about all user interfaces the device supports Filters command output by specifying a regular expression For more information about re...

Страница 40: ...vel 0 for visit 1 for monitor 2 for system or 3 for manage Current user Location IP address of the user F The current user is operating in asynchronous mode display web users Use display web users to...

Страница 41: ...Parameters character Specifies the shortcut key for terminating a task a single character or its corresponding ASCII code value in the range of 0 to 127 or a string of 1 to 3 characters Only the first...

Страница 42: ...the IP address of 192 168 1 49 and use the c keyword to specify the number of ICMP echo packets to be sent as 20 Sysname ping c 20 192 168 1 49 PING 192 168 1 49 56 data bytes press a to break Reply f...

Страница 43: ...er interface to release the connections established on a user interface Syntax free user interface num1 aux vty num2 Views User view Default command level 3 Manage level Parameters num1 Specifies the...

Страница 44: ...rs Syntax free web users all user id user id user name user name Views User view Default command level 2 System level Parameters all Specifies all Web users user id Specifies a Web user ID a hexadecim...

Страница 45: ...nd down arrow keys When a user terminates the session the system automatically removes the commands saved in the history buffer Examples Set the buffer to store a maximum of 20 history commands Sysnam...

Страница 46: ...lt The HTTP service is not associated with any ACL Views System view Default command level 2 System level Parameters acl number Specifies an ACL number in the range of 2000 to 2999 The value range dep...

Страница 47: ...this command varies with devices The device can act as the HTTP server that can be accessed only after the HTTP service is enabled Examples Enable the HTTP service Sysname system view Sysname ip http...

Страница 48: ...Default The port number of the HTTP service is 80 Views System view Default command level 3 Manage level Parameters port number Specifies the port number of the HTTP service in the range of 1 to 65535...

Страница 49: ...e clients within the 10 10 0 0 16 network segment to access the HTTPS server through HTTP Sysname system view Sysname acl number 2001 Sysname acl basic 2001 rule permit source 10 10 0 0 0 0 255 255 Sy...

Страница 50: ...ble to enable the HTTPS service Use undo ip https enable to disable the HTTPS service Syntax ip https enable undo ip https enable Default The HTTPS service is disabled Views System view Default comman...

Страница 51: ...es not examine for conflicts with configured port numbers Examples Configure the port number of the HTTPS service as 6000 Sysname system view Sysname ip https port 6000 Related commands display ip htt...

Страница 52: ...yssl Sysname system view Sysname ip https ssl server policy myssl Related commands display ip https ssl server policy Security Command Reference ipv6 http dscp Use ipv6 http dscp to set the DSCP value...

Страница 53: ...mmand you are asked to enter a password up to 16 characters and confirm it by entering the password again To unlock the user interface press Enter and enter the correct password Examples Lock the curr...

Страница 54: ...terface aux 0 Sysname ui aux0 parity odd protocol inbound Use protocol inbound to enable the current user interface to support Telnet SSH or both of them The configuration takes effect the next time y...

Страница 55: ...nes at most Views User interface view Default command level 2 System level Parameters screen length Specifies the maximum number of lines to be displayed on a screen in the range of 0 to 512 The value...

Страница 56: ...he range of 0 to 9 for an AUX user interface and 0 to 15 for a VTY user interface Usage guidelines After you issue the command enter the message to be sent at the prompt To end message input press Ctr...

Страница 57: ...the user of VTY 1 Sysname send vty 1 Enter message end with CTRL Z or Enter abort with CTRL C Your attention please I will reboot the system in 3 minutes Z Send message Y N y The message is sent to V...

Страница 58: ...in FIPS mode For security purposes the password is saved in cipher text even if configured in plain text Examples Set the password for user interface AUX 0 to hello Sysname system view Sysname user i...

Страница 59: ...nterface view Default command level 2 System level Parameters speed value Specifies a transmission rate in bps The transmission rates available with asynchronous serial interfaces include 300 bps 600...

Страница 60: ...AUX 0 to 1 5 Sysname system view Sysname user interface aux 0 Sysname ui aux0 stopbits 1 5 Related commands stopbit error intolerance telnet Use telnet to Telnet to a remote host Syntax telnet remote...

Страница 61: ...the current Telnet connection Examples Telnet to the remote host 1 1 1 2 specifying the source IP address for outgoing Telnet packets as 1 1 1 1 Sysname telnet 1 1 1 2 source ip 1 1 1 1 telnet client...

Страница 62: ...elnet client source interface interface type interface number ip ip address undo telnet client source Default No source IPv4 address or source interface is specified for outgoing Telnet packets The IP...

Страница 63: ...ace number represents the interface type and number If the destination address is a link local address provide the i interface type interface number argument port number Specifies an TCP port number f...

Страница 64: ...server Syntax telnet server enable undo telnet server enable Default The default is as follows In a version prior to R1808P12 If the device has not loaded any configuration file Telnet service is dis...

Страница 65: ...rrent user interface Use undo terminal type to restore the default Syntax terminal type ansi vt100 undo terminal type Default The terminal display type is ANSI Views User interface view Default comman...

Страница 66: ...3 Usage guidelines This command is not supported in FIPS mode User privilege levels include visit monitor system and manage represented by the number 0 1 2 and 3 respectively You can change the user p...

Страница 67: ...rameters first num1 Specifies the absolute number of the first user interface in the range of 0 to 44 last num1 Specifies the absolute number of the last user interface in the range of 1 to 33 This va...

Страница 68: ...times the most recent configuration takes effect After you configure a fixed verification code for Web login a Web user can use the code for login without caring about the verification code displayed...

Страница 69: ...e user automatically enters the Web interface of the device If the PKI certificate of the user is correct and not expired but the AAA authentication fails the device shows the Web login page The user...

Страница 70: ...the buffer for Web login logging Use undo web logbuffer size to restore the default Syntax web logbuffer size pieces undo web logbuffer size Default The buffer can store up to 512 logs Views System vi...

Страница 71: ...el Parameters Filters command output by specifying a regular expression For more information about regular expressions see Fundamentals Configuration Guide begin Displays the first line that matches t...

Страница 72: ...nclude regular expression Views Any view Default command level 3 Manage level Parameters Filters command output by specifying a regular expression For more information about regular expressions see Fu...

Страница 73: ...on established by a specific user Syntax free ftp user username Views User view Default command level 3 Manage level Parameters username Username To view online FTP user information use the display ft...

Страница 74: ...ess the FTP server Sysname system view Sysname acl number 2001 Sysname acl basic 2001 rule 0 permit source 1 1 1 1 0 Sysname acl basic 2001 rule 1 deny source any Sysname acl basic 2001 quit Sysname f...

Страница 75: ...e system view Sysname ftp server enable Sysname ftp timeout Use ftp timeout to set the idle timeout timer for FTP connections Use undo ftp timeout to restore the default Syntax ftp timeout minute undo...

Страница 76: ...m normal Normal update In this mode the FTP server writes the data of a file from the memory to the storage medium multiple times with up to 4096 bytes per time Examples Set the FTP update mode to nor...

Страница 77: ...determine FTP transfer mode according to the file type FTP transfers files in either of the following modes Binary mode Transfers image files or pictures ASCII mode Transfers text files Examples Set t...

Страница 78: ...mands close disconnect quit cd Use cd to change the current working directory to another directory on the FTP server Syntax cd directory Views FTP client view Default command level 3 Manage level Para...

Страница 79: ...directory folder of the FTP root directory ftp cd folder 250 CWD command successful Change the working directory to the upper directory of the current directory ftp cd 250 CWD command successful Chang...

Страница 80: ...ent view ftp close 221 Server closing ftp debugging Use debugging to enable FTP client debugging Use undo debugging to disable FTP client debugging Syntax debugging undo debugging Default FTP client d...

Страница 81: ...ith 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 11 Command output Field Description PORT 192 168 1 44 4 21 FTP command 192...

Страница 82: ...on the FTP server Use dir remotefile localfile to save detailed information about a specific file or directory on the FTP server to a local file Syntax dir remotefile localfile Views FTP client view...

Страница 83: ...t 227 Entering Passive Mode 192 168 1 50 17 158 125 ASCII mode data connection already open transfer starting for router cfg 226 Transfer complete FTP 67 byte s received in 4 600 second s 14 00 byte s...

Страница 84: ...pecified source interface is active this command displays the source interface Examples Display the source IP address configuration of the FTP client Sysname display ftp client configuration The sourc...

Страница 85: ...logging in to the FTP server If the server parameters are specified you are prompted to enter the username and password for accessing the FTP server Examples Log in to FTP server 192 168 0 21 1 specif...

Страница 86: ...ng FTP packets on an FTP client Views System view Default command level 2 System level Parameters dscp value Specifies a DSCP value in the range of 0 to 63 Examples Set the DSCP value for IPv6 to use...

Страница 87: ...y a source interface for FTP packets make sure the interface has a primary IP address The ftp client source command setting applies to all FTP sessions When you set up an FTP session using the ftp or...

Страница 88: ...rver is on the public network do not specify this option Usage guidelines This command applies to only IPv6 networks If you do not specify any option when you enter this command you enter FTP client v...

Страница 89: ...e Flash root directory of the subordinate device with the member ID 2 and save it as newest cfg ftp get testcfg cfg slot2 flash newest cfg 227 Entering Passive Mode 192 168 1 46 4 48 125 ASCII mode da...

Страница 90: ...d directories such as the size and the creation date Examples List all files and subdirectories in the current directory of the FTP server ftp ls 227 Entering Passive Mode 192 168 1 50 17 165 125 ASCI...

Страница 91: ...s FTP client view Default command level 3 Manage level Parameters directory Name of the directory to be created Usage guidelines You must have permissions to perform this operation on the FTP server E...

Страница 92: ...68 1 50 none aa 331 Password required for aa Password 230 User logged in ftp Related commands close open ipv6 Use open ipv6 to log in to the IPv6 FTP server in FTP client view Syntax open ipv6 server...

Страница 93: ...Password 230 Login successful ftp Related commands close passive Use passive to set the FTP operation mode to passive Use undo passive to set the FTP operation mode to active Syntax passive undo pass...

Страница 94: ...cfg cfg on the master to the FTP server and save it as ftpclient cfg ftp put vrpcfg cfg ftpclient cfg 227 Entering Passive Mode 192 168 1 46 4 50 125 ASCII mode data connection already open transfer s...

Страница 95: ...FTP server and exit to user view ftp quit 221 Server closing Sysname remotehelp Use remotehelp to display FTP commands supported by the FTP server Use remotehelp protocol command to display the syntax...

Страница 96: ...SS Password CWD Change the current working directory CDUP Change to parent directory SMNT File structure setting QUIT Quit REIN Reinitialization PORT Port number PASV Passive mode TYPE Request type ST...

Страница 97: ...space username rmdir Use rmdir to remove a directory from the FTP server Syntax rmdir directory Views FTP client view Default command level 3 Manage level Parameters directory Directory name on the FT...

Страница 98: ...line Press Enter and then enter the password when the prompt Password appears Examples After logging in to an FTP server as user ftp1 use the username ftp2 to re log in to the server suppose the usern...

Страница 99: ...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 Enable displaying detailed prompt information and perform a Ge...

Страница 100: ...the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that ma...

Страница 101: ...er at 1 1 1 1 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 tftp server acl 2000 Allow the device to access only t...

Страница 102: ...for the current TFTP client to transmit packets This source address must be an IP address that has been configured on the device Examples To upgrade the device download the newest bin file from the T...

Страница 103: ...cp to restore the default Syntax tftp client ipv6 dscp dscp value undo tftp client ipv6 dscp Default IPv6 uses the DSCP value 0 for outgoing TFTP packets on a TFTP client Views System view Default com...

Страница 104: ...oid TFTP connection failures when you specify a source interface for TFTP packets make sure the interface has been assigned a primary IP address The tftp client source command setting applies to all T...

Страница 105: ...t Uploads a file source file Source file name destination file Destination file name If this argument is not specified the file uses the source file name vpn instance vpn instance name Specifies the M...

Страница 106: ...vided the argument represents a folder or subfolder in the current directory Returns to an upper directory If the current working directory is the root directory or if no upper directory exists the cu...

Страница 107: ...f the master to the root directory of a subordinate device with the member ID 2 Sysname copy vrcfg cfg slot2 flash Copy flash vrcfg cfg to slot2 flash vrcfg cfg Y N y Copy file flash vrcfg cfg to slot...

Страница 108: ...file name in different directories only the last one is retained in the recycle bin The dir all command displays files moved to the recycle bin These files are enclosed in pairs of square brackets To...

Страница 109: ...s and folders in the current directory Examples Display information about all files and folders in the storage medium of the master Sysname dir all Directory of flash 0 rwh 4 JAN 26 2012 12 02 05 snmp...

Страница 110: ...b83 diag 5 rw 287 JAN 26 2012 12 05 04 system xml 6 rw 21009 JAN 26 2012 12 05 19 startup cfg 7 rw 168 JAN 01 2012 23 55 39 patchstate 515712 KB total 4217 KB free Display information about all files...

Страница 111: ...xpression For more information about regular expressions see Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow excl...

Страница 112: ...see Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified re...

Страница 113: ...atch the specified regular expression regular expression Specifies a regular expression a case sensitive string of 1 to 256 characters Usage guidelines This command is always used in combination with...

Страница 114: ...e Each configuration command in a batch file must be a standard configuration command meaning that the valid configuration information can be displayed with the display current configuration command E...

Страница 115: ...any damage Sysname fixdisk flash Fixdisk flash may take some time to complete Fixdisk flash completed format Use format to format a storage medium Syntax format device Views User view Default command...

Страница 116: ...ation as well as the folder name The folder name must be unique in the specified directory and the directories specified in the path information must already exist For example to create folder flash t...

Страница 117: ...t command level 3 Manage level Parameters fileurl source Specifies the name of the source file fileurl dest Specifies the name of the target file or folder Usage guidelines If you specify a target fol...

Страница 118: ...Default command level 3 Manage level Parameters fileurl source Specifies the name of the source file or folder fileurl dest Specifies the name of the target file or folder Examples Rename file sample...

Страница 119: ...e recycle bin and in the current directory Sysname dir all Directory of flash 0 rwh 3080 JAN 26 2012 16 41 43 private data txt 1 rw 2416 JAN 26 2012 13 45 36 config cfg 2 rw 8036197 JAN 14 2012 10 13...

Страница 120: ...in 3 rw 2386 JAN 26 2012 13 30 30 back cfg 4 drw JAN 08 2012 09 49 25 test 5 rwh 716 JAN 24 2012 16 17 30 hostkey 6 rwh 572 JAN 24 2012 16 17 44 serverkey 7 rw 2386 JAN 08 2012 11 14 20 a cfg 515712 K...

Страница 121: ...be automatically deleted Examples Remove folder mydir Sysname rmdir mydir Rmdir flash mydir Y N y Removed directory flash mydir undelete Use undelete to restore a file from the recycle bin Syntax unde...

Страница 122: ...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 Sysname cd test Sysname undelete b cfg Undelete flash...

Страница 123: ...cify the directory as the configuration archive directory and specify an archive name prefix Configuration archive is a function that facilitates configuration rollback It provides the manual and auto...

Страница 124: ...tion archive is a function that facilitates configuration rollback It provides the manual and automatic methods for saving the running configuration Automatic configuration archiving enables the syste...

Страница 125: ...fix for configuration archives In an IRF fabric the configuration archive function saves running configuration only on the master device To make sure the system can archive running configuration after...

Страница 126: ...lt Syntax archive configuration max file number undo archive configuration max Default A maximum of five configuration archives can be saved Views System view Default command level 3 Manage level Para...

Страница 127: ...e target file name used for saving the file on the server The file name must have the extension cfg If you do not specify a target file name the source file name is used Usage guidelines Before perfor...

Страница 128: ...The replacement configuration file is not encrypted Examples Replace the running configuration with the configuration in the my_archive_1 cfg configuration file Sysname system view Sysname configurat...

Страница 129: ...e Next archive file to be saved my_archive_4 cfg Table 16 Command output Field Description Location Directory for saving running configuration archives Filename prefix File name prefix for configurati...

Страница 130: ...fied regular expression regular expression Specifies a regular expression a case sensitive string of 1 to 256 characters Usage guidelines Use this command to verify the configuration you have made Typ...

Страница 131: ...lude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression a ca...

Страница 132: ...fying a regular expression For more information about regular expressions see Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines...

Страница 133: ...d recovery enable vlan 1 domain system access limit enable 60 state active idle cut disable self service url disable More At the prompt of More press Enter to display the next line press Space to disp...

Страница 134: ...xpression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular express...

Страница 135: ...g configuration in the current view Syntax display this by linenum begin exclude include regular expression Views Any view Default command level 1 Monitor level Parameters by linenum Displays the numb...

Страница 136: ...r interfaces Sysname system view Sysname user interface vty 0 Sysname ui vty0 display this user interface vty 0 15 user privilege level 3 user interface vty 1 15 return reset saved configuration Use r...

Страница 137: ...Configuration file is cleared Slot 2 Erase next configuration file successfully Related commands display saved configuration save restore startup configuration Use restore startup configuration to dow...

Страница 138: ...the same time Syntax save file url all slot slot number save safely backup main force Views Any view Default command level 2 System level Parameters file url Specifies a file path where the file exte...

Страница 139: ...member device Sysname display startup MainBoard Current startup saved configuration file NULL Next main startup saved configuration file flash aa cfg Next backup startup saved configuration file NULL...

Страница 140: ...NULL Next main startup saved configuration file flash config cfg Next backup startup saved configuration file NULL Slot 4 Current startup saved configuration file NULL Next main startup saved configur...

Страница 141: ...configuration file The system will overwrite the configuration file Continue Y N n Failed to save the current configuration The output shows that the old configuration file is archived to the Flash a...

Страница 142: ...ntax slave auto update config undo slave auto update config Default The configuration auto update function is enabled Views System view Default command level 2 System level Usage guidelines If configu...

Страница 143: ...on each member In an IRF fabric use the undo startup saved configuration command with caution This command can cause an IRF split after the IRF fabric or an IRF member reboots If neither backup nor m...

Страница 144: ...include an IRF member ID The file name argument specifies the file name which typically uses the bin extension slot slot number Specifies IRF members all Specifies all member devices in the IRF fabric...

Страница 145: ...et the boot file of the specified board Continue Y N y The specified file will be used as the main boot file at the next reboot on slot 1 The specified file will be used as the main boot file at the n...

Страница 146: ...l area of Boot ROM The file url argument specifies the image file path a string of 1 to 63 characters For more information about file path naming see boot loader slot slot number list Specifies a spac...

Страница 147: ...om update security check enable undo bootrom update security check enable Default The Boot ROM image validity check is enabled Views System view Default command level 2 System level Usage guidelines B...

Страница 148: ...s Sysname display boot loader Slot 1 The current boot app is flash test bin The main boot app is flash test bin The backup boot app is flash test bin Table 18 Command output Field Description Slot Dis...

Страница 149: ...package file version loaded on slot s Slot number of the IRF member device on which the patches have been loaded If the device has only one CPU this field displays the slot number of the device If th...

Страница 150: ...ly one CPU is on the device slot number is displayed If multiple CPUs are on the device slot number is displayed for the master CPU and slot number cpu id is displayed for a subordinate CPU Version Pa...

Страница 151: ...tches on IRF member device 1 Sysname system view Sysname patch active 3 slot 1 Activate all DEACTIVE patches on IRF member device 1 Sysname system view Sysname patch active slot 1 patch deactive Use p...

Страница 152: ...ber Specifies an IRF member device by its member ID Usage guidelines This command does not delete patches from the storage media After being removed from the patch memory area the patches changes to t...

Страница 153: ...in RUNNING state and remain in this state after a reboot If not the installed patches are set in ACTIVE state and change to the DEACTIVE state at a reboot The undo patch install command change the sta...

Страница 154: ...heck loading the patch file fails Examples Load patches from patch files for IRF member device 1 Sysname system view Sysname patch load slot 1 Load patches from a patch package file for IRF member dev...

Страница 155: ...ysname system view Sysname patch location flash patch run Use patch run to confirm ACTIVE patches Syntax patch run patch number slot slot number Views System view Default command level 3 Manage level...

Страница 156: ...gular expression Specifies a regular expression a case sensitive string of 1 to 256 characters Usage guidelines A newly configured rollback timer takes effect in the next ISSU upgrade The current roll...

Страница 157: ...line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the sp...

Страница 158: ...ter rebooted with the new system software image Unknown The specified system software image version does not support ISSU or the system software image cannot be upgraded through ISSU In this mode you...

Страница 159: ...ed regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression reg...

Страница 160: ...le with the current system software image You must provide the force keyword when you execute the issu load command CC Unknown The compatibility between the two versions is unknown issu accept Use iss...

Страница 161: ...mmit slot 2 The specified board will reboot and be upgraded Continue Y N y Related commands issu load issu accept issu load Use issu load to upgrade a subordinate switch Syntax issu load file upgradin...

Страница 162: ...rsion name and directory The new system software image has been saved in the Flash of each IRF member switch All IRF member switches run the same system software image Examples Upgrade the subordinate...

Страница 163: ...mer in minutes ranging from 0 to 120 The value of 0 indicates that the version rollback function is disabled and the rollback timer is not created when you execute the issu load command Usage guidelin...

Страница 164: ...e the auto rollback function with issu commit command before the specified rollback timer expires the system automatically stops the ISSU upgrade process and reverts to the previous system software im...

Страница 165: ...u can leave the ss field blank when you specify the time parameters Examples Set the current system time to 14 10 20 08 01 2013 Sysname clock datetime 14 10 20 8 1 2013 Set the current system time to...

Страница 166: ...ess you specify 00 00 00 Usage guidelines The interval between start time start date and end time end date must be longer than one day and shorter than one year If the current system time is in the sp...

Страница 167: ...turday end time Specifies an end time in the hh mm ss format Zeros can be omitted unless you specify 00 00 00 end date Specifies an end date which can be set in the following ways Enter the year month...

Страница 168: ...e add minus zone offset undo clock timezone Default The local time zone is UTC zone Views System view Default command level 3 Manage level Parameters zone name Specifies a time zone by its name a case...

Страница 169: ...l Examples Enable displaying the copyright statement Sysname system view Sysname copyright info enable When a Telnet user logs in the following statement appears Copyright c 2004 2014 Hangzhou H3C Tec...

Страница 170: ...member device is specified this command displays the alarm information on all IRF member devices Filters command output by specifying a regular expression For more information about regular expressio...

Страница 171: ...ine that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the spec...

Страница 172: ...tive string of 1 to 256 characters Usage guidelines With this command you can view the software and hardware copyright statements and third party software license agreements Examples Display the softw...

Страница 173: ...on For more information about regular expressions see Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Dis...

Страница 174: ...t record in the history record table If only the information of the current record is displayed no and idx are not displayed CPU Usage Stat Cycle CPU usage rate measurement interval in seconds For exa...

Страница 175: ...isplays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines...

Страница 176: ...the task name SYSTEM in the last 60 minutes 5 12 minutes ago 10 13 minutes ago 15 14 minutes ago 10 15 minutes ago 5 16 and 17 minutes ago 10 18 minutes ago 5 19 minutes ago 2 or lower than 2 other t...

Страница 177: ...e subslot number represents the subslot of a subcard verbose Displays detailed information Filters command output by specifying a regular expression For more information about regular expressions see...

Страница 178: ...rd Normal The switch or subcard is operating properly Absent The switch or subcard is not present Fault The switch or subcard is faulty display device manuinfo Use display device manuinfo to display t...

Страница 179: ...000F E269 46D1 MANUFACTURING_DATE 2007 09 26 VENDOR_NAME H3C display device manuinfo fan Use display device manuinfo fan to display the electronic label data for the specified fan tray Syntax display...

Страница 180: ...ber device The slot number argument represents the IRF member ID of the device power id Displays the electronic label data for the specified power supply where power id represents the power supply num...

Страница 181: ...on a case sensitive string of 1 to 256 characters Usage guidelines For diagnosis or troubleshooting you can use separate display commands to collect running status data module by module or use the dis...

Страница 182: ...all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression a case sensitive...

Страница 183: ...cified this command displays the operating states of fan trays on all IRF member devices fan id Displays the operating state of the specified fan tray where the fan id argument represents the fan tray...

Страница 184: ...ame argument represents a job name which is a string of 1 to 32 characters Filters command output by specifying a regular expression For more information about regular expressions see Fundamentals Con...

Страница 185: ...t represents the IRF member ID of the device cpu cpu number Displays the memory usage statistics for a CPU The cpu number represents the ID of the CPU Filters command output by specifying a regular ex...

Страница 186: ...Displays information about the power supplies on an IRF member device The slot number argument represents the IRF member ID of the device power id Displays information about the specified power suppl...

Страница 187: ...ular expressions see Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match...

Страница 188: ...in Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all li...

Страница 189: ...nes that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regu...

Страница 190: ...specified regular expression regular expression Specifies a regular expression a case sensitive string of 1 to 256 characters Examples Display the reboot schedule Sysname display schedule reboot Syste...

Страница 191: ...an interface by its type and number If no interface is specified this command displays the key parameters of the transceiver modules in all interfaces Filters command output by specifying a regular e...

Страница 192: ...les If the transceiver module supports multiple transfer media every two transfer distance values are separated by a comma The corresponding transfer medium is included in the bracket following the tr...

Страница 193: ...er module alarms that might occur Support for the transceiver modules depends on your device model Table 36 Common transceiver module alarms Field Remarks SFP SFP RX loss of signal Incoming RX signal...

Страница 194: ...the measured values of the digital diagnosis parameters for the transceiver modules in all interfaces Filters command output by specifying a regular expression For more information about regular expr...

Страница 195: ...include regular expression Views Any view Default command level 2 System level Parameters interface interface type interface number Displays the electronic label data for the transceiver module in an...

Страница 196: ...system software version chassis model and device data Syntax display version begin exclude include regular expression Views Any view Default command level 1 Monitor level Parameters Filters command ou...

Страница 197: ...s 25 minutes Time duration for which the switch has been running since the last reboot H3C S5800 32C PWR with 2 Processor Number of CPUs on the device SDRAM Memory size of the device Flash Memory Flas...

Страница 198: ...ow direction Use undo fan prefer direction to restore the default Syntax fan prefer direction slot slot number power to port port to power undo fan prefer direction slot slot number Default The defaul...

Страница 199: ...appears shell Configures the banner displayed before a non Modem dial in user accesses user view text Banner message which can be input in two formats For more information see Fundamentals Configurati...

Страница 200: ...ithout 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...

Страница 201: ...e the job saveconfiguration or enter its view Sysname system view Sysname job saveconfiguration Sysname job saveconfiguration Related commands time view password recovery enable Use password recovery...

Страница 202: ...oftware image file has been corrupted or does not exist the device cannot reboot You must re specify a main system software image file or power off the device and then power it on so the system can re...

Страница 203: ...update record to clear the system software update history of the master device Syntax reset version update record Views System view Default command level 3 Manage level Usage guidelines Examples Clear...

Страница 204: ...irmation is required while the command is running the system automatically enters Y or Yes If characters are required the system automatically enters a default character string or an empty character s...

Страница 205: ...reboot function Syntax schedule reboot at hh mm date undo schedule reboot Default The scheduled reboot function is disabled Views User view Default command level 3 Manage level Parameters hh mm Specif...

Страница 206: ...nction enabled by default on the terminal the system automatically displays a reboot schedule log message Sysname Jun 6 11 43 11 629 2006 Sysname CMD 4 REBOOT vty0 192 168 1 54 Set schedule reboot par...

Страница 207: ...time is 1 1 48 on June 6 2006 Sysname schedule reboot delay 88 Reboot system at 13 16 06 06 2006 in 1 hour s and 28 minute s confirm Y N Enter y at the prompt If you have used the terminal logging com...

Страница 208: ...conds later If the detection timer is set to 30 seconds and you change it to 2 seconds ten seconds after the port is shut down this port is recovered immediately If the detection timer is set to 0 the...

Страница 209: ...es that when the system detects any software abnormality it recovers itself through automatic reboot Examples Set the exception handling method to reboot Sysname system view Sysname system failure reb...

Страница 210: ...he event and outputs a log message and a trap When the device temperature reaches the alarming threshold the device logs the event and outputs a log message and a trap repeatedly and alerts users thro...

Страница 211: ...n have up to 10 commands The time ID time id must be unique in a job If two time and command bindings have the same time ID the one configured last takes effect Changing a clock setting does not affec...

Страница 212: ...Sysname job saveconfig time 1 one off at 8 00 month date 5 command save a cfg Schedule a job to save the configuration file at 8 00 AM on 5th every month Sysname system view Sysname job saveconfig Sy...

Страница 213: ...xt format The specified command must be a complete command without interactive input Usage guidelines The commands in a scheduled job must be in the same view Every job can have up to 10 commands The...

Страница 214: ...e USB ports on the switch Syntax usb disable undo usb disable Default The USB ports on the switch are enabled Views System view Default command level 3 Manage level Examples Disable the USB ports on t...

Страница 215: ...s effect Enter a view name in its complete form and make sure the view name is available on the device Most commonly used view names include monitor for user view system for system view GigabitEtherne...

Страница 216: ...ce file 1 13 copy 92 copyright info enable 155 crypto digest 93 D databits 20 debugging 66 delete 67 delete 94 dir 95 dir 68 disconnect 69 display alarm 156 display archive configuration 1 14 display...

Страница 217: ...E escape key 27 execute 99 F fan prefer direction available only on S5800 54S and S5820X 26S switches 184 file prompt 100 fixdisk 101 flow control 28 format 101 free ftp user 59 free user interface 2...

Страница 218: ...cation password 43 shell 44 shutdown interval 193 slave auto update config 128 speed user interface view 45 startup saved configuration 128 stopbits 45 super 9 super authentication mode 10 super passw...

Отзывы: