刀箱:H3C B16000/UIS 9000
交换网板:以太网板、FC网板、融合网板均适用
如何收集自研刀箱 H3C B16000/UIS9000 交换网板收集日志?
日志需要包含配置信息、端口信息、log buffer信息等,一般收集以下3个日志即可。
1、diag_XXXX.tar.gz
2、diagfile文件夹下的日志
3、logfile文件夹下的日志
1、通过OM 串口命令登录网板交换模块,下面的 io 2代表第二个网板模块,用户环境以实际槽位为准。
[Input ~. Exit from Currnet Command View.]
Begin to edit commands.
******************************************************************************
* Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner"s prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
%Dec 30 08:15:02:036 2019 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.
2、进入system-view模式
System View: return to User View with Ctrl+Z.
3、交换网板开启ftp server服务,并创建拥有ftp权限的管理员账号admin,以下示例中admin密码为password
[H3C]ftp server enable
[H3C]local-user admin
[H3C-luser-manage-admin]password simple password
[H3C-luser-manage-admin]service-type ssh
[H3C-luser-manage-admin]service-type ftp
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C]display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:y
Please input the file name(*.tar.gz)[flash:/diag_H3C_20191227-062136.tar.gz]:
Diagnostic information is outputting to flash:/diag_H3C_20191227-062136.tar.gz.
Please wait.../%Dec 27 06:21:57:605 2019 H3C FTP/6/OPER: User admin@10.12.179.201 changed directory to flash:/logfile.
Save successfully.
4、使用filezilla或者其他ftp工具登录交换网板的管理IP,获取以下三个日志:
1)diag_XXXX.tar.gz
2)diagfile文件夹下的日志
3)logfile文件夹下的日志
filezilla工具登录方式:
收集以下3个日志即可:
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作