HP 5500 Ei 5500 Si Switch Series Configuration Guide
Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.
Page 101
89 Directory of flash:/ 0 -rw- 13308645 Mar 22 2011 11:34:07 main.bin 1 -rw- 7380 Mar 25 2011 10:47:36 patch-package.bin 2 -rw- 228 Mar 25 2011 10:50:39 patchstate 3 -rw- 3921 Apr 01 2011 17:56:30 startup.cfg 4 -rw- 151 Apr 01 2011 17:56:24 system.xml 15240 KB total (2521 KB free) # Create new folder mytest in the test directory. cd test mkdir mytest %Created dir flash:/test/mytest. # Display the current working...
Page 102
90 Managing configuration files You can manage configuration files at the CLI or by using the Boot menu of the device. This chapter describes the CLI approach. Overview A configuration file saves a configuration as a set of text commands. You can save the running configuration to a configuration file so the configuration takes effect after you reboot the device. You can also back up the configuration file to a host and download the file to the device as needed. Configuration types The device...
Page 103
91 Configuration file format and content A configuration file is saved as a text file according to the following rules: • Commands are saved in their complete form. • The commands are listed in sections by view, typically in this order: system view, interface view, protocol views, and user interface view. • Sections are separated with one or more blank lines or comment lines that start with a pound sign (#). • A configuration file ends with a return. Coexistence of multiple configuration...
Page 104
92 Enabling configuration file auto-update The configuration auto-update function enables all subordinate switches to automatically save the running configuration as the master does when you execute the save [ safely ] [ backup | main ] [ force ] command or the save filename all command. If this function is disabled, only the master saves the configuration. To ensure configuration consistency, HP recommends enabling the function. To enable configuration auto-update: Step Command Remarks...
Page 105
93 Task Command Remarks Save the running configuration to a configuration file and specify the file as the startup configuration file for the next startup. save [ safely ] [ backup | main ] [ force ] By default, the running configuration is saved to the current startup configuration file. You can choose to save the configuration to a different file as instructed by the system. If you execute the save [ safely ] command without specifying any other keyword, the command saves the...
Page 106
94 Configuration archives are saved with the file name format prefix_serial number .cfg, for example, 20080620archive_1.cfg and 20080620archive_2.cfg. The serial number is automatically assigned from 1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1. After you change the file directory or file name prefix , or reboot the device, the old configuration archives are regarded as common configuration files, the configuration archive counter resets, and the display...
Page 107
95 Enabling automatic configuration archiving To avoid decreasing system performance, follow these guidelines when you configure automatic configuration archiving: • If the device configuration does not change freq uently, manually archive the running configuration as needed. • If a low-speed storage media (such as a Flash) is used, archive the running configuration manually, or configure automatic archiving with an inte rval longer than 1440 minutes (24 hours). Make sure you have set an...
Page 108
96 Step Command 1. Enter system view. system-view 2. Perform configuration rollback. configuration replace file filename The configuration rollback function might fail to reco nfigure some commands in the running configuration for one of the following reasons: • A command cannot be undone because the undo form designed for the command does not include a keyword or argument configured in the command. For example, if the undo form designed for the A [B ] C command is undo A C , the...
Page 109
97 Step Command Remarks 2. Back up the next-startup configuration file to a TFTP server in user view. backup startup-configuration to dest-addr [dest-filename ] N/A Deleting the next-startup configuration file CAUTION: This task permanently deletes the next-startup conf iguration file from all member devices. Before performing this task, back up the file as needed. You can delete the main, the backup, or both. If the device has only one next-startup configuration file, the...
Page 110
98 Displaying and maintaining a configuration file Task Command Remarks Display information about configuration rollback. display archive configuration [ | { begin | exclude | include } regular-expression ] Available in any view. Display the running configuration. display current-configuration [ [ configuration [ configuration ] | interface [ interface-type ] [ interface-number ] | exclude modules ] [ by-linenum ] [ | { begin | exclude | include } regular-expression ] ]...