HP VPN Firewall Appliances Appendix Protocol Reference
Table Of Contents
- Title Page
- Contents
- IP routing basics
- Static routing
- Default route
- RIP
- OSPF
- IS-IS
- BGP
- IPv6 static routing
- IPv6 default route
- RIPng
- OSPFv3
- IPv6 IS-IS
- IPv6 BGP
- Multicast overview
- Multicast routing and forwarding
- IGMP
- PIM
- MSDP
- IPv6 multicast routing and forwarding
- IPv6 PIM
- MLD
- Support and other resources
- Index

33
BGP
The term "router" in this document refers to both routers and routing-capable firewalls and firewall
modules.
Border Gateway Protocol (BGP) is an exterior gateway protocol. It is called internal BGP (IBGP) when it
runs within an AS and called external BGP (EBGP) when it runs between ASs.
The current version in use is BGP-4 (RFC 4271). Unless otherwise stated, BGP refers to BGP-4 in this
document.
BGP has the following characteristics:
• Focuses on route control and the selection rather than route discovery and calculation.
• Uses TCP to enhance reliability.
• Measures the distance of a route by using a list of ASs that the route must travel through to reach the
destination. Therefore, BGP is also called a path-vector protocol.
• Supports classless inter-domain routing (CIDR).
• Reduces bandwidth consumption by advertising only incremental updates. BGP is very suitable to
advertise large numbers of routes on the Internet.
• Eliminates routing loops by adding AS path information to BGP route updates.
• Uses policies to implement flexible route filtering and selection.
• Offers good scalability.
BGP speaker and BGP peer
A router running BGP is a BGP speaker. A BGP speaker establishes peer relationships with other BGP
speakers to exchange routing information over TCP connections.
BGP peers include the following types:
• IBGP peers—Reside in the same AS as the local router.
• EBGP peers—Reside in different ASs from the local router.
BGP message types
BGP uses the following types of messages:
• Open—After establishing a TCP connection, BGP sends an Open message to establish a session
with the peer.
• Update—BGP sends update messages to exchange routing information between peers. Each
update message can advertise a group of feasible routes with identical attributes and multiple
withdrawn routes.
• Keepalive—BGP sends Keepalive messages between peers to maintain connectivity.
• Route-refresh—BGP sends a Route-refresh message to request the routing information of a specified
address family from a peer.