Formats Of Bgp Messages - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

A router advertising BGP messages is called a BGP speaker. It establishes peer relationships with other
BGP speakers to exchange routing information. When a BGP speaker receives a new route or a route
better than the current one from another AS, it will advertise the route to all the other BGP peers in the
local AS.
To simplify configuration, multiple peers having an identical policy can be organized as a peer group.
BGP runs on a router in either of the following two modes:
iBGP (internal BGP)
eBGP (external BGP)
BGP is called iBGP when it runs within an AS and is called eBGP when it runs between ASs.

Formats of BGP Messages

Header
BGP has five types of messages:
Open
Update
Notification
Keep-alive
Route-refresh
They have the same header, as shown below:
Figure 1-1 BGP message header
Marker: The 16-byte field is used to delimit BGP messages. The Marker must be all ones.
Length: The 2-byte unsigned integer indicates the total length of the message.
Type: This 1-byte unsigned integer indicates the type code of the message. The following type
codes are defined: 1–Open, 2-Update, 3-Notification, 4–Keepalive, and 5–Route-refresh. The
former four are defined in RFC1771, and the last one is defined in RFC2918.
Open
After a TCP connection is established, the first message sent by each side is an Open message for peer
relationship establishment. An Open message contains the following fields:
1-2

Advertisement

Chapters

Table of Contents
loading

Table of Contents