更新时间:2023-12-08                  
                  
                  1.背板端口诊断配置命令
1.1 配置背板端口诊断命令
端口镜像配置命令有:
-  link-diagnostic
-  show link-diagnostic
 
1.1.1 link-diagnostic
命令描述 
    
[no] link-diagnositc enable {all | slot slot-map } isolation-enable
[no]link-diagnositc chassis chassis-number enable {all | slot slot-map } isolation-enable
 
配置背板端口检测。
参数  
| 参数 | 参数说明 | 
| all | 机框内所有槽位 | 
| slot-map | 槽位列表 | 
| Isolation-enable | 设备检测到芯片转发故障后,隔离一对故障端口 | 
| chassis-number | 堆叠模式下设备号 | 
缺省 
无
说明 
在配置模式下配置该命令 。
示例
配置非堆叠模式所有槽位背板端口检测。
Switch_config#link-diagnostic enable all
 
1.1.2 show link-diagnostic
命令描述 
    
show link-diagnostic
显示背板端口检测信息。
参数  
无
缺省 
无
说明 
使用该命令显示背板端口检测信息 。
示例
显示背板hg端口检测信息
Switch#show link-diagnostic
         Link Diag Info
----------------------------------
Status : l - local     r - remote
           D - down      P - ccm check
slot 5: hg-info :
 num     unit    port    rslot   runit   rport   status
 1        0       56       23      0        24       OK      
slot 9: hg-info :
 num     unit    port    rslot   runit   rport   status
 1        0       57       23      0        8       OK      
 2        0       59       23      0        7       OK