You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/partials/networking-services/routing/bgp-peering.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,11 +57,11 @@ When BGP advertises a route, it is automatically added to the Magic routing tabl
57
57
58
58
Additionally, when multiple BGP routes exist with the same prefix length and priority, traffic is distributed across them using <ahref={props.ecmp}>equal-cost multi-path (ECMP) routing</a>.
59
59
60
-
###Change route priorities with BGP attributes
60
+
## Change route priorities with BGP attributes
61
61
62
62
Cloudflare supports traffic engineering via BGP communities and AS prepending. You can use these traffic routing techniques to set route priorities and perform traffic engineering across multiple interconnects.
63
63
64
-
####BGP communities for setting route priority
64
+
### BGP communities for setting route priority
65
65
66
66
The default BGP route priority is `100`. This base priority can be adjusted using communities. For example, when a route is tagged with the community `13335:60010` its priority is set to `10`. This makes it a higher priority than the default of `100` because lower numeric priorities are preferred.
67
67
@@ -77,7 +77,7 @@ The community values supported for setting base route priority are:
77
77
78
78
It is considered a misconfiguration to set multiple base priority communities in the same prefix update message. In this situation the highest priority (lowest integer value) is preferred.
79
79
80
-
####AS path prepending for adjusting route priority
80
+
### AS path prepending for adjusting route priority
81
81
82
82
For each additional mention of the customer ASN in the received AS path an additional `10` is added to the route's base priority. By increasing the priority number, the route is less preferred.
83
83
@@ -94,7 +94,7 @@ AS_PATH: 65000 65000 65200
94
94
AS_PATH: 65000 65000 65200
95
95
```
96
96
97
-
####How communities and prepends work together
97
+
### How communities and prepends work together
98
98
99
99
Cloudflare adjusts route priority when using AS prepending with communities. For example, if a route is tagged with `13335:60150`, the base priority is set to `150`. If you prepend your ASN twice, Cloudflare adds `10` for each prepend, increasing the route priority to `180`.
0 commit comments