Print

交换机常见debug信息有哪些?

2025-02-25 发表

问题描述

交换机常见debug信息有哪些?

解决方法

收集debug信息需要开启<sys>terminal debugging 、<sys>terminal monitor、[sys]info-center enable 才会有回显,如遇到debug没有回显的情况,需要先检查是否开启上述开关。

注意:下述均已debug所有信息的方式进行,实际场景中,如有大量的报文,请自行加上ACL或接口进行过滤,减少回显打印。

1、认证类问题

1)portal认证

debugging portal all 

debugging radius all

debugging port-security all 

debugging http-redirect all (重定向有问题时收集即可)

2)802.1x认证

debugging dot1x all

debugging radius all

debugging port-security all 

3)mac认证

debugging mac-authentication all 

debugging radius all

debugging port-security all 

 

2、直连不通问题

debugging arp  packet 

debugging ip packet 

 

3、动态聚合接口不选中

debugging link-aggregation lacp packet all 

 

4、dhcp相关

debugging dhcp server all 

debugging dhcp relay all 

debugging dhcp client all