Professional Documents
Culture Documents
WPS3-02-02 BGP Routing Protocol ISSUE1.0 - 20061229 - A
WPS3-02-02 BGP Routing Protocol ISSUE1.0 - 20061229 - A
WPS3-02-02 BGP Routing Protocol ISSUE1.0 - 20061229 - A
BGP only
AS1 AS2
AS3
AS4
AS5 AS7
AS6
RTA RTE
AS100 AS300
EBGP
EBGP
IBGP
RTB RTD
AS200
RTC
E0:10.1.1.1/24
AS100 RTA
AS300
S0 RTF
EBGP EBGP
IBGP
RTB
S1
RTE
RTC
RTD
AS200
AS200
18.0.0.1/8
OSPF
RTB
AS200
18.0.0.1/8
OSPF
RTB
AS200
18.0.0.1/8
RTB
Marker(16 byte)
Version(1byte)
My Autonomous System
(2byte)
Hold Time (2byte)
Marker(16 byte)
Error Code 1 2 3 4 5 6
Others Start
TCP connection setup
Open-sent Idle
Error
Correct OPEN
packet received Error Error
Well-known mandatory
Well-known discretionary
Optional transitive
Optional nontransitive
Well-known discretionary
Destination Pref (MCI)
Local-Preference
Advertiser (Baynet)
Atomic-Aggregate
Rcid-Path (Baynet)
MP_Reach_NLRI
Optional transitive
MP_Unreach_NLRI
Aggregator
Extended_Communities
Community
D (500 200)
AS300
D(18.0.0.0/8)
AS200
AS400 RTA
30.0.0.1
D (500 200,200,200)
AS200
RTC
RTA 10.0.0.1
18.0.0.0/8
AS100 21.0.0.2
10.0.0.2 IBGP
EBGP
IBGP
20.0.0.0/8
21.0.0.1 10.0.0.3
RTD
19.0.0.0/8
RTB
RTA
I can reach 18.0.0.0/8 via the next hop10.0.0.2
I can reach 20.0.0.0/8 via the next hop 10.0.0.3
RTC
I can reach 19.0.0.0/8 via the next hop 21.0.0.1
I can reach 19.0.0.0/8 via the next hop 10.0.0.1
RTB I can reach 20.0.0.0/8 via the next hop 10.0.0.3
I can reach 18.0.0.0/8 via the next hop 10.0.0.2
I can reach 20.0.0.0/8 via the next hop 10.0.0.3
RTF
AS200 AS300
RTD 30.0.0.1 20.0.0.1 RTE
RTA
D , local-pref1 100
D , local-pref2 200 RTA will select local-pref2 that has higher local preference
D,metric1 10
D,metric2 20
RTA
30.0.0.1 20.0.0.1
D,metric1 10 D,metric2 20
30.0.0.2 20.0.0.2
RTB RTC
IBGP
D(18.0.0.0/8)
AS200
1. If the next hop of this route is unreachable, this route is not selected.
2. Select the route with a higher local preference.
3. Select the originated route by the local router (same local
precedence).
4. Select the route with shortest AS path.
5. Select the route with lowest origin code (IGP lower than EGP, EGP
lower than Incomplete ).
6. Select the route with smallest MED .
7.Performing load sharing on multiple routes according to the
configured number of routes (in case load sharing is configured and
there are multiple external routes to the same AS)
8. Select the route with smallest Router ID .
Feature of BGP
Principle of BGP