Interkoneksi BGP Routing: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu | Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu Router dan ASN (Public): | ||
SANDYA: AS141626 - 10.212.212.9/30 | |||
TGR: AS65106 - 10.212.212.10/30 ( SANDYA-IX + CONTENT ) | |||
# '''Konfigurasi Route-Map IN''' # | |||
route-map TGR-IN permit 10 | |||
ip address prefix-list PUBLIC | |||
large-community 141626:141626:1000 141626:212:1 141626:141626:65106 | |||
set local-preference 200 | |||
exit | |||
# ''' | # '''Konfigurasi Route-Map OUT''' # | ||
route-map TGR-OUT permit 10 | |||
ip address prefix-list SANDYA | |||
large-community 141626:141626:141626 | |||
exit | |||
route-map | route-map TGR-OUT permit 500 | ||
ip address prefix-list SANDYA-IX | |||
exit | exit | ||
route-map | route-map TGR-OUT permit 1000 | ||
match large-community CONTENT | |||
exit | exit | ||
# ''' | # '''Konfigurasi Large Community''' # | ||
bgp large-community-list standard TGR seq 5 141626:141626:65106 | |||
bgp large-community-list seq 5 | |||
# '''Konfigurasi BGP Peer''' # | |||
router bgp 141626 | |||
neighbor TGR peer-group | |||
neighbor 10.212.212.10 peer-group TGR | |||
neighbor 10.212.212.10 description TGR | |||
neighbor TGR remote-as 65106 | |||
address-family ipv4 | |||
neighbor TGR remove-private-AS all | |||
neighbor TGR soft-reconfiguration inbound | |||
neighbor TGR route-map TGR-IN in | |||
neighbor TGR route-map TGR-OUT out | |||
exit | |||
exit | |||
Latest revision as of 14:32, 2 July 2022
Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu Router dan ASN (Public):
SANDYA: AS141626 - 10.212.212.9/30
TGR: AS65106 - 10.212.212.10/30 ( SANDYA-IX + CONTENT )
# Konfigurasi Route-Map IN # route-map TGR-IN permit 10 ip address prefix-list PUBLIC large-community 141626:141626:1000 141626:212:1 141626:141626:65106 set local-preference 200 exit
# Konfigurasi Route-Map OUT # route-map TGR-OUT permit 10 ip address prefix-list SANDYA large-community 141626:141626:141626 exit route-map TGR-OUT permit 500 ip address prefix-list SANDYA-IX exit route-map TGR-OUT permit 1000 match large-community CONTENT exit
# Konfigurasi Large Community # bgp large-community-list standard TGR seq 5 141626:141626:65106
# Konfigurasi BGP Peer # router bgp 141626 neighbor TGR peer-group neighbor 10.212.212.10 peer-group TGR neighbor 10.212.212.10 description TGR neighbor TGR remote-as 65106 address-family ipv4 neighbor TGR remove-private-AS all neighbor TGR soft-reconfiguration inbound neighbor TGR route-map TGR-IN in neighbor TGR route-map TGR-OUT out exit exit