---
title: 配置device ip时报错“Failed to check the route network segment in the config file”-昇腾社区
description: 删除旧驱动完成驱动固件升级后，Atlas 800 9000配置device ip时报错“Failed to check the route network segment in the config file. Cmd execute failed!”；  查看/var/log/hccn_tool/hccn.log日志显示“hccn tool execution failed!”。
keywords: --
url: https://www.hiascend.com/document/caselibrary/detail/case_9541
section: (其他)
---

# 配置device ip时报错“Failed to check the route network segment in the config file”-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/case_9541
描述: 删除旧驱动完成驱动固件升级后，Atlas 800 9000配置device ip时报错“Failed to check the route network segment in the config file. Cmd execute failed!”；  查看/var/log/hccn_tool/hccn.log日志显示“hccn tool execution failed!”。
关键词: --

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

配置device ip时报错“Failed to check the route network segment in the config file”

配置device ip时报错“Failed to check the route network segment in the config file”

2024/02/21

1.8k

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 模型训练 | PyTorch | -- |

#### 问题现象描述

删除旧驱动完成驱动固件升级后，Atlas 800 9000配置device ip时报错“Failed to check the route network segment in the config file. Cmd execute failed!”；

查看/var/log/hccn_tool/hccn.log日志显示“hccn tool execution failed!”。

#### 原因分析

- 可能是/etc/hccn.conf配置文件中ip和路由不对。
- 可能是/etc/hccn.conf配置文件缺失。
- 可能是/etc/hccn.conf配置文件的格式不对。

#### 排查方法

执行命令cat /etc/hccn.conf，看里面的内容是否符合要求。

#### 解决措施

创建一个空文件/etc/hccn.conf即可。

本页内容

- 问题信息
- 问题现象描述
- 原因分析
- 排查方法
- 解决措施
