Confederation BGP

La confédération BGP permet de regrouper un ensemble d’AS (privé) en un seul AS (publique)

  • confederation identifier
  • confederation peers

Exemple :

R1#show ip bgp | be Net
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.0.0.0          0.0.0.0                  0         32768 i
*> 2.0.0.0          10.1.12.2                0             0 65522 i
*> 3.0.0.0          10.1.12.2                              0 65522 65534 i
*> 4.0.0.0          10.1.12.2                              0 65522 65534 i
*> 5.0.0.0          10.1.12.2                              0 65522 65534 500 i
R5#show ip bgp | be Net
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.0.0.0          10.1.45.4                              0 65534 65522 65511 i
*> 2.0.0.0          10.1.45.4                              0 65534 65522 i
*> 3.0.0.0          10.1.45.4                              0 65534 i
*> 4.0.0.0          10.1.45.4                0             0 65534 i
*> 5.0.0.0          0.0.0.0                  0         32768 i

Configuration de la confegaration de l’AS 100

R1#show run | be router bgp
router bgp 65511
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 100
 bgp confederation peers 65522
 network 1.0.0.0
 neighbor 10.1.12.2 remote-as 65522
 no auto-summary
R2#show run | be router bgp
router bgp 65522
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 100
 bgp confederation peers 65511 65534
 network 2.0.0.0
 neighbor 10.1.12.1 remote-as 65511
 neighbor 10.1.23.3 remote-as 65534
 no auto-summary
R3#show run | be router bgp
router bgp 65534
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 100
 bgp confederation peers 65522
 network 3.0.0.0
 neighbor 10.1.23.2 remote-as 65522
 neighbor 10.1.34.4 remote-as 65534
 no auto-summary
R4#show run | be router bgp
router bgp 65534
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 100
 network 4.0.0.0
 neighbor 10.1.34.3 remote-as 65534
 neighbor 10.1.45.5 remote-as 500
 no auto-summary
R5#show run | be router bgp
router bgp 500
 no synchronization
 bgp log-neighbor-changes
 network 5.0.0.0
 neighbor 10.1.45.4 remote-as 100
 no auto-summary

Vérifications :

R1#show ip bgp | be Net
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.0.0.0          0.0.0.0                  0         32768 i
*> 2.0.0.0          10.1.12.2                0    100      0 (65522) i
*  3.0.0.0          10.1.23.3                0    100      0 (65522 65534) i
*> 4.0.0.0          10.1.34.4                0    100      0 (65522 65534) i
*> 5.0.0.0          10.1.45.5                0    100      0 (65522 65534) 500 i
R5#sh ip bgp | be Net
   Network          Next Hop            Metric LocPrf Weight Path
*> 1.0.0.0          10.1.45.4                              0 100 i
*> 2.0.0.0          10.1.45.4                              0 100 i
*> 3.0.0.0          10.1.45.4                              0 100 i
*> 4.0.0.0          10.1.45.4                0             0 100 i
*> 5.0.0.0          0.0.0.0                  0         32768 i

This entry was posted in BGP. Bookmark the permalink.

Comments are closed.