Display CPU Status(DSP CPUSTAT)

Function

An OM command that queries the status of the CPU, including administration status, operation status, HA status, and availability status.

Note

1. The specified board must be configured and functional.

2. If the optional parameters Slot No. and CPU No. are not specified, the status of all the CPUs in the specified subrack is queried.

Parameters

ID Name Description
SRN Subrack No.

Meaning: subrack number

Value range: 0-11

Explanation: The subrack number uniquely identifies a subrack.

Default value: None

SN Slot No.

Meaning: slot number

Value range: 0-27

Explanation:

1. The subrack number and slot number uniquely identify a board.

2. The slot number is an optional parameter. If not specified, the status of all the boards in the specified subrack is queried.

Default value: None

CPUN CPU No.

Meaning: CPU number

Value range: 0-3

Explanation:

1. The subrack number, slot number, and CPU number are used to uniquely identify a CPU.

2. The CPU number is an optional parameter. If not specified, the status of all the CPUs of the specified board is queried.

Default value: None

Example

Query the status of all CPUs in subrack 0:
DSP CPUSTAT: SRN=0;
The result is as follows:
+++    HUAWEI        2007-11-19 09:48:05
O&M    #75
%%DSP CPUSTAT: SRN=0;%%
RETCODE = 0  Operation succeeded

Display CPU Status
------------------
Subrack No.  Slot No.  CPU No.  Administrative State  Operate State  HA State  Available State
0            4         0        Unlock                Disabled       Invalid   Fault   
0            5         0        Unlock                Disabled       Invalid   Fault   
0            6         0        Unlock                Enabled        Active    Normal   
0            7         0        Unlock                Disabled       Invalid   Fault   
0            12        0        Unlock                Enabled        Active    Normal   
0            13        0        Unlock                Disabled       Invalid   Fault   
0            21        0        Unlock                Enabled        Active    Normal   
0            23        0        Unlock                Disabled       Invalid   Fault   
(Number of results = 8)


---    END

Output Description

Domain Name Description
Subrack No.

Number of the subrack where the board is located.

Slot No.

Number of the slot where the board is located.

CPU No.

Number of the CPU where the board is located.

Administration State

sets whether to provide service to the specified object. The PARC of the current version does not support the administration state, and the return value is always "The service is enabled".

Operation state

Whether the object can be operated. The value can be operable or inoperable.

HA State

This is effective to only the CPU configured with the active/standby mode. The state can be active, standby, unallocated, and invalid. When the CPU works independently, the active/standby state is invalid. The value is a random value, which is generally 0xff(255).

Availability State

Additional description of the status of the object. Different binary codes represent different meanings: 0x01: Normal; 0x02: Faulty; 0x04: Not installed; 0x08: Not configured; 0x10: Inconsistent; 0x20: Power off; 0x40: Testing clock; 0x80: Unknown; 0x100: Startup.

Related reference
Display CPU Usage(DSP CPUUSAGE)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.