iTable of Contents1 BGP Configuration ····································································································································1-1BGP Overview·········································································································································1-1Formats of BGP Messages ·············································································································1-2BGP Path Attributes ························································································································1-4BGP Route Selection·······················································································································1-8iBGP and IGP Synchronization ·····································································································1-11Settlements for Problems in Large Scale BGP Networks ·····························································1-11BGP GR·········································································································································1-14MP-BGP ········································································································································1-15Protocols and Standards ···············································································································1-16BGP Configuration Task List·················································································································1-16Configuring BGP Basic Functions·········································································································1-18Prerequisites··································································································································1-18Creating a BGP Connection ··········································································································1-18Specifying the Source Interface for TCP Connections··································································1-19Allowing Establishment of eBGP Connection to a Non Directly Connected Peer/Peer Group·····1-19Controlling Route Generation ···············································································································1-20Prerequisites··································································································································1-20Injecting a Local Network ··············································································································1-20Configuring BGP Route Redistribution··························································································1-20Enabling Default Route Redistribution into BGP···········································································1-21Controlling Route Distribution and Reception·······················································································1-21Prerequisites··································································································································1-21Configuring BGP Route Summarization························································································1-21Advertising a Default Route to a Peer or Peer Group ···································································1-22Configuring BGP Route Distribution/Reception Filtering Policies ·················································1-22Enabling BGP and IGP Route Synchronization ············································································1-24Limiting Prefixes Received from a Peer/Peer Group ····································································1-24Configuring BGP Route Dampening ·····························································································1-25Configuring a Shortcut Route ········································································································1-25Configuring BGP Route Attributes ········································································································1-26Prerequisites··································································································································1-26Specifying a Preferred Value for Routes Received·······································································1-26Configuring Preferences for BGP Routes ·····················································································1-26Configure the Default Local Preference ························································································1-27Configuring the MED Attribute·······································································································1-27Configuring the Next Hop Attribute································································································1-29Configuring the AS-PATH Attribute ·······························································································1-30Tuning and Optimizing BGP Networks ·································································································1-32Prerequisites··································································································································1-32Configuring BGP Keepalive Interval and Holdtime ·······································································1-32Configuring the Interval for Sending the Same Update·································································1-33Configuring BGP Soft-Reset ·········································································································1-33