Jump to content

Interkoneksi BGP Routing: Difference between revisions

From Wiki - SandyaNet
Noc (talk | contribs)
No edit summary
Noc (talk | contribs)
No edit summary
 
Line 6: Line 6:


  # '''Konfigurasi Route-Map IN''' #
  # '''Konfigurasi Route-Map IN''' #
route-map TGR-IN deny 1
match rpki invalid
exit
  route-map TGR-IN permit 10
  route-map TGR-IN permit 10
  ip address prefix-list PUBLIC
  ip address prefix-list PUBLIC

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