Qtech QSW-2900-24T4-AC [23/209] Modify and save current configuration

2-21
Chapter 2 Switch Manage and Maintenance
2.1 Configuration Files Management
2.1.1 Edit configuration files
Configuration files adopts text formatting which can be upload to PC from devices by FTP and TFTP
protocol. Use text edit tool (such as windows nootbook) to edit uploaded configuration files.
System is defaulted to execute configuration files in global configuration mode, so there are two initial
commands: enable, and configure terminal. There is entering symbol after each command.
2.1.2 Modify and save current configuration
User can modify and save system current configuration by command line interface to make current
configuration be initial configuration of system next booting.
copy running-config startup-config
This command is needed to save current configuration. When executing configuration files, if there is un-executed
command, it will be displayed as [Line:xxxx]invalid: commandString. If there is command with executing failure,
it will be displayed as [Line:xxxx]failed: commandString. If there is a command beyond 512 characters, it will be
displayed as [Line:xxxx]failed: too long command: commandString, and only first 16 characters of this command
will be displayed, and end up with …, in which xxxxmeans the line number of the command, and commandString
means command character string. Un-executive command includes command with grammar fault and un-matching
pattern. Use following command in privileged mode.
QTECH#copy running-config startup-config
2.1.3 Erase configuration
Use clear startup-config command to clear saved configuration. After using this command to clear saved
configuration and reboot switch. The switch will restore to original configuration. Use this command in privileged
mode.
QTECH#clear startup-config
2.1.4 Execute saved configuration
User can restore saved configuration by commang line interface by using copy startup-config running-config
command in privileged mode to execute saved configuration.
QTECH#copy startup-config running-config
2.1.5 Display saved configuration
User can display syatem saved configuration information in the form of text by command line interface. Use
following command to display system saved configuration:

Содержание

Скачать