Cisco Cisco IOS Software Releases 12.2 B Mode D'Emploi

Page de 39
 
A-9
Cisco Packet Serving Data Node (PDSN) 1.2
OL-3236-02
Appendix A      Using Debug Commands for PDSN Release 1.2
PDSN Debug Commands
Not all of the PDSN debugs are available for these debug conditions. Some of the debug commands 
provide more debug messages when using the MNID trigger condition than the Username condition. 
This is because the Username is not available until after authentication, whereas the MNID is available 
earlier on incoming messages.
Note
These commands are only used for conditional debugs, and not for all types of debugging.
Enabling Debug Conditional Commands
To enable conditional debugging, a trigger condition is set, and then the required PDSN debug 
commands are entered. When the debug condition is triggered, the debug messages will be displayed.
7206-PDSN#debug condition username simulator
Condition 1 set
7206-PDSN#debug cdma pdsn a10 ahdlc packet
CDMA PDSN A10 AHDLC packet debugging is on
The debugs and conditions can be viewed with the following commands:
7206-PDSN#show debug condition
Condition 1: username simulator (0 flags triggered)
7206-PDSN#show debug
CDMA:
 
CDMA PDSN A10 AHDLC packet debugging is on
Another condition can be enabled as shown:
7206-PDSN#debug condition calling 000000000000001
Condition 2 set
7206-PDSN#show debug condition
Condition 1: username simulator (0 flags triggered)
Condition 2: calling 000000000000001 (0 flags triggered)
Clearing of the debug conditions:
7206-PDSN#no debug condition all
Removing all conditions may cause a flood of debugging messages to result, unless 
specific debugging flags are first removed.
Proceed with the removal of all conditions? [yes/no]: yes
2 conditions have been removed
Or remove only one of the debug conditions:
7206-PDSN#show debug condition
Condition 1: username simulator (0 flags triggered)
Condition 2: calling 000000000000001 (0 flags triggered)
7206-PDSN#no debug condition 1
Condition 1 has been removed
7206-PDSN#show debug condition
Condition 2: calling 000000000000001 (0 flags triggered)
You can enable multiple debug condition triggers at the same time. Additionally, there is no limit to the 
number of simultaneous triggers that you can enable. Performance and ease of use factors may determine 
the optimal maximum number of triggers that you choose to enable.