由于SCP配置错误、交换机日志收集失败
适用场景
- ONTAP 9
- Cisco集群交换机
- 交换机运行状况监控器日志收集
问题描述
- 根据NetApp文档、为Cisco集群交换机配置了交换机日志收集
- 尝试运行交换机日志收集时、会观察到以下错误:
Log Collection Enabled: true
Index Switch Log Timestamp Status
------ ------------------------------------ ------------------- -------------
1 CISCO-CS-01(FOCXXXXXXXX) - switch password error
2 CISCO-CS-02(FOCYYYYYYYY) - switch password error
2 entries were displayed.
- 要 在交换机上启用SCP和SSH、需要执行故障排除
- 在交换机上启用SCP和SSH后尝试收集交换机日志时显示以下错误:
CLUSTER::> system switch ethernet log show
Log Collection Enabled: true
Index Switch Log Timestamp Status
------ ------------------------------------ ------------------- -------------
1 CISCO-CS-01(FOCXXXXXXXX) - switch log scp error
2 CISCO-CS-02(FOCYYYYYYYY) - switch log scp error
2 entries were displayed.
- 重新配置日志收集后、系统会显示错误"Pre-existing log found":
CLUSTER::> system switch ethernet log show
Log Collection Enabled: true
Index Switch Log Timestamp Status
------ ------------------------------------ ------------------- -------------
1 CISCO-CS-01(FOCXXXXXXXX) - pre-existing log found
2 CISCO-CS-02(FOCYYYYYYYY) - pre-existing log found
2 entries were displayed.
- 删除已有日志后、""
switch log scp error
仍会保留。