1022 CHAPTER 73: BGP DEBUGGING COMMANDS

Table 227 Description on the fields of the debugging bgp open command

Field

 

 

Description

 

 

 

 

 

 

Version: X

 

 

BGP protocol version

 

Local AS: X

 

 

Local AS number

 

OPT Type:

2 (Capability)

Capability negotiation

 

CAP Type:

1 (Multiprotocol) CAP Len: 4

Multiprotocol capability: afi: 1; safi: 1

 

IPv4-UNC (1/1)

 

Capable of route-refresh

 

CAP Type: 2 (RouteRefresh) CAP Len: 0

 

 

Total CAPB Len

: X

Total capability length

 

Total OPT Len

: X

Total optional parameter length

 

 

 

Table 228 Description on the fields of the debugging bgp refresh command

 

 

 

 

 

 

Field

 

 

Description

 

 

 

 

 

 

AFI/ SAFI

 

 

Address family/sub-address family

 

WTR

 

 

(When to Refresh) Wait delay for sending

 

 

 

 

refresh messages

 

 

 

 

 

 

For details about UPDATE message debugging information, refer to the following section.

Examples # Display the debugging information about all the BGP messages received and sent, including Open, Keepalive, Update, and Route-refresh, while Device A and Device B are establishing a BGP peer relationship with each other.

<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

*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

Page 1022
Image 1022
3Com MSR 30 Information about the sent BGP Open message, Description on the fields of the debugging bgp open command, Wtr