HP FlexFabric 12900E Series Configuration Manual page 204

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

The ORIGIN attribute specifies the origin of BGP routes. This attribute has the following types:
IGP—Has the highest priority. Routes generated in the local AS have the IGP attribute.
EGP—Has the second highest priority. Routes obtained through EGP have the EGP
attribute.
INCOMPLETE—Has the lowest priority. The source of routes with this attribute is unknown.
Routes redistributed from other routing protocols have the INCOMPLETE attribute.
AS_PATH
The AS_PATH attribute identifies the ASs through which a route has passed. Before
advertising a route to another AS, BGP adds the local AS number into the AS_PATH attribute,
so the receiver can determine ASs to route the message back.
The AS_PATH attribute has the following types:
AS_SEQUENCE—Arranges AS numbers in sequence. As shown in
of the AS closest to the receiver's AS is leftmost.
AS_SET—Arranges AS numbers randomly.
Figure 50 AS_PATH attribute
D = 8.0.0.0
AS_PATH = 10
AS 20
D = 8.0.0.0
AS_PATH = 20, 10
D = 8.0.0.0
AS_PATH = 30, 20, 10
AS 30
BGP uses the AS_PATH attribute to implement the following functions:
Avoid routing loops—A BGP router does not receive routes containing the local AS
number to avoid routing loops.
Affect route selection—BGP gives priority to the route with the shortest AS_PATH length if
other factors are the same. As shown in
the route passing AS 40 for sending data to the destination 8.0.0.0. In some applications,
you can apply a routing policy to control BGP route selection by modifying the AS_PATH
length. For more information about routing policy, see
Filter routes—By using an AS path list, you can filter routes based on AS numbers
contained in the AS_PATH attribute. For more information about AS path list, see
"Configuring routing
NEXT_HOP
The NEXT_HOP attribute may not be the IP address of a directly connected router. Its value is
determined as follows:
When a BGP speaker advertises a self-originated route to a BGP peer, it sets the address of
the sending interface as the NEXT_HOP.
8.0.0.0
AS 10
D = 8.0.0.0
AS_PATH = 10
AS 40
D = 8.0.0.0
AS_PATH = 40, 10
AS 50
Figure
policies."
192
Figure
50, the BGP router in AS 50 gives priority to
"Configuring routing
50, the number
policies."

Advertisement

Table of Contents
loading

Table of Contents