6-18
Stinger®
Administration Guide
Managing System Configuration and Memory
Managing PCMCIA flash cards
built-in flash memory. Currently, the flash cards contain code for the modules and
the control module. The system configuration is stored in the onboard NVRAM. (See
“This chapter describes how to manage system configuration and memory, including
the transfer of configuration files” on page 6-1.)
To access a specific control module, you can either telnet to its configured IP address
or connect by way of the control module’s serial port. Once you have connected to
the control module, you must consider if you need to format a flash card or flash
memory, display its contents, or check the file system.
Formatting a flash card
Before using a PCMCIA flash card in the Stinger unit, you must format it. First insert
the card into slot 1 or slot 2 in the control module, then use the
format
command.
Following are examples of formatting the card in slot 1:
admin>
format flash-card-1
or
admin>
format 1
For details of the command-line options for the
format
command, see the
Stinger
Reference
.
Displaying the contents of flash
To check the Stinger module images stored in the flash card code directory, use the
dircode
command, as shown in the following example:
admin>
dircode
Card 1, format FAT, capacity 30MB
/current:
ima-24t1-card 872522 Wed Jun 30 9:38:04 2004 Version 9.7.0
cm-v2 4827612 Wed Jun 30 9:37:26 2004 Version 9.7.0
stngr-72-ct-adsl-card
1136044 Wed Jun 30 9:38:24 2004 Version 9.7.0
shdsl-card 1114989 Wed Jun 30 9:38:44 2004 Version 9.7.0
sdsl-atm-v2-card
988688 Wed Jun 30 9:37:50 2004 Version 9.7.0
Total space: 31997952 bytes
used: 19693568 bytes
free: 12304384 bytes
The information displayed by this command includes the flash card number (1 or 2)
and the size of the code directory. It also shows the following information about each
code module:
Type of Stinger module supported
Size of the code
Date the code was loaded to the flash card or flash memory
Code version
Compressing and uncompressing files on a flash card
To compress an existing file on a flash card, use the
gzip
command. To uncompress a
file on the flash card that have been compressed by the
gzip
command, use the
Содержание 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: ......