Cabletron Systems 6A000-ZX-250 User Manual
Size:
1.27 Mb
Download

Console Commands

AlarmConfig

Use AlarmConfig (alarm configuration) to determine alarm message buffer file configuration.

SERVER SVC

X X

Operators

add, modify, show

Parameters

Input Parameter

Description

Value/Field Size

Default

 

 

 

 

[AlarmNumFiles]

Number of alarm files (within the flash file

1, 2, 3, 4.../

32

 

system) to be used for saving alarm messages.

1-32

 

[StartFileNum]

Offset to the starting file for alarm messages in

0, 1, 2, 3, 4.../

0

 

relation to number of alarm message files

n/a

 

 

specified by [AlarmNumFiles].

 

 

[NumFilesUsed]

Number of files currently used within the alarm

0, 1, 2, 3, 4.../

0

 

message buffer (cannot exceed number of files to

n/a

 

 

store alarms).

 

 

[NumAlarmsPerFile]

Number of alarm messages that can be stored per

0, 1, 2, 3, 4.../

8

 

file within the alarm message buffer. Using a

n/a

 

 

smaller value results in less file system rewriting

 

 

 

but increases the space wasted per entry, as each

 

 

 

file has fixed overhead.

 

 

Output Parameter

Description

Default

 

 

 

[Alarm directory]

Name of the directory within the flash file system that contains the alarm

ALARM

 

message buffer.

 

2-6SmartCell6A000/ZX-250Reference Manual

Console Commands

Output Parameter

Description

Default

 

 

 

[Alarm Config file]

Name of the file that contains the current configuration of the alarm

alarmc.db

 

message buffer.

 

[Alarm Filename]

Base name of the set of files within the flash file system where alarm

zalarm

 

messages are stored. Alarm message file names are composed of the base

 

 

name and a numeric offset.

 

[Num of alarm files]

Same as [AlarmNumFiles] Input Parameter.

32

[Starting file number]

Same as [StartFileNum] Input Parameter.

0

[Num of used files]

Same as [NumFilesUsed] Input Parameter.

0

[Num of logs per file]

Same as [NumAlarmsPerFile] Input Parameter.

8

Descriptions

Operator

Parameters / Permissions

Description

 

 

 

add [AlarmNumFiles]<numfiles>

alarmconfig [StartFileNum] <startfiles>

[NumFilesUsed] <numfilesused>

[NumAlarmsPerFile] <numalarms>

Administrator

Creates the alarm message buffer file configuration, which specifies how alarm messages are saved to the flash file system.

Alarm messages are saved in the flash file system and are persistent through system reboots. If a configuration file is already present, the parameters within the file override any alarm message configuration parameters entered through the console.

The number of alarm files ranges from 0 to whatever value you decide using the [AlarmNumFiles] parameter. The alarm file number starts at whatever value you specify using the [StartFileNum] parameter. The number of files that contain alarm messages is specified by the[NumFilesUsed] parameter, which ranges between 0 and whatever value you have specified using the [AlarmNumFiles] parameter. The maximum number of alarm messages that can be stored is [NumAlarmsPerFile] multiplied by [AlarmNumFiles], and is limited by the size of the flash file system.

SmartCell 6A000/ZX-250Reference Manual2-7

Console Commands

Operator

Parameters / Permissions

Description

 

 

 

modify [AlarmNumFiles] <numfiles> alarmconfig[StartFileNum] <stfile>

[NumFilesUsed] <numfilesused>

[NumAlarmsPerFile] <numalarms>

All

Modifies the current alarm message configuration parameters for saving alarms. The current values of each configuration parameter are displayed. You can either accept the current value or enter a new value.

show Administrator

alarmconfig

Displays the current alarm message buffer file configuration parameters for saving alarms. These parameters define the location of the configuration file, alarm message buffer filename, number of alarm message files, number used, and the number of alarm messages that each file can contain.

flush

Administrator

Flushes and deletes alarms and current alarm message buffer

alarmconfig

 

configurations from the flash file system. You must confirm

 

 

at the prompt before the command is entered.

Examples

switch_prompt # add alarmconfig

AlarmNumFiles(32) :

StartFileNum(0) :

NumFilesUsed(0) :

NumAlarmsPerFile(8): switch_prompt #

switch_prompt # modify alarmconfig

AlarmNumFiles(32) :

StartFileNum(0) :

NumFilesUsed(0) :

NumAlarmsPerFile(8): switch_prompt #

switch_prompt # show alarmconfig

Writing into Alarm Configuration

Alarm directory

:

ALARM

Alarm Config file

:

alarmc.db

Alarm Filename

:

zalarm

Num of alarm files

:

32

Starting file number:

0

Num of used files

:

18

Num of logs per file:

8

switch_prompt #

 

 

switch_prompt # flush

alarmconfig

Writing into Alarm Configuration

Alarm directory

:

ALARM

Alarm Config file

:

alarmc.db

Alarm Filename

:

zalarm

Num of alarm files

:

32

Starting file number:

0

Num of used files

:

18

Num of logs per file:

8

Confirm(y/n)?:y

 

 

switch_prompt #

 

 

2-8SmartCell6A000/ZX-250Reference Manual