H3C Technologies H3C S3100 Series Switches User Manual
Page 93

Operation Manual – Configuration File Management
H3C S3100-52P Ethernet Switch
Chapter 1 Configuration File Management
1-2
Table 1-1
Configure a configuration file
Operation
Command
Description
Save the current
configuration to a
specified configuration file
and specify the
configuration file to be the
primary/secondary
configuration file
save
[ cfgfile | [ safely ]
[ backup | main ] ]
Optional
The save command
can be executed in any
view.
Remove a specific
configuration file from the
Flash
reset saved-configuration
[ backup | main ]
Optional
Specify the name and
attribute of the
configuration file to be
used in the next startup
startup
saved-configuration
cfgfile
[ backup | main ]
Optional
By default, the switch
uses the main
configuration file in the
next startup.
Specify that the switch
starts without loading the
configuration file
undo startup
saved-configuration
[ unit
unit-id
]
Optional
Display the primary
configuration file
display
saved
-configuration [ unit
unit-id
] [ by-linenum ]
Display the current
configuration
display
current-configuration
[
configuration
[ configuration-type ] |
interface
[ interface-type ]
[ interface-number ] | vlan
[ vlan-id ] ] [ by-linenum ] [ |
{ begin | include | exclude }
regular-expression
]
Display the configuration
performed in the current
view
display
this [ by-linenum ]
Display the information
about the configuration file
to be used for startup.
display startup
[ unit
unit-id
]
Optional
The display command
can be executed in any
view.
Caution:
Currently, the extension of a configuration file is cfg. Configuration files are saved in the
root directory of the Flash.