362
C
HAPTER
33: BGP C
ONFIGURATION
The BGP is called IBGP when it runs in an AS and EBGP when it runs among
different ASs.
BGP Message Types
BGP is driven by messages, which include the following types:
■
Type 1, OPEN: The first message sent after the creation of a connection to
create association between BGP peers.
■
Type 2, UPDATE: The most important information in BGP system used to
exchange routing information between peers. It is composed of up to three
parts, that is, unreachable route, path attributes and network layer reachable
information (NLRI).
■
Type 3, NOTIFICATION: Used to notify errors.
■
Type 4, KEEPALIVE: Used to check connectivity.
■
Type 5, ROUTE-REFRESH: Used to advertise its own route refreshing capability.
The first four types are defined in RFC1771, while the last one is in RFC2918
(Route Refresh Capability for BGP-4).
BGP Routing Mechanism
On the first startup of the BGP system, the BGP router exchanges routing
information with its peers by transmitting the complete BGP routing table, after
that only Update messages are exchanged. In the operating of the system,
keepalive messages are received and transmitted to check the connections
between various neighbors.
The router transmitting BGP messages is called a BGP speaker, which receives and
generates new routing information continuously and advertises the information to
the other BGP speakers. When a BGP speaker receives a new route from another
AS, it will advertise the route, if the route is better than the currently known route
or is a new route, to all the other BGP speakers in the AS.
BGP speakers among which messages are exchanged are peers to one another.
Multiple related peers compose a peer group.
Route advertisement policy
In the implementation of Switch 8800 Family series, these policies are used by BGP
when advertising routes:
■
If there are multiple routes available, a BGP speaker only selects the optimum
one.
■
A BGP only advertises its own route to its peers.
■
A BPG advertises the routes obtained from EBGP to all its BGP peers (including
EBGP and IBGP peers).
■
A BGP speaker does not advertise the routes obtained from IBGP to its IBGP
peers.
■
A BGP speaker advertises the routes obtained from IBGP to its IBGP peers (In
3Com Switch 8800 Family series, BGP and IGP are asynchronous.)
■
Once the connection is set up, a BGP speaker will advertise all its BGP routes to
its peers.
Summary of Contents for Switch 8807
Page 14: ......
Page 32: ...32 CHAPTER 2 COMMAND LINE INTERFACE...
Page 50: ...50 CHAPTER 5 MANAGEMENT INTERFACE CONFIGURATION...
Page 54: ...54 CHAPTER 6 CONFIGURATION FILE MANAGEMENT...
Page 64: ...64 CHAPTER 8 SUPER VLAN CONFIGURATION...
Page 70: ...70 CHAPTER 9 ISOLATE USER VLAN CONFIGURATION...
Page 78: ...78 CHAPTER 10 IP ADDRESS CONFIGURATION...
Page 82: ...82 CHAPTER 11 IP PERFORMANCE CONFIGURATION flag ACK window 16079...
Page 100: ...100 CHAPTER 13 ETHERNET PORT CONFIGURATION...
Page 114: ...114 CHAPTER 15 PORT ISOLATION CONFIGURATION...
Page 158: ...158 CHAPTER 18 DIGEST SNOOPING CONFIGURATION...
Page 162: ...162 CHAPTER 19 FAST TRANSITION...
Page 219: ......
Page 220: ...220 CHAPTER 24 VLAN ACL CONFIGURATION...
Page 234: ...234 CHAPTER 25 802 1X CONFIGURATION...
Page 284: ...284 CHAPTER 28 IP ROUTING PROTOCOL OVERVIEW...
Page 290: ...290 CHAPTER 29 STATIC ROUTE CONFIGURATION...
Page 338: ...338 CHAPTER 31 OSPF CONFIGURATION...
Page 392: ...392 CHAPTER 33 BGP CONFIGURATION...
Page 404: ...404 CHAPTER 34 IP ROUTING POLICY CONFIGURATION...
Page 406: ...406 CHAPTER 35 ROUTE CAPACITY CONFIGURATION...
Page 408: ...408 CHAPTER 36 RECURSIVE ROUTING CONFIGURATION...
Page 416: ...416 CHAPTER 37 IP MULTICAST OVERVIEW...
Page 430: ...430 CHAPTER 39 IGMP SNOOPING CONFIGURATION...
Page 454: ...454 CHAPTER 42 IGMP CONFIGURATION...
Page 462: ...462 CHAPTER 43 PIM DM CONFIGURATION...
Page 506: ...506 CHAPTER 46 MBGP MULTICAST EXTENSION CONFIGURATION...
Page 528: ...528 CHAPTER 48 MPLS BASIC CAPABILITY CONFIGURATION...
Page 632: ...632 CHAPTER 51 MPLS VLL...
Page 652: ...652 CHAPTER 52 VPLS CONFIGURATION...
Page 666: ...666 CHAPTER 53 VRRP CONFIGURATION...
Page 680: ...680 CHAPTER 56 ARP TABLE SIZE CONFIGURATION...
Page 718: ...718 CHAPTER 59 NETSTREAM CONFIGURATION...
Page 728: ...728 CHAPTER 61 POE CONFIGURATION...
Page 736: ...736 CHAPTER 63 UDP HELPER CONFIGURATION...
Page 746: ...746 CHAPTER 64 SNMP CONFIGURATION...
Page 792: ...792 CHAPTER 68 FILE SYSTEM MANAGEMENT...
Page 800: ...800 CHAPTER 69 DEVICE MANAGEMENT...
Page 810: ...810 CHAPTER 70 FTP TFTP CONFIGURATION...
Page 840: ...840 CHAPTER 72 SYSTEM MAINTENANCE AND DEBUGGING...
Page 844: ...844 CHAPTER 74 PACKET STATISTICS CONFIGURATION...
Page 846: ...846 CHAPTER 75 ETHERNET PORT LOOPBACK DETECTION...
Page 860: ...860 CHAPTER 76 QINQ CONFIGURATION...
Page 866: ...866 CHAPTER 77 NQA CONFIGURATION...
Page 876: ...876 CHAPTER 78 PASSWORD CONTROL CONFIGURATION...