How to enable the debugging switch

关键词:
问题描述

Q: How to enable the debugging switch?

A:

1. Old command line - VRP1.4\VRP1.5\VRP1.6

In configuration mode Quidway(config)#
Input:

Quidway(config)#logging on

Quidway(config)#logging con  (This command is enough in case of Console port. The logging mon command is also needed in case of Telnet.)
quidway#debug ppp packet

Common debugging switches:
> debug isdn q921
> debug isdn q931
> debug isdn cc (may not exist; does not matter)
After debugging, disable the debugging switch to save system resources!


2. New command line VRP1.74
Process:
[Router]info-center enable
Console port:
[Router]info-center console
[Router]info-center console debug
Telnet:
[Router]info-center monitor
[Router]info-center monitor debug
Take the debugging of PPP (link layer protocol) packets as an example:
[Router]debugging ppp packet

Note:
1. In privilege mode, the display debug command can be used to see which debugging switches are enabled.
2. Enabling the debugging switch may affect the router performance to some extent. Therefore, disable the debugging switch promptly after debugging by using the command [Router]undo debug all or pressing Ctrl+D.

 

3.New command line VRP3.3

ter mon

ter debug

*************************************

How to enable the PPP debugging switch on the NE80 8011

debug lpu slotnum ppp subcardnum portnum

term debug

term monitor

set moni chan con

************************************* 

案例信息

案例类型:FAQ
案例号:KMS - 12762
创建时间:2007年9月26日
更新时间:2007年11月1日
发布时间:2007/11/1 3:47:29
文章密级:游客可见
有效期:长期有效
发布者:冷志宇 [l05092]
点击次数:498
评论平均得分:0
关键词:
产品线:中低端路由器
产品系列:
产品版本:

常用操作
收藏