| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 |
Commands List
Query Commands
- Querying hccn_tool Help Information
- Querying the NPU Device Information
- Querying the Port Link Status
- Querying the Real-Time Bandwidth Information of a Port
- Querying Port Statistics
- Querying the Port Status
- Querying the Peak Bandwidth Information of a Port
- Querying the Number of Port Bit Errors
- Querying the Number of Available Port Chip Credits
- Querying the Port Rate
- Querying Port SerDes Information
- Querying Port FEC Information
- Querying the Status Information of a Historical Link Establishment Process of a Port
- Querying the Historical Link Up and Down Status of a Port
- Querying Port Link Information When the Link Is Down
- Querying the SU Bit Error Mode and Bit Error Statistics of a Port
- Querying Interconnect or Disconnection Status of NPU Devices
- Querying the vNIC IP Address and Link Status of an NPU Device
- Querying the DRV Driver Package and Firmware Version Information of an NPU Device
- Querying the TLS Certificate Information of an NPU Device
- Querying Device-Side Process Information of an NPU Device
- Querying the Configuration Recovery Status of an NPU Device
- Querying AEQ Context Information of a Network Device
- Querying the CEQ Context Information of a Network Device
- Querying the Queue Resource List for a Network Device
- Querying Queue Resource Attributes for a Network Device
Setting Commands
- Clearing Port Statistics
- Configure Port Lane Expansion
- Clearing Port SU Bit Error Statistics
- Replacing the TLS Certificate of an NPU Device
- Configuring TLS Enable Status of an NPU Device
- Configuring the TLS Expiration Alarm Threshold for an NPU Device
- Clearing the TLS Certificate Information of an NPU Device
- Restoring Configuration of an NPU Device
- Restoring Configurations of All NPU Devices
Test Commands
- Exporting Register Information of a Port
- Setting the SU Bit Error Mode of a Port
- Querying the Result of a UB Ping from a Specified NPU Device to a Destination Address
hccn_tool Description
Overview
This document describes the external APIs of the cluster network tool hccn_tool, including APIs for querying the system NPU device information and port link status.
This document applies to the Atlas 350 accelerator card.
Deployment Scenario Description
- If a specific deployment scenario is not mentioned in the command or API description within this document, it indicates that the product does not support that scenario, and no such support is currently planned.
- In the "Support by Deployment Scenario" table in this document, Y means "supported", N means "not supported", and NA means "not applicable", indicating that the scenario is not planned.
Table 1 Deployment Scenario Definitions and Descriptions
Usage Precautions
-
Before using this tool, ensure that the driver has been installed. hccn_tool is installed by default during driver installation. After the installation is complete, hccn_tool is stored in /usr/bin/ symbolic link. The actual path is /usr/local/Ascend/driver/tools.
-
If hccn_tool needs to be used in the container, mount /usr/bin/hccn_tool of the host machine to the container. For details, see "Installation and Uninstallation in a Container" > "Installation Scenarios" > "Host Directory Mounted to the Container" in the Atlas 350 Accelerator Card 25.7.RC1 NPU Driver and Firmware Installation Guide of the corresponding version.
-
hccn_tool does not support Ascend virtual instances.
-
Ascend 950 now provides significantly more NPU ports. However, the legacy hccn_tool can manage only a single port per NPU. It no longer meets the requirements. Therefore, based on network management objects, the next-generation hccn_tool has been reconstructed and optimized to manage multiple ports and network devices. Network management objects are indexed according to categories, as shown in Table 1.
Table 1 Categories of network management objects