路由器调试中输出调试信息的方法

1.5如何输出调试信息【路由器调试中输出调试信息的方法】debug是设备调试,排错中非常重要也非常有效的手段 。缺省下调试信息输出是关闭的,需要用命令将其打开 。使用debug调试设备需要对网络协议和Quidway产品相对熟悉的情况下使用 。
过程:首先输入
[Router]info-center enable
使用console配置口时,输入:
[Router]info-center console
[Router]info-center console debug
使用远程telnet时,输入:
[Router]info-center monitor
[Router]info-center monitor debug
此处以调试链路层协议ppp数据包为例
[Router]debugging ppp packet
『注重』
1.特权模式下debug;可以从display debug看出现在有哪些调试开关是打开的
2.调试开关打开,对路由器性能会有相应程度的影响,所以用后请及时关闭调试信息:
[Router]undo debug all,或者ctrl d亦可
;;附件
输出调试信息.pdf

    推荐阅读