Upload
randy-dookheran
View
226
Download
0
Embed Size (px)
Citation preview
7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
1/80
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved
www.huawei.com
Internal
ODD010004 BGP
Protocol Design
ISSUE 1.0
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.huawei.com/http://www.pdffactory.com/http://www.pdffactory.com/http://www.huawei.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
2/80
HUAWEI TECHNOLOGIES CO., LTD. Page 1All rights reserved
The border gateway protocol (BGP) has
been developed from BGP1 (initial version
in 1989) to BGP4. As the Internet expands,
BGP functions are increased andstrengthened from the basic routing among
autonomous systems to community,
reflection, confederation, and multi-protocol
extension. The current number of BGP
routes on the Internet has exceeded
100,000 entries. Such a wide deployment
proves that BGP has a powerful support forlarge and complicated networks.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
3/80
HUAWEI TECHNOLOGIES CO., LTD. Page 2All rights reserved
Upon completion this course, you will be able to:
[ Understand the advanced applications of
BGP
[ Optimize the path selection and convergence
time of BGP
[ Understand the network planning of BGP
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
4/80
HUAWEI TECHNOLOGIES CO., LTD. Page 3All rights reserved
Chapter 1Chapter 1 BGP TheoriesBGP Theories
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
5/80
HUAWEI TECHNOLOGIES CO., LTD. Page 4All rights reserved
Chapter 1 BGP TheoriesChapter 1 BGP Theories
Section 1 BGP PrinciplesSection 1 BGP Principles
Section 2 BGP Path AttributeSection 2 BGP Path Attribute
Section 3 Path Selection ProcedureSection 3 Path Selection Procedure
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
6/80
HUAWEI TECHNOLOGIES CO., LTD. Page 5All rights reserved
BGP Principle
l BGP is an external routing protocol for transmission of routing
information among ASs.
l BGP is a path vector protocol, which is a kind of distance vector
protocols.
[ Reliable route update mechanism
[ Rich metric measurement methods
[ Free from loops by protocol design
l Carrying attributes for routes
l Supporting classless inter-domain routing (CIDR)
l Rich route filter and routing policies
BGP OverviewBGP Overview
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
7/80
HUAWEI TECHNOLOGIES CO., LTD. Page 6All rights reserved
BGP Principle
BGP Neighbor RelationBGP Neighbor Relation
EBGPEBGP
RTB
RTC
IBGP
RTA
RTD
RTE
AS 100
AS 200
AS 300
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
8/80
HUAWEI TECHNOLOGIES CO., LTD. Page 7All rights reserved
BGP Principle
l When there are several paths, BGP Speaker selects only the optimal one.
l BGP Speaker notifies only the routes used by itself to neighbor entities.
l Once the connection is established, BGP Speaker notifies its all BGP routes
to new neighbor entities.
l BGP Speaker notifies routes obtained from EBGP to all its neighbor entities
(including EBGP and IBGP).
l BGP Speaker does not notify the routes obtained from IBGP to its IBGP
neighbor entities.
l Whether BGP Speaker notifies the routes obtained from IBGP to its EBGP
neighbor entities depends on the IGP and BGP synchronization.
BGP Route Notification PrinciplesBGP Route Notification Principles
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
9/80
HUAWEI TECHNOLOGIES CO., LTD. Page 8All rights reserved
Chapter 1 BGP TheoriesChapter 1 BGP Theories
Section 1 BGP PrinciplesSection 1 BGP Principles
Section 2 BGP Path AttributeSection 2 BGP Path Attribute
Section 3 Path Selection ProcedureSection 3 Path Selection Procedure
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
10/80
HUAWEI TECHNOLOGIES CO., LTD. Page 9All rights reserved
BGP!"#
l Origin
l AS-Path
l
Next Hopl MED (Multi Exit Discriminator)
l Local-Preference
l Atomic-Aggregate
l Aggregator
l Community
Common BGP AttributeCommon BGP Attribute
l Originator-ID
l Cluster-List
l Destination Pref (MCI)
l Advertiser (Baynet)
l Rcid-Path (Baynet)
l MP_Reach_NLRI
l MP_Unreach_NLRI
l Extended_Communities
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
11/80
HUAWEI TECHNOLOGIES CO., LTD. Page 10All rights reserved
Chapter 1 BGP TheoriesChapter 1 BGP Theories
Section 1 BGP PrinciplesSection 1 BGP Principles
Section 2 BGP Path AttributeSection 2 BGP Path Attribute
Section 3 Path Selection ProcedureSection 3 Path Selection Procedure
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
12/80
HUAWEI TECHNOLOGIES CO., LTD. Page 11All rights reserved
BGP Path Selection Procedure
l BGP skips a route if its next hop is unreachable.
l BGP firstly selects the route of highest Local-Preference.
l BGP selects routes originated by local routers (which have a same priority).
l BGP evaluates the AS path length and selects firstly the shortest path.
l BGP compares the attributes of Origin and selects the path of the lowest attribute
of Origin. The Origin attribute of IGP is lower than that of EGP, and that of EGPlower than Incomplete.
l BGP selects the route of smaller MED.
l BGP selects EBGP prior to than IBGP routes.
l BGP firstly selects the path with shortest IGP metric to the next BGP hop.
l BGP compares the Originator_ID (Router ID if Originator_ID is unavailable) and
selects the path of smaller Originator_ID.
l BGP compares the peer IP address and selects the path with smallest value of IP
address.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
13/80
HUAWEI TECHNOLOGIES CO., LTD. Page 12All rights reserved
Chapter 1Chapter 1 BGP TheoriesBGP Theories
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
14/80
HUAWEI TECHNOLOGIES CO., LTD. Page 13All rights reserved
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Section 1 IBGP/EBGPSection 1 IBGP/EBGP Core DesignCore Design
Section 2 MultiSection 2 Multi--homing Load Balancehoming Load Balance
Section 3Section 3 BGP Route ReflectorBGP Route Reflector
Section 4 BGP ConfederationSection 4 BGP Confederation
Section 5 BGP Community AttributeSection 5 BGP Community Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
15/80
HUAWEI TECHNOLOGIES CO., LTD. Page 14All rights reserved
Questions
l When is BGP needed?
l Is BGP suitable for the current network?
l What are BGP's advantages and disadvantages?
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
16/80
HUAWEI TECHNOLOGIES CO., LTD. Page 15All rights reserved
BGP Network Planning
IBGP/EBGP Core DesignIBGP/EBGP Core Design
IBGP Core Design
EBGP Core Design
(I/E)BGP Core Design
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
17/80
HUAWEI TECHNOLOGIES CO., LTD. Page 16All rights reserved
IBGP Core Design
l BGP selects the path by comparing the IGP metric to the
destination router.
l If the core IGP has several paths to the destination router, BGP
selects the one with the smallest IGP metric and keeps others
in BGP route table in form of copies.
l If the core IGP has several equivalent paths to a destination
router, these paths are used as entries and added to the
routing table for load sharing.
Path SelectionPath Selection
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
18/80
HUAWEI TECHNOLOGIES CO., LTD. Page 17All rights reserved
IBGP Core Design
l IBGP path selection depends on the IGP metric.
l IBGP path convergence time depends on the IGP working mechanism.
Fault and RecoveryFault and Recovery
RT1RT1RT2RT2
RT3RT3 RT4RT4
RT5RT5
RT6RT6
RT7RT7
RT8RT8
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
19/80
HUAWEI TECHNOLOGIES CO., LTD. Page 18All rights reserved
EBGP Core Design
l If there are no policies, EBGP path selection depends on the
two parameters:
[ AS-PATH length
[ Neighbor router ID
Path SelectionPath Selection
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
20/80
HUAWEI TECHNOLOGIES CO., LTD. Page 19All rights reserved
EBGP Core Design
RT2RT2
10.1.2.110.1.2.1
RT3RT3
10.1.3.110.1.3.1
RT4RT4
10.1.4.110.1.4.1
RT5RT510.1.5.110.1.5.1
RT6RT6
10.1.0.110.1.0.1
AS65101AS65101
AS65102AS65102
AS65103AS65103
AS65104AS65104
Route ImportRoute Import
192.168.1.0/24192.168.1.0/24
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
21/80
HUAWEI TECHNOLOGIES CO., LTD. Page 20All rights reserved
EBGP Core Design
l Because physical topology and link bandwidth are invisible to BGP path
selection, a suboptimum route may be selected.
l The path selection can be changed by such policies as MED, Local_Pref,
and AS-PATH list. (Before changing default BGP attributes, you must
completely understand their meanings to avoid side effects.)
Path SelectionPath Selection
RT3192.168.1.0/24R6
RT3192.168.1.0/24R5
192.168.1.0/24R4
RT3192.168.1.0/24R2
Next HopDestination Address/MaskRouter
RT6RT6
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
22/80
HUAWEI TECHNOLOGIES CO., LTD. Page 21All rights reserved
EBGP Core Design
l After disconnection of a BGP session, the update procedure
takes place one hop after another, till all BGPs in all affected
BGP autonomous systems announce that the all routers are
updated.
l The IGP that is unable to respond quickly to network changes
is a little slower in re-convergence. The re-convergence time is
accumulative.
Fault and RecoveryFault and Recovery
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
23/80
HUAWEI TECHNOLOGIES CO., LTD. Page 22All rights reserved
(I/E)BGP Core Design
Path SelectionPath Selection
RT1RT1
RT3RT3
RT4RT4 RT5RT5RT7RT7
RT8RT8
RT9RT9
RT10RT10RT2RT2
RT3RT3 RT6RT6
AS65101AS65101
AS65102AS65102
RT11RT11AS65104AS65104
AS65103AS65103
192.168.2.0/24192.168.2.0/24
192.168.1.0/24192.168.1.0/24
192.168.4.0/24192.168.4.0/24
192.168.4.0/24192.168.4.0/24
AS65100AS65100
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
24/80
HUAWEI TECHNOLOGIES CO., LTD. Page 23All rights reserved
(I/E)BGP Core Design
Path SelectionPath Selection
RT1RT1
RT3RT3
RT4RT4 RT5RT5RT7RT7
RT8RT8
RT9RT9
RT10RT10RT2RT2
RT3RT3 RT6RT6
AS65101AS65101
AS65102AS65102
RT11RT11AS65104AS65104
AS65103AS65103
AS65100AS65100
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
25/80
HUAWEI TECHNOLOGIES CO., LTD. Page 24All rights reserved
(I/E)BGP Core Design
Fault and RecoveryFault and Recovery
RT1RT1
RT3RT3
RT4RT4 RT5RT5RT7RT7
RT8RT8
RT9RT9
RT10RT10RT2RT2
RT3RT3 RT6RT6
AS65101AS65101
AS65102AS65102
RT11RT11AS65104AS65104
AS65103AS65103
AS65100AS65100
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
26/80
HUAWEI TECHNOLOGIES CO., LTD. Page 25All rights reserved
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Section 1 IBGP/EBGPSection 1 IBGP/EBGP Core DesignCore Design
Section 2 MultiSection 2 Multi--homing Load Balancehoming Load Balance
Section 3Section 3 BGP Route ReflectorBGP Route Reflector
Section 4 BGP ConfederationSection 4 BGP Confederation
Section 5 BGP Community AttributeSection 5 BGP Community Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
27/80
HUAWEI TECHNOLOGIES CO., LTD. Page 26All rights reserved
BGP Network Planning
MultiMulti--HomingHoming
Single Homing End Network
Multi-Homing End Network
Standard Multi-Homing Network
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
28/80
HUAWEI TECHNOLOGIES CO., LTD. Page 27All rights reserved
Single Homing End Network
Disadvantages Several connections
are terminated on a
same device.
Several static routes
are needed.
Only link failure can
be avoided. Device
failure cannot be
avoided.
AS65101
AS65102
Advantages Cost-effective
BGP replaced by
static routing or
default routing
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
29/80
HUAWEI TECHNOLOGIES CO., LTD. Page 28All rights reserved
Multi-Homing End Network ! Single Border Router
Disadvantages
Advantages
Several
connections are
terminated on a
same device.
Only link failure
can be avoided.
Device failure
cannot be avoided.
AS65101
AS65102
Private AS can be
used.
Outgoing traffic
can be better
controlled for loadbalance by link
capacity.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
30/80
HUAWEI TECHNOLOGIES CO., LTD. Page 29All rights reserved
Multi-Homing End Network ! Several Border Routers
Disadvantages
Advantages
Core router must
run IBGP session
and core IGP
session.
AS65101
AS65102
Private AS can be
used.
Outgoing traffic
can be better
controlled for load
balance by link
capacity.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
31/80
HUAWEI TECHNOLOGIES CO., LTD. Page 30All rights reserved
Standard Multi-Homing Main Network ! Single
Border Router
AS65101
AS65102
AS65103
Single Border RouterSingle Border Router
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
32/80
HUAWEI TECHNOLOGIES CO., LTD. Page 31All rights reserved
Standard Multi-Homing Main Network ! Several
Border Routers
AS65101
AS65102
AS65103
Several Border RoutersSeveral Border Routers
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
33/80
HUAWEI TECHNOLOGIES CO., LTD. Page 32All rights reserved
BGP Network Planning
Load BalanceLoad Balance
Incoming Load Balance
Outgoing Load Balance
Multiple Sessions of A Peer
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
34/80
HUAWEI TECHNOLOGIES CO., LTD. Page 33All rights reserved
Incoming Load Balance
l Multi-homing to a same upstream autonomous system
[ When the upstream system provides two link, the address
space can be reasonably designed.
l Multi-homing to two different upstream autonomous system
[ Monitor link and occupancy
[ Achieve load balance by adding AS-PATH attribute length
(an AS number added in one time)
Incoming Load BalanceIncoming Load Balance
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
35/80
HUAWEI TECHNOLOGIES CO., LTD. Page 34All rights reserved
Outgoing Load Balance
l Multi-homing to a same upstream autonomous system
[ Achieve load balance by default routing
l Multi-homing to two different upstream autonomous systems
[ Achieve load balance by requesting some available routes
that are completely reachable
l If load balance still cannot be achieved, complete Internet
routes are requested and incoming filtering policies are
implemented to generate the partial routing table of the router
itself.
Outgoing Load BalanceOutgoing Load Balance
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
36/80
HUAWEI TECHNOLOGIES CO., LTD. Page 35All rights reserved
Multiple Sessions of A Peer
l Loopback addresses are used to set up EBGP sessions. The
equivalent routes to the peer loopback addresses are iterated for
load balance.
l Because the default TTL of EBGP is 1, both sides need change
the TTL value by the command ebgp-max-hop.
AS65101 AS65102
LoopbackLoopback LoopbackLoopback
EBGP MultiEBGP Multi--Path SolutionPath Solution
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
37/80
HUAWEI TECHNOLOGIES CO., LTD. Page 36All rights reserved
Multiple Sessions of A Peer
EBGP MultiEBGP Multi--Path SolutionPath Solution
l Every link in the autonomous system sets up the EBGP session.
l Because BGP supports only one equivalent path by default, both
sides need set the number of maximum equivalent paths by the
command maximum load-balancing.
AS65101 AS65102
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
38/80
HUAWEI TECHNOLOGIES CO., LTD. Page 37All rights reserved
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Section 1 IBGP/EBGPSection 1 IBGP/EBGP Core DesignCore Design
Section 2 MultiSection 2 Multi--homing Load Balancehoming Load Balance
Section 3Section 3 BGP Route ReflectorBGP Route Reflector
Section 4 BGP ConfederationSection 4 BGP Confederation
Section 5 BGP Community AttributeSection 5 BGP Community Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
39/80
HUAWEI TECHNOLOGIES CO., LTD. Page 38All rights reserved
BGP Network Planning
Reflector Notification
Principle
Router ReflectionRouter Reflection
Reflector Cluster
Loop Prevention Mechanism
Reflector Design Principle
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
40/80
HUAWEI TECHNOLOGIES CO., LTD. Page 39All rights reserved
Reflector Notification Principle
l Only the known optimal path is notified or reflected.
l Notification is always made to EBGP peer.
l Clients observe the conventional IBGP loop prevention rules when
notifying the routes.
l Other rules are observed if the notifications are made to IBGP peer, client,
or non-clients. When the notification is made to IBGP peer, these rulesdepend on where these routes are learned from.
l If the reflector learns the routes from EBGP peer, it notifies to all its clients
and non-clients.
l If a route reaches the reflector through a non-client IBGP peer, the
reflector reflects this route to all its clients.
l If a route reaches the reflector through a client, the reflector reflects this
route to all other clients and non-clients.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
41/80
HUAWEI TECHNOLOGIES CO., LTD. Page 40All rights reserved
Reflector Clusterl Several reflectors serve one or several clients to provide redundancy.
l A 4-byte CLUSTER_ID identifies a cluster.
l The reflector receiving the information will ignore the route notification
that carries the same CLUSTER_ID.
l A cluster may include one or several reflectors.
l A client may belong to several clusters.
Cluster
10.1.1.1
Cluster
10.1.1.2
Cluster
10.1.1.3
Reflector
RT3
Reflector
RT4
Reflector
RT6
Reflector
RT5
Client
RT7
Client
RT1
ClientRT2
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
42/80
HUAWEI TECHNOLOGIES CO., LTD. Page 41All rights reserved
Loop Prevention Mechanism
l To prevent loop caused by reflector during route update, two BGP path attributes areintroduced:
[ Originator_ID
" Originator_ID is created by the first reflector and will not be changed by
subsequent reflectors.
" It is a 32-bit value, and should be received from only IBGP.
" It is the Router ID of:
# The BGP announcer of local AS originated routes.
# The border router of a same AS if the route is learned from EBGP.
[ Cluster_List
"
Cluster_List records all Cluster_ID passed by and puts the latest Cluster_IDon the top of the Cluster_List.
" The reflector identifies loops by Cluster_List.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
43/80
HUAWEI TECHNOLOGIES CO., LTD. Page 42All rights reserved
Reflector Design Principle
Layered Router ReflectionLayered Router Reflection
Layer 2 Reflector
Layer 1 Reflector/Client
Client
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
44/80
HUAWEI TECHNOLOGIES CO., LTD. Page 43All rights reserved
Reflector Design Principle
l Keep logical and physical topologies match to ensure redundancy,
optimize path, and prevent loops of route selection.
l Use comparable metric for route selection to avoid route oscillation
during convergence.
l Set proper intra- and inter-cluster IGP metrics to prevent route
oscillation during convergence.
l Apply cluster division techniques correctly to enforce the reflector
redundancy.
l Modify the path carefully if putting the reflector to the forwarding path.
l Use peer group to reduce convergence time if there are reflectors.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
45/80
HUAWEI TECHNOLOGIES CO., LTD. Page 44All rights reserved
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Section 1 IBGP/EBGPSection 1 IBGP/EBGP Core DesignCore Design
Section 2 MultiSection 2 Multi--homing Load Balancehoming Load Balance
Section 3Section 3 BGP Route ReflectorBGP Route Reflector
Section 4 BGP ConfederationSection 4 BGP Confederation
Section 5 BGP Community AttributeSection 5 BGP Community Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
46/80
HUAWEI TECHNOLOGIES CO., LTD. Page 45All rights reserved
BGP Network Planning
ConfederationConfederation
Confederation Principle
AS-PATH Special Treatment
Comparison Between
Confederation and Reflector
Confederation Design
Principles
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
47/80
HUAWEI TECHNOLOGIES CO., LTD. Page 46All rights reserved
Confederation Principles
l Confederation Concepts
[ A large AS is divided into several small ASs for the IBGP
full mesh.
AS 100
AS 200
AS 65100 AS 65200
AS 65300
RT1 RT2
RT3 RT4
RT5
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
48/80
HUAWEI TECHNOLOGIES CO., LTD. Page 47All rights reserved
AS-PATH Special Treatmentl Two new AS-PATH subtypes are introduced in confederation:
[ AS-CONFED-SEQUENCE
[ AS-CONFED-SET
AS 100AS 100
AS 200AS 200
AS 65100AS 65100 AS 65200AS 65200
AS 65300AS 65300
RT1RT1 RT2RT2
RT3RT3 RT4RT4
RT5RT5
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
49/80
HUAWEI TECHNOLOGIES CO., LTD. Page 48All rights reserved
Confederation Design Principles
l Hub-and-Spoke Architecture
AS 100AS 100
AS 65100AS 65100
AS 65200AS 65200
RT5RT5
RT6RT6
RT4RT4
AS 65300AS 65300
AS 65000AS 65000
RT1RT1
RT2RT2
RT3RT3
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
50/80
HUAWEI TECHNOLOGIES CO., LTD. Page 49All rights reserved
Confederation Design Principles
l Improper setting of IGP metric in confederation will cause route
oscillation.
AS 103AS 103
AS 200AS 200
AS 65100AS 65100
AS 65200AS 65200
RT3RT3
RT5RT5
RT4RT4
RT6RT6
RT3RT3
AS 102AS 102
RT2RT2
AS 101AS 101
RT1RT1
Route ImportRoute Import
192.168.1.0/24192.168.1.0/24
1010
1010
1010
1010
1111
2020
1515
MED:10MED:10
MED:5MED:5
MED:6MED:6
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
51/80
HUAWEI TECHNOLOGIES CO., LTD. Page 50All rights reserved
Confederation Design Principles
(65200) 103 101
103 101
102 101
AS-PATH
RT6
RT4
RT3
BGP Next Hop
1163
2052
15101
IGP MetricMEDPath
RT5 Routing TableRT5 Routing Table
l Solution: Proper setting of IGP metric in confederation
[ Enable compare-different-as-med.
[ Reset MED to 0.[ Set IGP metric properly.
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
52/80
HUAWEI TECHNOLOGIES CO., LTD. Page 51All rights reserved
Comparison Between Confederation and Reflector
In face, AS combination is irrelevant with IBGP expandability. It is mentioned herebecause it is one of confederation advantages. An AS can be combined with an existingconfederation by taking AS as a sub-AS of confederation.
AS combination
More experiences are drawn from route reflection because more ISPs have deployedroute reflection rather than confederation.
Deploymentexperience
Route reflection within AS needs a stand-alone IGP, while confederation supports astand-alone or separated IGP, which may be the biggest advantage of confederation overroute reflection. If the IGP meets its limit of expandability, or it is too large to process themanagement tasks, confederation can be used to reduce the size of IGP routing table.
IGPexpandability
All routers in confederation must support confederation configuration capability, becauseall routers need understand the AS-PATH attribute of the confederation. In thearchitecture of route reflection, the reflector need support only route reflection capability.In new design of cluster division, however, the client is also required to understand thereflector attributes.
Supportcapability
The transfer of route reflection is of low complexity, because the overall networkconfiguration seldom changes. However, transfer from IBGP to confederation needs greatchanges on configuration and network architecture.
Complexity ofconventionalIBGP transfer
Both provide control of route selection policies, but confederation has more flexibility.Policy Control
Both support multilevel to further enhance the expandability. Multilevel route reflectionstructure is supported. Confederation allows route reflection used in member ASs.
Multilevel
ComparisonReference
Factor
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
53/80
HUAWEI TECHNOLOGIES CO., LTD. Page 52All rights reserved
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Section 1 IBGP/EBGPSection 1 IBGP/EBGP Core DesignCore Design
Section 2 MultiSection 2 Multi--homing Load Balancehoming Load Balance
Section 3Section 3 BGP Route ReflectorBGP Route Reflector
Section 4 BGP ConfederationSection 4 BGP Confederation
Section 5 BGP Community AttributeSection 5 BGP Community Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
54/80
HUAWEI TECHNOLOGIES CO., LTD. Page 53All rights reserved
BGP Network Planning
BGP Community AttributeBGP Community Attribute
Concept of BGP
Community Attribute
Design of BGP Community
Attribute
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
55/80
HUAWEI TECHNOLOGIES CO., LTD. Page 54All rights reserved
Concept of BGP Community Attribute
l A group of routes sharing the same features define a BGP
community attribute. Several communities can be applied to a
route. Each community is of 4-byte long. There are two types
of community attribute:
[ Well-known communities
" NO_EXPORT
" LOCAL_AS
" NO_ADVERTISE
[ Private communities
"As:number
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
56/80
HUAWEI TECHNOLOGIES CO., LTD. Page 55All rights reserved
Design of BGP Community Attribute
l Local AS differentiates routes.
[ Cross-over route
[ Peer route
[ User route
[ISP ASN]:1000Cross-over route
[ISP ASN]:3000
[ISP ASN]:2000
Community attribute ID
User route
Peer route
Route Type
Example:Example:
Route Origin TracingRoute Origin Tracing
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
57/80
HUAWEI TECHNOLOGIES CO., LTD. Page 56All rights reserved
Design of BGP Community Attribute
l Operation on local priority attribute
l Control by route policies
Dynamic user policyDynamic user policy
[ISP ASN]:6060
[ISP ASN]:8080
[ISP ASN]:100100
[ISP ASN]:140
[ISP ASN]:120
Community attribute ID
140
120
Local Preference Attribute
Example:Example:
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
58/80
HUAWEI TECHNOLOGIES CO., LTD. Page 57All rights reserved
Design of BGP Community Attribute
l Community attributes can be flexibly used to make the AS
notify user routes to upstream peer.
l In general, two levels are defined:
[ Level 1 differentiates all routes of local AS.
[ Level 2 allows the lower-level AS to set AS-PATH attributes
accordingly or suppresses route notifications completely.
Control of upstream route notificationControl of upstream route notification
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
59/80
HUAWEI TECHNOLOGIES CO., LTD. Page 58All rights reserved
Chapter 1Chapter 1 BGP TheoriesBGP Theories
Chapter 2 BGP Network PlanningChapter 2 BGP Network Planning
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
60/80
HUAWEI TECHNOLOGIES CO., LTD. Page 59All rights reserved
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
Section 1Section 1 Mitigation of Network Fault AffectsMitigation of Network Fault Affects
Section 2 Optimization of Route UpdateSection 2 Optimization of Route Update
Section 3 Policy ControlSection 3 Policy Control
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
61/80
HUAWEI TECHNOLOGIES CO., LTD. Page 60All rights reserved
BGP performance optimization
EBGP Port Sensitivity
IGP/BGP Convergence Time Increment
Mitigation of Network Fault AffectsMitigation of Network Fault Affects
BGP Graceful Restart (GR)
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
62/80
HUAWEI TECHNOLOGIES CO., LTD. Page 61All rights reserved
EBGP Port Sensitivity
l Fast disconnect EBGP sessions before timer timeout.
l It is applicable to only EBGP peer. IBGP peer may bypass the invalid link
if it is faulty.
l It is globally enabled and, by default, activated.
l Advantages:
[ When the upstream EBGP peer has several EBGP sessions, EBGP
port sensitivity is very useful.
l Disadvantages:
[ Owing to jitter links, BGP session is hard to enter convergence status.
[ It is unworkable in case of EBGP multi-hop. The peer address must be
the same as its physical address.
EBGP Port SensitivityEBGP Port Sensitivity
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
63/80
HUAWEI TECHNOLOGIES CO., LTD. Page 62All rights reserved
IGP/BGP Convergence Time Increment
Traffic LossTraffic Loss
AS 200AS 200
AS 100AS 100 AS 300AS 300
RTARTA
RTBRTB
RTERTE RTDRTD
RTCRTC
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
64/80
HUAWEI TECHNOLOGIES CO., LTD. Page 63All rights reserved
IGP/BGP Convergence Time Increment
l The router that restarted just now need notify a message in
IGP that is should not be used as a cross-over router. This
means the restarted router must be the leaf node of the
shortest path tree. Only direct traffic to the router should be
sent to this router.
[ IS-IS Overload Bit
[ OSPF Maximum Metric
SolutionSolution
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
65/80
HUAWEI TECHNOLOGIES CO., LTD. Page 64All rights reserved
IGP/BGP Convergence Time Increment
l The IS-IS protocol provides a feature named overload bit.
Being an LSP value, the overload bit is firstly used as a signal
of notification in case of router fault. It ensures that this router
should not be included in the network topology as one with
cross-over capability.
l Routers with overload bit are still allowed for setup of BGP
sessions and BGP re-convergence. However, they cannot be
used as cross-over routers.
l After convergence of BGP sessions, the router sends an LSP
notifying that the overload bit is removed.
ISIS--IS Overload BitIS Overload Bit
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
66/80
HUAWEI TECHNOLOGIES CO., LTD. Page 65All rights reserved
IGP/BGP Convergence Time Increment
l OSPF sets metric in LSA to ensure the router will not be used
as a cross-over path.
l Routers with metric are still allowed for setup of BGP sessions
and BGP re-convergence. However, they cannot be used ascross-over routers.
l After convergence of BGP session, the LSA for the new router
and the whole network are re-sent.
OSPF Maximum MetricOSPF Maximum Metric
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
67/80
HUAWEI TECHNOLOGIES CO., LTD. Page 66All rights reserved
BGP-GR (Graceful Restard)
l Preventing route oscillation caused by active/standby board
switchover
l Ensuring no message loss when new board re-collects route
information from BGP peer
BGPBGP--GR FunctionsGR Functions
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
68/80
HUAWEI TECHNOLOGIES CO., LTD. Page 67All rights reserved
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
Section 1Section 1 Mitigation of Network Fault AffectsMitigation of Network Fault Affects
Section 2 Optimization of Route UpdateSection 2 Optimization of Route Update
Section 3 Policy ControlSection 3 Policy Control
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
69/80
HUAWEI TECHNOLOGIES CO., LTD. Page 68All rights reserved
Route Update and Optimization
l How to deal with the instability during route notification?
l How to keep the affect of applying new policies to the minimum?
l Available methods for route optimization:
[ Route jitter attenuation
[ BGP route Keep-All-Routes and Route Refresh
[ Loop detection at transmission side
[ Outgoing route filtering (ORF)
Purpose of Route Update and OptimizationPurpose of Route Update and Optimization
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
70/80
HUAWEI TECHNOLOGIES CO., LTD. Page 69All rights reserved
Route jitter attenuation
l Route jitter attenuation provides a mechanism to reduce the
router load caused by instable routes.
l It prevents continuous route jitter.
l It enhances route stability, but not sacrifices the convergence
time of routes with good performance.
Purpose of Route Jitter AttenuationPurpose of Route Jitter Attenuation
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
BGP K All R t
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
71/80
HUAWEI TECHNOLOGIES CO., LTD. Page 70All rights reserved
BGP Keep-All-Routes
l When BGP policies are changed, the BGP sessions need be
reset to make the new policies effective. Resetting BGP
sessions will cause route disturbance and route jitter. Resetting
a large number of BGP peers may even trigger route jitter
attenuation.
l Save the BGP route update information from all peers (groups)
since the setup of BGP connection, even if the routes do not
meet the entry policies requirements.
l Trigger update of route information by proper inbound and
outbound policies.
BGP KeepBGP Keep--AllAll--RoutesRoutes
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
R t R f h
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
72/80
HUAWEI TECHNOLOGIES CO., LTD. Page 71All rights reserved
Route Refresh
l Route refresh is the negotiation ability of BGP at the initial
session stage.
l It allows BGP routers to request remote peers to resend the
outbound information library of BGP neighbor routes.
l Route refresh is the replacement of BGP Keep-All-Routes.
Route RefreshRoute Refresh
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
L b k d t ti t t i i id
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
73/80
HUAWEI TECHNOLOGIES CO., LTD. Page 72All rights reserved
Loopback detection at transmission side
l Concept: A route will be rejected if the loop detection mechanism
of the peer detects its own AS number in AS-PATH.
l Optimization idea: These routes are blocked from notification at
the earliest time to reduce the size of BGP update packets.
l Applicable range: It is applicable to only EBGP peers.
l Implementation: It is optimized by matching AS-PATH list with the
remote AS in AS-PATH attributes in the notified route information.
l
Note: In special case, the loop detection at transmission side isnot expected, such as MPLS VPN Hub-And-Spoke.
LoopbackLoopback DetectionDetection
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
Outbound Route Filtering (ORF)
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
74/80
HUAWEI TECHNOLOGIES CO., LTD. Page 73All rights reserved
Outbound Route Filtering (ORF)
l ORF Concept:
[ ORF is a BGP feature that reduces the number of BGP
updates sent between peer routes to the minimum with the
routes transmitting and receiving capability of BGP.
[ Local routers initially send inbound routing policies to
remote peer routers, which use them as outbound policies.
l ORF Advantages:
[ Reducing the number of BGP updates sent between peer
routes to the minimum.
[ Sparing bandwidth and speeding convergence
ORF Concept and AdvantagesORF Concept and Advantages
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
75/80
HUAWEI TECHNOLOGIES CO., LTD. Page 74All rights reserved
Chapter 3 BGP Performance OptimizationChapter 3 BGP Performance Optimization
Section 1Section 1 Mitigation of Network Fault AffectsMitigation of Network Fault Affects
Section 2 Optimization of Route UpdateSection 2 Optimization of Route Update
Section 3 Policy ControlSection 3 Policy Control
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
Policy Control
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
76/80
HUAWEI TECHNOLOGIES CO., LTD. Page 75All rights reserved
Policy Control
l ip prefix-list
l as-path-list
l community-list
l route-policy
l filter-policy
Policy Control MethodsPolicy Control Methods
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
Policy Control
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
77/80
HUAWEI TECHNOLOGIES CO., LTD. Page 76All rights reserved
Policy Control
l What is pseudo-AS number?
[ When receiving/sending AS-PATH from/to the neighbor of
local AS, BGP places pseudo-AS number before the real
AS number.
l When is pseudo-AS number needed?
[ Change of AS number
[ Device transfer or BGP session transfer
PseudoPseudo--AS NumberAS Number
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
Policy Control
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
78/80
HUAWEI TECHNOLOGIES CO., LTD. Page 77All rights reserved
Policy Control
l Advantages of Pseudo-AS Number:
[ Preventing network destruction caused by AS number
change.
[ Providing continuous communication for AS during AStransfer.
l Disadvantages of Pseudo-AS Number:
[ Making AS-PATH longer.
[ Causing packet loss due to loop detection
Advantages and Disadvantages of PseudoAdvantages and Disadvantages of Pseudo--AS NumberAS Number
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
79/80
HUAWEI TECHNOLOGIES CO., LTD. Page 78All rights reserved
Summary l Same policy tool of BGP at first and at
last
l Affecting BGP performance most
seriously
l Multi-homing and load balance
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.pdffactory.com/http://www.pdffactory.com/7/27/2019 Odd010004 Bgp Protocol Design Issue 1_0
80/80
www.huawei.com
Thank You
PDF created with FinePrint pdfFactory Pro trial version www.pdffactory.com
http://www.huawei.com/http://www.pdffactory.com/http://www.pdffactory.com/http://www.huawei.com/