HP Comware 5 Debug Manual Vol 3

Field
Description
LogID: logid Log ID.
Version: version Version information included in Hello packets.
Table 2 describes output fields and messages for the debugging dhbk state event command.
Table 221 Output from the debugging dhbk state event command
Field
Description
Action: Update DHBK state,
current state: curr-state; next
state: next-state.
The hot backup state was updated.
curr-stateCurrent hot backup state.
next-state—Hot backup state after update.
Send Hello packet too
frequently, ignore it.
The Hello packet will not be sent this time because it has been sent too
frequently.
Table 3 describes output fields and messages for the debugging dhbk state error command.
Table 222 Output from the debugging dhbk state error command
Field
Description
Failed to append information to
message, OID: oid.
DHBK failed to append information to the message. oid refers to object ID.
DHBK was not initialized when
module registered to it, MID:
mid.
DHBK had not completed initialization when the service module registered
with it.
Examples
# Enable stateful failover state event debugging when the stateful failover enters Synchronize state. Then,
enable stateful failover again, and change the backup type.
<Sysname> debugging dhbk state event
*Aug 6 14:30:55:312 2007 H3C DHBK/4/EVENT:
Enable DHBK function when it was enabled, Old BackupType: 2; new BackupType: 1.
*Aug 6 14:30:55:312 2007 H3C DHBK/4/EVENT:
Action: Print log, LogID: 0x2921005; BackupType: 1.
*Aug 6 14:30:55:312 2007 H3C DHBK/4/EVENT:
Begin to notify modules, Event: 3; BackupType: 1.
// The backup type was changed from 2 (supports asymmetric path) to 1 (does not support asymmetric
path). The log 0x2921005 was printed, and the change to backup type 1 was notified to the registered
module.
# Enable state debugging for Hello packets when stateful failover enters Synchronize state.
<Sysname> debugging dhbk state hello
*Aug 6 14:33:39:875 2007 H3C DHBK/4/HELLO PKT:
Version of Hello packet is the same with local's.
*Aug 6 14:33:39:875 2007 H3C DHBK/4/HELLO PKT:
Action: Clear Hello counter, count: 1.
// The received Hello packet had a matching version, and the Hello packet counter was reset. The
number of Hello packets before reset was 1.
434