HP Comware 5 Debug Manual Vol 1

Examples
# Enable debugging for all BGP messages. When a BGP peer relationship is being established, output
similar to the following example is generated:
<Sysname> debugging bgp
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] undo synchronization
[Sysname-bgp] peer 11.1.1.2 group 200
*0.2683484 4945 RM/6/RMDEBUG:
BGP.: 11.1.1.2 Send OPEN, Version: 4
Local AS: 100, HoldTime: 180, Router ID: 192.168.74.1
OPT Type: 2 (Capability)
CAP Type: 1 (Multiprotocol) CAP Len: 4
IPv4-UNC (1/1)
CAP Type: 2 (RouteRefresh) CAP Len: 0
Total CAPB Len : 8
Total OPT Len : 10
Total Message Len : 39
// Information about the sent BGP Open message was displayed.
*0.2683500 4945 RM/6/RMDEBUG:
BGP.: 11.1.1.2 Recv OPEN Length: 39
Version: 4, Local AS: 200, HoldTime : 180,
BGP ID: 192.168.74.2, TotOptLen: 10
OPT Type: 2 (Capability) OPT Len: 8
CAP Type: 1 (Multiprotocol) CAP Len: 4
IPv4-UNC (1/1)
CAP Type: 2 (RouteRefresh) CAP Len: 0
// Information about the received BGP Open message was displayed.
*0.2683500 4945 RM/6/RMDEBUG:
BGP.: 11.1.1.2 Send KEEPALIVE
Length 19
// Information about the sent BGP Keepalive message was displayed.
*0.2683609 4945 RM/6/RMDEBUG:
BGP.: 11.1.1.2 Recv KEEPALIVE
Length: 19
// Information about the received BGP Keepalive message was displayed.
[Sysname-bgp] import-route static
*0.2710031 4945 RM/6/RMDEBUG:
BGP.: Send UPDATE to 11.1.1.2 for following destinations :
Origin : Incomplete
AS Path : 100
Next Hop : 11.1.1.1
MED : 0
178