BGP: Difference between revisions
Content added Content deleted
Line 271: | Line 271: | ||
*AS_PATH attribute contains AS_CONFED_SET parameter which is modified inside the confederation only |
*AS_PATH attribute contains AS_CONFED_SET parameter which is modified inside the confederation only |
||
*In case the confederation runs one IGP, NEXT_HOP, MED, LOCAL_PREF do not change when routing update traverses Intra-Confederation eBGP |
*In case the confederation runs one IGP, NEXT_HOP, MED, LOCAL_PREF do not change when routing update traverses Intra-Confederation eBGP |
||
; Config: |
|||
Source: [https://networklessons.com/bgp/bgp-confederation-explained networklessons.com] |
|||
[R2 AS-2 SubAS-24]------------------------[R3 AS-2 SubAS-35] |
|||
R2: |
|||
R2(config)#router ospf 1 |
|||
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0 |
|||
R2(config)#router bgp 24 |
|||
R2(config-router)#bgp confederation identifier 2 |
|||
R2(config-router)#bgp confederation peers 35 |
|||
R2(config-router)#neighbor 3.3.3.3 remote-as 35 |
|||
R2(config-router)#neighbor 3.3.3.3 update-source loopback 0 |
|||
R2(config-router)#neighbor 3.3.3.3 ebgp-multihop 2 |
|||
R3: |
|||
R3(config)#router ospf 1 |
|||
R3(config-router)#network 3.3.3.3 0.0.0.0 area 0 |
|||
R3(config)#router bgp 35 |
|||
R3(config-router)#bgp confederation identifier 2 |
|||
R3(config-router)#bgp confederation peers 24 |
|||
R3(config-router)#neighbor 2.2.2.2 remote-as 24 |
|||
R3(config-router)#neighbor 2.2.2.2 update-source loopback 0 |
|||
R3(config-router)#neighbor 2.2.2.2 ebgp-multihop 2 |
|||
= Route Aggregation = |
= Route Aggregation = |