Pustaka Taratsa

Baca teks (EPUB): Cisco: BGP Redistribute OSPF

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Cisco: BGP Redistribute OSPF
  2. Redistribute intra & inter-are
  3. Redistribute external type-1 type2
  4. Redistribute NSSA
  5. No Redistribute
  6. Referensi
  7. Pranala Menarik

Cisco: BGP Redistribute OSPF

Sumber: https://onnocenter.or.id/wiki/index.php/Cisco:_BGP_Redistribute_OSPF

sumber: https://community.cisco.com/t5/routing/ospf-to-bgp-redistribution/td-p/1165332

router ospf 6
router-id x.x.x.x
auto-cost reference-bandwidth 10000
area 38 stub no-summary
timers throttle spf 10 100 5000
timers throttle lsa all 10 100 5000
redistribute bgp 65500 metric 500 subnets
network x.x.x.x 0.0.0.255 area 38
router bgp 65500
no synchronization
bgp log-neighbor-changes
redistribute ospf 6 metric 100 route-map ospf2bgp
neighbor x.x.x.x remote-as xxxx
no auto-summary

Redistribute intra & inter-are

router ospf 1
 network 2.0.0.0 0.255.255.255 area 1
!
router bgp 100
 redistribute ospf 1
!-- This redistributes only OSPF intra- and inter-area routes into BGP.

Redistribute external type-1 type2

Use the external keyword along with the redistribute command under router bgp to redistribute OSPF external routes into BGP. With the external keyword, you have three choices:

  • redistribute both external type-1 and type-2 (Default)
  • redistribute type-1
  • redistribute type-2
router ospf 1
 network 2.0.0.0 0.255.255.255 area 1
!
router bgp 100
 redistribute ospf 1 match external 1 external 2
!--- This redistributes ONLY OSPF External routes, !--- but both type-1 and type-2.
neighbor 3.3.3.3 remote-as 200
!
end

Redistribute NSSA

router ospf 1
 network 2.0.0.0 0.255.255.255 area 1 
nssa
!
router bgp 100
 redistribute ospf 1 match nssa-external 1 nssa-external 2

No Redistribute

router bgp 100
  no redistribute ospf 1

Referensi

Pranala Menarik