GS-4012F User’s Guide
254
Chapter 40 Command Examples
This command restores a configuration file on the switch. The following example uploads the
configuration file (
test.cfg
) from the TFTP server (
172.23.19.96
) to the switch.
Figure 155
CLI: Restore Configuration Example
40.6.3 Using a Different Configuration File
You can store up to two configuration files on the switch. Only one configuration file is used
at a time. By default the switch uses the first configuration file (with an index number of 1).
You can set the switch to use a different configuration file. There are two ways in which you
can set the switch to use a different configuration file: restart the switch (cold reboot) and
restart the system (warm reboot).
Use the
boot config
command to restart the switch and use a different configuration file (if
specified). The following example restarts the switch to use the second configuration file.
Figure 156
CLI: boot config Command Example
Use the
reload config
command to restart the system and use a different configuration file
(if specified). The following example restarts the system to use the second configuration file.
Figure 157
CLI: reload config Command Example
Note:
When you use the
write memory
command without specifying a configuration
file index number, the switch saves the changes to the configuration file the
switch is currently using.
40.6.4 Resetting to the Factory Default
Follow the steps below to reset the switch back to the factory defaults.
1
Enter
erase running config
to reset the current running configuration.
2
Enter
write memory
to save the changes to the current configuration file. If you want to
reset the second configuration file, use the
write memory
command again with the
specified index number.
ras# copy tftp config 1 172.23.19.96 test.cfg
Restoring
. (683)Bytes Done!
ras#
ras# boot config 2
ras# reload config 2
Summary of Contents for GS-4012F
Page 1: ...GS 4012F Ethernet Switch User s Guide Version 3 60 4 2005...
Page 19: ...GS 4012F User s Guide 18 Table of Contents...
Page 25: ...GS 4012F User s Guide 24 List of Figures...
Page 29: ...GS 4012F User s Guide 28 List of Tables...
Page 39: ...GS 4012F User s Guide 38 Chapter 1 Getting to Know Your Switch...
Page 43: ...GS 4012F User s Guide 42 Chapter 2 Hardware Installation and Connection...
Page 49: ...GS 4012F User s Guide 48 Chapter 3 Hardware Overview...
Page 63: ...GS 4012F User s Guide 62 Chapter 5 Initial Setup Example...
Page 69: ...GS 4012F User s Guide 68 Chapter 6 System Status and Port Statistics...
Page 101: ...GS 4012F User s Guide 100 Chapter 11 Spanning Tree Protocol...
Page 113: ...GS 4012F User s Guide 112 Chapter 15 Link Aggregation...
Page 117: ...GS 4012F User s Guide 116 Chapter 16 Port Authentication...
Page 125: ...GS 4012F User s Guide 124 Chapter 18 Classifier Figure 53 Classifier Example...
Page 131: ...GS 4012F User s Guide 130 Chapter 19 Policy Rule Figure 56 Policy Example...
Page 135: ...GS 4012F User s Guide 134 Chapter 20 Queuing Method...
Page 141: ...GS 4012F User s Guide 140 Chapter 21 VLAN Stacking...
Page 183: ...GS 4012F User s Guide 182 Chapter 30 VRRP...
Page 203: ...GS 4012F User s Guide 202 Chapter 32 Access Control...
Page 205: ...GS 4012F User s Guide 204 Chapter 33 Diagnostic...
Page 219: ...GS 4012F User s Guide 218 Chapter 38 Routing Table...
Page 267: ...GS 4012F User s Guide 266 Chapter 40 Command Examples...
Page 277: ...GS 4012F User s Guide 276 Chapter 41 IEEE 802 1Q Tagged VLAN Commands...
Page 287: ...GS 4012F User s Guide 286 Chapter 42 Troubleshooting...
Page 291: ...GS 4012F User s Guide 290 Product Specifications...