ZyXEL Communications ES-3148 Switch User Manual


 
ES-3148 User’s Guide
230 Chapter 32 Command Examples
Enable RSTP on the switch.
Enable RSTP on port 10.
Figure 121 Enable RSTP Command Example
32.6 Configuration File Maintenance
The following sections shows how to manage the configuration files.
32.6.1 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 122 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 123 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.
32.6.2 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.
ras(config)# spanning-tree
ras(config)# spanning-tree 10
ras# boot config 2
ras# reload config 2