交换机的调试模块
terminal ?
debugging Enable to display debugging logs on the current terminal
logging Display logs on the current terminal
monitor Enable to display logs on the current terminal
terminal debugging 命令用来开启当前终端对调试信息的显示功能。
undo terminal debugging 命令用来关闭当前终端对调试信息的显示功能。
terminal monitor 命令用来允许日志信息输出到当前终端。
undo terminal monitor 命令用来禁止日志信息输出到当前终端。
terminal logging level 命令用来配置当前终端允许输出的日志信息的最低级别。
undo terminal logging level 命令用来恢复缺省情况。
debugging 命令用打开指定模块的调试开关。
undo debugging 命令用来关闭指定模块的调试开关。
测试调试icmp报文:
terminal debugging #开启调试开关
The current terminal is enabled to display debugging logs.
terminal monitor #将调试日志输出到终端
The current terminal is enabled to display logs.
debugging ip icmp #调试icmp报文
交换机的调试模块
undo debugging all #关闭所有调试
All possible debugging has been turned off.