Alcatel Carrier Internetworking Solutions Switch/Router ユーザーズマニュアル

ページ / 1100
Port Monitoring
Page 19-62
RAM Disk System for Data Capture Files
Port monitoring uses a 
RAM
 disk for fast temporary storage of data capture files. The 
RAM
 disk 
has a separate directory designation of 
/ram
RAM
-based files are created in 
DOS-FAT
 format 
and they are displayed in 
UPPERCASE
You can copy files between the 
/ram
 disk system and the standard 
/flash
 file system. In addi-
tion, files in the 
RAM
 disk system are retrievable via 
FTP
. Both the 
/ram
 file system and the 
/flash
 file system are accessible by using the 
UNIX/DOS
-style change directory (
cd
) command. 
 Note 
The 
RAM
 drive is part of 
DRAM
 memory. If you power 
off or reboot the switch, any files saved in the 
RAM
 
drive will be lost.
Configuring RAM Drive Resources (pmcfg)
The 
pmcfg
 command allows you to select the size of the 
RAM
 disk file system or to delete the 
RAM
 disk. In addition, it allows you to configure the amount of data collected for each packet 
capture. To begin configuring 
RAM
 drive resources, enter
pmcfg
A screen similar to the following displays:
RAM disk size :  1000 Kilobytes
Lines displayed:  1
Change any of the above (y/n)? (n)
To change one of the settings, enter a 
Y
 and press 
<enter>
. You will be prompted for a new 
RAM
 drive size. Select a size in kilobytes between 1000 and 8000. You can also delete the 
RAM
 drive by entering a size of zero (0). Changing the 
RAM
 disk size also requires that you 
reboot the system.
The 
Lines displayed 
controls the amount of data displayed to the terminal when you choose to 
dump session data to the computer screen. You can specify the number of lines to display 
while viewing port monitor data on the screen.
Changing the Default System Directory (cd)
After a port monitoring session is enabled the default directory is the 
RAM
 disk system (
/ram
). 
To switch back to the standard default flash file system (
/flash
) use the 
cd
 command. To 
switch back to the default directory, enter
cd /flash
To switch back to the 
RAM
 disk directory, enter
cd /ram