BGPの複数経路と経路ポリシー13 / 25
WeightからMEDまでの順序
Ciscoの最良経路選択では、Weight、Local Preference、AS_PATH、MEDを比較する段階は、この順序で進む。WeightとLocal Preferenceは大きい値、AS_PATHは短いもの、比較対象になるMEDは小さい値を優先する。Weightは、Ciscoの装置内で使うローカルな値である。
実際のアルゴリズムには、ローカルで生成した経路とORIGINなどの判定も含まれる。先の比較で差が付けば、後の項目で優劣を逆転させない。
参考資料
- Cisco IOS — Route Map Processing ↗
- Cisco — BGP maximum-paths examples ↗
- Cisco — BGP with Two Service Providers ↗
- Cisco — BGP Local Preference and Weight ↗
- Cisco IOS XE — ip prefix-list ↗
- RFC 4271 — BGP Finite State Machine ↗
- Cisco IOS — BGP network Command ↗
- Cisco — OSPF Route Types Redistributed into BGP ↗
- Cisco — BGP Maximum-Prefix Exceeded and Warning-Only ↗
- RFC 4456 — Route Reflector Client Advertisement ↗
- Cisco FTD FDM 7.0 — Route Maps and BGP Attributes ↗
- Cisco — BGP Paths Excluded from Best-Path Selection ↗
- Cisco IOS — AS-Path Regular Expressions and Directly Attached AS Filters ↗
- Cisco IOS XR — Enable BGP Routing and eBGP Route Policies ↗