NIC Diagnosis

Function

Diagnose the connectivity and bandwidth of NPU network ports and output the test result.

Table 1 Diagnostic items

Item

Diagnosis Duration (Atlas A2 Training/Inference Products)

Diagnosis Duration (Atlas A3 Training/Inference Products)

Whether NPU Training or Inference Is Affected

Application Scenario

nic

5min~10min

50min~70min

Yes

Training or inference service rollout

Parameters

Table 2 lists only a test-specific parameter. For details about other common parameters, see Common Parameters.

Table 2 Parameter description

Parameter

Description

Mandatory

[-i, --items]

Specifies the diagnosis check item.
  • nic: diagnosis of NPU network port connectivity and bandwidth.

Yes

Example

ascend-dmi -dg -i nic -q

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[***@***]# ascend-dmi --dg -i nic --fmt json -q
{
    "DiagnosisItems": [
        {
            "group_name": "Hardware",
            "group_results": "PASS",
            "sub_items": [
                {
                    "item_name": "nic",
                    "item_result": "PASS",
                    "result_array": [
                        {
                            "item_result": "PASS"
                        }
                    ]
                }
            ]
        }
    ],
    "Summary": {
        "Arch": "aarch64",
        "Mode": "Ascend 910",
        "Time": "20250603-16:46:40"
    }
}

Fault Check Items

Table 3 Fault check items

Command Output

Description

PASS

The NPU network port connectivity is normal and the network port bandwidth reaches the baseline value.

GENERAL_WARN

  • The NPU network port is down.
  • The network port between NPUs is not connected.

IMPORTANT_WARN

The NPU network port bandwidth does not reach the baseline value.

FAIL

  • hccn_tool security verification failed.
  • Failed to obtain the NPU network port status.
  • Failed to obtain the NPU network port rate.
  • Failed to obtain the IP address of the NPU network port.
  • Failed to test NPU network port connectivity.
  • Failed to reset the NPU network port.
  • Failed to test NPU network port bandwidth.

SKIP

The product or scenario does not support NIC diagnosis.