Managing System Configuration and Memory
Clearing system configuration
Stinger®
Administration Guide
6-3
Clearing system configuration
To clear NVRAM, restoring the single or primary control module to its initial,
unconfigured state, enter the NVRAM command without specifying an option:
admin>
nvram
Clear configuration and reboot? [y/n]
To clear NVRAM and enter debug mode, use the
-t
option:
admin>
nvram -t
To clear NVRAM and reset both control modules with no confirmation, proceed as
follows:
admin>
nvram -f -r both_controllers
Please standby. System reset in progress.
Note
You must reset the Stinger unit after clearing NVRAM.
Retaining configuration information after clearing NVRAM
You can store minimal system configuration information in a file called
default.cfg
to enable the system to start up with some configuration information, even after you
issue the
nvram
command. This feature enables setups with requirements for inband
management to clear nonvolatile RAM (NVRAM) and restart the Stinger unit with
minimal configuration, such as Ethernet and some ATM connections, so that inband
management can proceed.
How it works
You save the system IP address and other basic configuration that you would like to
be restored for your system to the
default.cfg
file. You must save the
default.cfg
file to
root directory
or to
root directory/current
in flash memory. After you issue
the
nvram
command, the system reboots the control module(s) and looks to NVRAM
for configuration information.
The system looks for the
default.cfg
file in the flash directories of the control
module in following order:
1
root directory/
2
root directory/current
On a redundant Stinger unit, the system looks for the
default.cfg
file only in the
primary control module. If the system finds a
default.cfg
file, it loads the saved
configuration to NVRAM and then restarts with the configuration information that
was saved to the
default.cfg
file. If you save more than one
default.cfg
file in the
flash directories, the software processes the first
default.cfg
file that it finds based on
the order listed earlier in this section. If the system finds no
default.cfg
file, then no
configuration file is loaded from flash and the system restarts without any
configuration.
Содержание Stinger
Страница 1: ...Stinger Administration Guide Part Number 7820 0712 008 For software version 9 7 0 August 2004 ...
Страница 4: ......
Страница 16: ......
Страница 18: ......
Страница 62: ......
Страница 82: ......
Страница 96: ......
Страница 182: ......
Страница 218: ......
Страница 236: ......
Страница 252: ......
Страница 288: ......
Страница 350: ......
Страница 362: ......
Страница 374: ......