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

2 CONSOLE COMMANDS

Alarm

Use Alarm to set alarm messaging features.

SERVER SVC

X X

Operators

show, clear, flush

Parameters

Input Parameter

Description

Value/Field Size

Default

 

 

 

 

[Index]

Index for showing the

1, 2, 3, 4.../

ALL

 

particular alarm.

n/a

 

In the Output Parameter table below, (</d>) indicates parameters that are available only through theshow alarm /d (detailed) command. (</s>) (summarized) appears next to a parameter to indicate that this parameter appears in both the summarized table and the detailed table

Output Parameter

Description

Default

 

 

 

[AlarmNumber] (</s>)

Numeric position of specified alarm within alarm

1, 2, 3, 4...

 

message buffer.

 

[Module] (</s>)

Four-charactername of the software module that

See Software Modules

 

generated the log and alarm entries.

Table under “LogTrace” .

[SubModule] (</s>)

Four-charactername of the software submodule that

See Software

 

generated the log entry that created this alarm message.

SubModules Table under

 

 

“LogTrace” .

SmartCell 6A000/ZX-250Reference Manual2-1

Console Commands

Output Parameter

Description

Default

 

 

 

[TimeStamp] (</s>)

Time (in system up time) when the alarm message entry

n/a

 

was created. The time stamp is in the format

 

 

[hrs:mins:secs:msecs].

 

[Message] (</s>)

Numeric code that specifies the message in the log entry

n/a

 

that generated this alarm message. Actual alphanumeric

 

 

message is not stored with the alarm because of the

 

 

limited space within the flash files.

 

[SequenceNum] (</d>)

Sequence number (within the log message buffer) of the

1, 2, 3, 4...

 

log message entry that generated this alarm message

 

 

entry.

 

[NumParameters] (</d>)

Number of informational parameters within alarm

1, 2, 3, 4...

 

message entry.

 

[LogLevel] (</d>)

Log debug level of the log message that caused the alarm

1, 2, 3, 4...

 

message to be generated.

 

[Parameter] (</d>)

List of parameters displayed by the alarm message.

n/a

 

Fields include parameter number, type, length, and value.

 

The following parameters are visible only with flush alarm:

 

[Alarm directory]

Name of the directory within the flash file system that

ALARM

 

contains the alarm message buffer.

 

[AlarmConfig file]

Name of the file that contains the current configuration of

alarmc.db

 

the alarm message buffer.

 

[Alarm Filename]

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

zalarm

 

where alarm messages are stored. Alarm message file

 

 

names are composed of the base name and a numeric

 

 

offset.

 

[Num of alarm files]

Number of alarm files (within the flash file system) to be

32

 

used for saving alarm messages.

 

[Starting file number]

Offset to starting file for alarm messages in relation to

0

 

number of alarm message files stated by [Num of

 

 

alarm files].

 

[Num of used files]

Number of files currently used within the alarm message

0

 

buffer.

 

2-2SmartCell6A000/ZX-250Reference Manual

Console Commands

Output Parameter

Description

Default

 

 

 

[Num of logs per file]

Number of alarm messages that can be held by each file

8

 

within the alarm message buffer.

 

Descriptions

Operator Parameters/Permissions Description

show alarm

(/s | /d)

 

[Index] <index>

 

Administrator

clear alarm Administrator

Displays alarm messages contained within the alarm message buffer. Alarm messages are referred to by their index numbers. Index numbers correspond to the order in which an alarm message is logged into the alarm message buffer.

The amount of information displayed is controlled by modify alarmverbose, described onpage 9. Alarmverbose has two additional options/s (summary) and/d (detail) filter flags. These filter flags control the amount of information displayed only when alarmverbose is on. When alarmverbose is off,/s and/d display the same information.

Clears the current alarm message and alarm configuration files from the buffer for saving or showing alarms. If the alarm message file is cleared, all currently stored alarm messages are cleared as well. You must confirm that you wish to clear the alarm before you can continue to clear the alarm configuration file. If you respond n to the clear alarm confirmation prompt, it assumes you have canceled the command. If you respondy, you will see details of the alarm configuration file. You must confirm at this prompt also before the command is completed. Useadd alarmconfig onpage 6 to create an alarm message buffer file again

flush alarm Administrator

Flushes alarms and deletes saved alarm messages from the flash

 

file system. You must confirm at the prompt before the

 

command is completed. Use add alarmconfig onpage 6 to

 

create an alarm message buffer file again.

SmartCell 6A000/ZX-250Reference Manual2-3

Console Commands

Examples

 

(AlarmVerbose is off)

 

 

switch_prompt

# modify alarmverbose

Mode(On)

 

 

: off

Setting Alarm

Verbose Mode

to Off

switch_prompt

# show alarm

1

/s

----------------------------------------------------

Num Mod SubMod T(h:m:s:ms)

 

Msg

----------------------------------------------------

1

HW LINK

000:00:13:886

14910: Port (null) DOWN

switch_prompt

# show alarm

1

/d

-----------------------------------------------------------------------------------------

Num Mod SubMod T(h:m:s:ms) Msg Seq L P P-532387424(TLV)P-532387424(TLV)P-532387424(TLV)

-----------------------------------------------------------------------------------------

1 HW LINK 000:00:13:886 14910: Port (null) DOWN 1 2 3

-----------------------------------------------------------------------------------------

531652752 0(0x0)

531652752

0(0x2)

531652752

0(0x0)

switch_prompt #

 

 

 

 

 

 

 

(AlarmVerbose is on)

 

 

 

 

 

 

switch_prompt # modify

alarmverbose

 

 

 

Mode(Off)

 

 

 

 

: on

 

 

Setting Alarm Verbose Mode to On

 

 

 

switch_prompt # show

alarm 1 /s

 

 

 

-----------------------------------

 

 

 

AlarmNumber

 

:

1

 

 

 

 

Module

 

:

HW

 

 

 

 

SubModule

 

:

LINK

 

 

 

 

TimeStamp

 

:

000:00:13:886

 

 

 

SequenceNum

 

:

1

 

 

 

 

NumParameters

 

:

3

 

 

 

 

LogLevel

 

:

2

 

 

 

 

Parameter

 

:

Num

Type

Len

Val

 

 

 

:

0

STR

0

-531130720(0xe05796a0)

 

 

:

1

INT

0

2(0x2)

 

 

:

2

STR

0

-535494944(0xe014fee0)

Message

 

: [14910] Port (null) DOWN

 

 

switch_prompt # show

alarm 1 /d

 

 

 

-----------------------------------

 

 

 

AlarmNumber

 

:

1

 

 

 

 

Module

 

:

HW

 

 

 

 

SubModule

 

:

LINK

 

 

 

 

TimeStamp

 

:

000:00:13:886

 

 

 

SequenceNum

 

:

1

 

 

 

 

NumParameters

 

:

3

 

 

 

 

LogLevel

 

:

2

 

 

 

 

Parameter

 

:

Num

Type

Len

Val

 

 

 

:

0

STR

0

-531130720(0xe05796a0)

 

 

:

1

INT

0

2(0x2)

 

 

:

2

STR

0

-535494944(0xe014fee0)

Message

 

: [14910] Port (null) DOWN

 

 

switch_prompt #

 

 

 

 

 

 

 

switch_prompt # clear alarm

Confirm(y/n)?: y

2-4SmartCell6A000/ZX-250Reference Manual

Console Commands

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

Would you also like to clear this Alarm Configuration file(y/n)?: y switch_prompt #

switch_prompt # flush alarm

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 #

 

 

SmartCell 6A000/ZX-250Reference Manual2-5