Display Swap Switch(DSP OMUSWAPSWITCH)

Function

An OM command that queries the status of the swap switch.

Note

The local Daemon must be running.

Parameters

None.

Example

1. Query the status of the swap switch when it is set to ON:
%%DSP OMUSWAPSWITCH:;%%
The result is as follows:
+++    HUAWEI        2008-07-26 15:29:16
O&M    #3
%%DSP OMUSWAPSWITCH:;%%
RETCODE = 0  Operation succeeded

DSP OMUSWAPSWITCH Result
-----------------------
swap switch  =  enable swap
(Number of results = 1)


---    END
2. Query the status of the swap switch when it is set to OFF:
DSP OMUSWAPSWITCH:;
The result is as follows:
+++    HUAWEI        2008-07-26 15:29:58
O&M    #5
%%DSP OMUSWAPSWITCH:;%%
RETCODE = 0  Operation succeeded

DSP OMUSWAPSWITCH Result
-----------------------
swap switch  =  disable swap
(Number of results = 1)


---    END

Output Description

Domain Name Description
swap switch

"enable swap" indicates that the swap switch is ON; "disable swap" indicates that the swap switch is OFF. When the swap switch is set to OFF(Disable), execution of the SWP OMU command fails.

Related reference
Set Swap Switch(SET OMUSWAPSWITCH)

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