初始化
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
在“OLT管理”页面新增“环路检测”按钮,点击后可以检测所有OLT设备是否有环路,并在列表新增一列环路检测列,如果设备有环路,则显示环路的详细信息。环路检测的逻辑如下。
|
||||
1. 连接OLT并使用命令 `display loopback-detection` 查看
|
||||
2. OLT返回结果表明loopback-detection已启用环路检测功能
|
||||
3. 返回 `No loop is detected.`则说明设备正常,没有环路。如果返回“Loop is detected on following interfaces”,就说明有环路了。(可以参考下面返回的结果)
|
||||
4. 如果是有环路的情况,通过查找当前OLT的端口来确认MAC地址,比如OLT返回“Onu3/0/7:10 ”,就查找这个端口的MAC地址然后列出这个MAC的区域、学校、楼宇、房间号等信息。
|
||||
|
||||
```
|
||||
# 有环路的情况OLT返回的结果
|
||||
<7503OLT>display loopback-detection
|
||||
Loop detection is enabled.
|
||||
Global loop detection interval is 35 second(s).
|
||||
Loop is detected on following interfaces:
|
||||
* indicates the loop protection action was not triggered.
|
||||
Interface Action mode VLANs/VSI
|
||||
Onu3/0/7:10 Shutdown 3000
|
||||
```
|
||||
|
||||
```
|
||||
# 没有环路的情况OLT返回的结果
|
||||
<8OLT>display loopback-detection
|
||||
Loop detection is enabled.
|
||||
Global loop detection interval is 35 second(s).
|
||||
No loop is detected.
|
||||
```
|
||||
|
||||
在设备列表页面的设备详情页面中新增一个“更新”按钮,点击后可以单独更新这个MAC的设备状态,流程如下:
|
||||
1. 通过SSH连接这个MAC所属的OLT
|
||||
2. 执行命令 `display onu slot 1 | include 1484-778e-a860`,也就是 `display onu slot {槽位} | include {MAC}`
|
||||
3. OLT返回内容`1484-778e-a860 4 12414 Onu1/0/2:4 WA6520H-EGPON/A 106/ Up N/A`,分析返回的内容来更新设备状态和距离。
|
||||
|
||||
|
||||
设备管理页面的“全部更新”按钮和OLT管理页面的“快速扫描”按钮现在都无法正常使用了,全部更新按钮点击后所有OLT设备都是失败的,快速扫描按钮报错'CheckService' object has no attribute 'scan_and_discover'。
|
||||
|
||||
设备管理页面的设备详情中的“更新”按钮有点问题,点击后他获取的设备信息都是离线的,但是点击“全部更新”后,设备是在线的,说明这个更新按钮有点问题。
|
||||
Reference in New Issue
Block a user