No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change nas_log debug_switch

change nas_log debug_switch

Function

The change nas_log debug switch command is used to change the status of debug log switch.

Format

change nas_log debug_switch status=? controller=?

Parameters

Parameter

Description

Value

status=?

The status of switch.

The value is in the format of "enable" or "disable", where the "enable" is switch on and "disable" is switch off.

controller=?

Indicates the controller ID.

The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".

Views

Developer view

Usage Guidelines

None

Example

Change the status of debug log switch.

developer:/>change nas_log debug_switch status=disable controller=0A 
Command executed successfully. 

developer:/>change nas_log debug_switch status=enable controller=0A 
WARNING: You are about to open the DEBUG log. This operation may cause NAS service performance to deteriorate. 
Suggestion: Confirm that you need to open the DEBUG log. 
Have you read warning message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 633568

Downloads: 56

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next