Dell PowerConnect 交换机日志收集

Dell PowerConnect 系列以太网交换机(如 5524、6224、6248、7048、8024)的日志通过命令行收集。推荐用 Windows 自带的 Telnet 客户端加 -f 参数,把整个会话输出直接写入文本文件。

收集步骤

  1. 确认交换机已配置管理 IP,笔记本能 ping 通;Windows 7 及以后需先在“启用或关闭 Windows 功能”中安装 Telnet 客户端。
  2. 打开命令提示符,指定输出文件并连接交换机:

    C:\> telnet -f D:\SwitchLog.txt 192.168.1.1
    telnet -f 记录会话输出
  3. 登录后执行 show tech-support,输出较长时按空格翻页,直到全部输出完毕。

    执行 show tech-support
  4. 如需单独补充信息,可再执行:

    console# show system
    console# show running-config
    console# show vlan
    console# show ip interface
    console# show spanning-tree
    console# show interfaces status
    console# show logging
    console# show stack-port
  5. 输入 exit 退出后,D:\SwitchLog.txt 即为日志文件。

为避免翻页,可先执行 terminal length 0(部分固件版本支持)。running-config 中含有账户的加密口令,发送前可按需删除这些行。

没有找到想要的答案?

上传日志让 AI 帮你诊断,或者在控制台里直接向 AI 提问。