3Com 10014298 Switch User Manual


 
File System 245
Example: File System Operation
1 Format the flash.
<SW7750>format flash:
All sectors will be erased, proceed? [confirm] y
Format flash: completed
2 Display the working directory in the flash.
<SW7750>cd flash:/
<SW7750>pwd
flash:/
3 Create a directory named test.
<SW7750>mkdir test
4 Display the flash directory information after creating the test directory.
<SW7750>dir
Directory of *
0 drw- 0 Mar 09 2002 12:01:44 test
523776 bytes total (476160 bytes free)
Configuring File
Management
The management module configuration file provides a user-friendly operation
interface. It saves the configuration of the switch in a text file, in command line
format, as a record of the whole configuration process. You can view the
configuration information.
The configuration file includes:
Configuration commands — Commands are based on command views. The
commands are sorted in one section. The sections are separated with a blank
line or a comment line (A comment line begins with a pound sign “# ”).
Default constants are not saved.
Generally, the sections in the file are arranged in the following order: system
configuration, ethernet port configuration, vlan interface configuration,
routing protocol configuration, and so on.
Management of the configuration files includes tasks described in the following
sections:
Displaying the Current and Saved Configuration of the Switch
Saving the Current Configuration
Erasing the Configuration Files from Flash Memory
Displaying the Current and Saved Configuration of the Switch
After being powered on, the system reads the configuration file from flash
memory. The default configuration file is
sw7750cfg.txt. If there is no
configuration file in flash, the system begins the initialization with the default
parameters. You can use the commands in
Table 261 to display the current and
saved configuration of the switch.