ensp_health_check
Check a Huawei eNSP device's health to diagnose session, interface, OSPF, and route problems, then return a structured report with fix suggestions.
Instructions
对设备进行全面健康检查,自动诊断异常。
检查项:
会话状态(连接是否正常)
设备元信息(VRP 版本、型号)
接口状态(物理/协议状态,自动诊断 down 的接口)
OSPF 邻居状态(可选,需
check_ospf=True)路由表完整性(可选,需
check_routes=True)
返回结构化诊断报告,包含每个检查项的 issues 列表和修复建议。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_ospf | No | ||
| check_routes | No | ||
| expected_routes | No | ||
| session_id_or_name | Yes | ||
| expected_up_interfaces | No | ||
| expected_ospf_neighbors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||