Linux 下收集Brocade 300交换机诊断日志

1、管理口IP地址 ping 不通

1、检查链路和本地PC的IP地址,检查无误,现象依旧;
2、用串口线登录交换机是否可以登录,结果显示登录正常;
3、用串口线登录交换机,执行命令: ipaddrshow 再次确认管理口IP地址;
4、用串口线登陆,运行"hareboot"命令,执行完命令后,管理口恢复正常,可以ping 通,问题解决。
说明:只是进行交换机内部主/备分区的切换,不影响生产。

2、在Linux下收集交换机日志

[root@localhost ~]# ssh admin@192.168.10.84 | tee /192.168.10.84.log
admin@192.168.10.84's password:
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.

Password was not changed. Will prompt again at next login
until password is changed.
LB-SW2:admin> supportshow


# 详情省略 。。。


db 0/0/0 dbg set extshow filter 1  :
Changing filterportshow output old: Brief(0), new: Extended(1)
Command Completed

Fri Sep  3 08:30:30 UTC 2021
**** End start_fc_port_cmd group ****
**** Begin start_enclosure_cmd group ****
Fri Sep  3 08:30:31 UTC 2021
ENCLOSURE INFO: MODEL Not supported on this platform UNIT ID Not supported on this platform LOCATION Not supported on this platform

Fri Sep  3 08:30:32 UTC 2021
**** End start_enclosure_cmd group ****
Please run supportSave if you wish to collect more support information and FTP them off the switch
LB-SW1:admin> exit
logout
Connection to 192.168.10.83 closed.
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注