< Home

CMAINT/4/FILEOPERATION

Message

CMAINT/4/FILEOPERATION: File operation record. (operation="[STRING]", filename="[STRING]", result="[STRING]").

Description

File operations were recorded when the switch was in NETCONF mode.

Parameters

Parameter Name Parameter Meaning

operation

Indicates the file operation type:

  • create the file: A file is created.
  • delete the file: A file is deleted.
  • upload the file: The switch uploads files to a file server.

filename

Indicates the path and name of the file.

result

Indicates the file operation result:

  • success
  • fail

The operation result fail will not be displayed during file deletion.

Possible Causes

  • Failed to create the file.
    • There was insufficient storage space on the switch.
    • There was a file with the same file name on the switch, and this file cannot be overwritten.
  • Failed to upload the file: Check the error code in the notification message received by the controller or error code in diagnostic logs.
    • Error code 1: The parameter delivered by the controller was invalid.
    • Error code 2: The switch failed to generate a file.
    • Error code 3: The file generated by the switch exceeded 200 MB and cannot be uploaded.
    • Error code 4: Failed to upload the file.

Procedure

  1. Failed to create the file.

    • If the storage space on the switch was insufficient, delete redundant files.
    • If there was a file with the same file name, and this file cannot be overwritten:
      • Change the created file name.
      • Delete the file with the same file name.
      • Change the file operation permission so that the file with the same file name can be directly overwritten.

  2. When files failed to be uploaded, contact technical support personnel based on the error code.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >