HP Comware 5 Debug Manual Vol 1

Examples
# Enable call-watch event debugging, and enable terminal monitoring. Output similar to the following
example is generated when VLAN interface 111 is shut down under the following conditions exist:
Interface T1 2/0 is associated with call-watch group 1.
Call-watch group 1 monitors VLAN interface 111.
<Sysname> debugging call-watch event
<Sysname> terminal debugging
<Sysname> terminal monitor
Output similar to the following messages is generated when you shut down VLAN interface 111:
<Sysname> system-view
[Sysname] interface vlan-interface 111
[Sysname-Vlan-interface111] shutdown
[Sysname-Vlan-interface111]
%May 28 16:49:54:933 2008 Sysname IFNET/4/LINK UPDOWN:
Vlan-interface111: link status is DOWN
%May 28 16:49:54:933 2008 Sysname IFNET/4/UPDOWN:
Line protocol on the interface Vlan-interface111 is DOWN
%May 28 16:49:54:933 2008 Sysname IFNET/4/LINK UPDOWN:
T1 2/0: link status is DOWN
// The states of VLAN interface 111 and interface T1 2/0 changed to down.
*0.34919499 Sysname CW/7/debug2:
Call-Watch debug information: Call-Watch group 1 contains the interface
Vlan-interface111
Call-Watch debug information: Vlan-interface111 link-protocol is DOWN
*0.34919499 Sysname CW/7/debug2:
Call-Watch debug information: Call-Watch group 1 from UP to DOWN
*0.34919499 Sysname CW/7/debug2:
Call-Watch debug information: controller T1 2/0 state change to WATCH-OUT
*0.34919499 Sysname CW/7/debug2:
Call-Watch debug information: controller T1 2/0 associate group 1
Call-Watch debug information: controller T1 2/0 state from No-Watch-Out to Watch-Out
// The state of call-watch group 1 changed from up to down, and the state of interface T1 2/0
changed from No-Watch-Out to Watch-Out.
Output similar to the following messages is generated when you bring up VLAN interface 111:
[Sysname-Vlan-interface111] undo shutdown
[Sysname-Vlan-interface111]
%May 28 16:50:07:987 2008 Sysname IFNET/4/LINK UPDOWN:
Vlan-interface111: link status is UP
%May 28 16:50:07:987 2008 Sysname IFNET/4/UPDOWN:
Line protocol on the interface Vlan-interface111 is UP
// The state of VLAN interface 111 changed to up.
*0.34932553 Sysname CW/7/debug2:
Call-Watch debug information: Call-Watch group 1 contains the interface
Vlan-interface111
Call-Watch debug information: Vlan-interface111 link-protocol is UP
*0.34932553 Sysname CW/7/debug2:
Call-Watch debug information: Call-Watch group 1 from DOWN to UP
299