The following example shows how to enable conditional debugging on a specific VCI. Note that when you enable conditional debugging
on a specific VCI alone, the VPI value is automatically set to 0.
Router# debug condition interface atm 1/0 vc 4335
Condition 1 set
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface atm 1/0
Router(config-if)# pvc 4335
Router(config-if-atm-vc)# end
Router#
*Jul 12 21:46:52.487: atmdx_setup_vc(ATM1/0): vc=5, vpi=0, vci=4335, config_status=0
*Jul 12 21:46:52.487: atmdx_setup_cos(ATM1/0): vc=5, wred_name=, max_q=0
*Jul 12 21:46:52.487: ATM VC Debug: Condition 1, atm-vc 0/4335 AT1/0 triggered, count 1
*Jul 12 21:46:52.487: ATM1/0 Current Active VC count 4
*Jul 12 21:46:52.487: ATM VC notification event 0
*Jul 12 21:46:52.487: atmdx_platform_set_vc_state(ATM1/0): Setting the VC 5 state to UP
*Jul 12 21:46:52.487: ATM: PVC activated, ATM1/0 VCD 5 (0/4335)
*Jul 12 21:46:52.487: ATM VC notification event 2
*Jul 12 21:46:52.487: %SYS-5-CONFIG_I: Configured from console by console
Router# show atm vc
Codes: DN - DOWN, IN - INACTIVE
VCD / Peak Av/Min Burst
Interface Name VPI VCI Type Encaps SC Kbps Kbps Cells St
1/0 1 0 16 PVC ILMI UBR 149760 UP
1/0.10 4 0 100 PVC SNAP UBR 149760 UP
1/0 5 0 4335 PVC SNAP UBR 149760 UP
1/0.1 one 1 40 PVC SNAP UBR 149760 UP
1/0 2 3 100 PVC-A SNAP VBR 1000 1000 0 IN
4/ima1 1 23 34 PVC SNAP UBR 0 IN