Task #1073
đóng

Task #1029: Phương án dự phòng cho kênh trắng CMC_Q7 và FPT_Q7
Triễn khai kênh iBGP dự phòng CMC_Q7 và FPT_Q7
100%
Mô tả
Mục tiêu: chạy thêm kênh BGP qua tunel vxlan backup cho kênh BGP chính
Tập tin
Cập nhật bởi pham vu cách đây 6 tháng
Cấu hình dự kiến:
QFX
set policy-options policy-statement export-iBGP-BK term 1 from protocol static
set policy-options policy-statement export-iBGP-BK term 1 from route-filter 42.96.16.0/22 prefix-length-range /26-/27
set policy-options policy-statement export-iBGP-BK term 1 then next-hop self
set policy-options policy-statement export-iBGP-BK term 1 then local-preference subtract 50
set policy-options policy-statement export-iBGP-BK term 1 then accept
set policy-options policy-statement export-iBGP-BK term 2 from protocol direct
set policy-options policy-statement export-iBGP-BK term 2 from route-filter 42.96.20.0/22 prefix-length-range /26-/27
set policy-options policy-statement export-iBGP-BK term 2 then local-preference subtract 50
set policy-options policy-statement export-iBGP-BK term 2 then accept
set policy-options policy-statement export-iBGP-BK term 3 then reject
set policy-options policy-statement import-iBGP-BK term 1 from route-filter 42.96.20.0/22 prefix-length-range /26-/27
set policy-options policy-statement import-iBGP-BK term 1 then accept
set policy-options policy-statement import-iBGP-BK term 1 then local-preference subtract 50
set policy-options policy-statement import-iBGP-BK term 2 from as-path AS-CMC1-38733
set policy-options policy-statement import-iBGP-BK term 2 from as-path AS-CMC2-45903
set policy-options policy-statement import-iBGP-BK term 2 then local-preference subtract 50
set policy-options policy-statement import-iBGP-BK term 2 then accept
set policy-options policy-statement import-iBGP-BK term 3 then reject
set routing-instances BGP-FPT protocols bgp group iBGP-to-CMC3 type internal
set routing-instances BGP-FPT protocols bgp group iBGP-to-CMC3 local-address 172.31.254.3
set routing-instances BGP-FPT protocols bgp group iBGP-to-CMC3 export export-iBGP-BK
set routing-instances BGP-FPT protocols bgp group iBGP-to-CMC3 peer-as 131423
set routing-instances BGP-FPT protocols bgp group iBGP-to-CMC3 neighbor 172.31.254.2 import import-iBGP-BK
==============================
Arista
router bgp 131423
neighbor 172.31.254.3 remote-as 131423
neighbor 172.31.254.3 password 7 qir0K+85yZ085KoKsxJrnw==
neighbor 172.31.254.3 maximum-routes 12000
address-family ipv4
neighbor 172.31.254.3 activate
Cập nhật bởi pham vu cách đây 6 tháng
- Tập tin clipboard-202408152032-vw3zq.png clipboard-202408152032-vw3zq.png được thêm
Kết quả: đã quảng bá route qua tunnel , với local-preferen là 50, thấp hơn so với kênh trắng là 100