debug ip bgp route-selection

Enables BGP debugging information to be displayed for a BGP route selection.
Syntax
debug ip bgp route-selection
no debug ip bgp route-selection
Modes

Privileged EXEC mode

Usage Guidelines

The no form disables the displaying of BGP debugging information for a BGP route selection.

Examples

The following example enables the displaying of BGP debugging information for a BGP route selection. and shows that it is enabled.

device# debug ip bgp route-selection
device# debug ip bgp show       
         BGP:  bgp debugging is on
         BGP:  route-selection debugging is on

May 22 20:01:15:022769:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.25.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:022788:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:022805:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.25.0/24, remove
May 22 20:01:15:022821:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.25.0/24
May 22 20:01:15:022852:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.25.0/24
May 22 20:01:15:022871:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.25.0/24
May 22 20:01:15:022967:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.24.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:022986:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023002:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.24.0/24, remove
May 22 20:01:15:023016:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.24.0/24
May 22 20:01:15:023039:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.24.0/24
May 22 20:01:15:023054:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.24.0/24
May 22 20:01:15:023084:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.23.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:023098:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023112:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.23.0/24, remove
May 22 20:01:15:023125:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.23.0/24
May 22 20:01:15:023143:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.23.0/24
May 22 20:01:15:023157:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.23.0/24
May 22 20:01:15:023182:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.22.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:023205:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023219:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.22.0/24, remove
May 22 20:01:15:023233:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.22.0/24
May 22 20:01:15:023251:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.22.0/24
May 22 20:01:15:023264:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.22.0/24
May 22 20:01:15:023287:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.21.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:023301:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023315:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.21.0/24, remove
May 22 20:01:15:023328:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.21.0/24
May 22 20:01:15:023346:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.21.0/24
May 22 20:01:15:023360:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.21.0/24
May 22 20:01:15:023382:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.20.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:023395:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023408:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.20.0/24, remove
May 22 20:01:15:023421:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.20.0/24
May 22 20:01:15:023443:info:fi_debug:debug_logs:1:898214642912854784: BGP: delete ipv4 route from fwd table for 1.0.20.0/24
May 22 20:01:15:023458:info:fi_debug:debug_logs:1:898214642912854784: BGP: Clearing install flags for 1.0.20.0/24
May 22 20:01:15:023479:info:fi_debug:debug_logs:1:898214642912854784: BGP: select best route 1.0.19.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 20:01:15:023493:info:fi_debug:debug_logs:1:898214642912854784: BGP: eligible route 0 
May 22 20:01:15:023506:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 Best path down 1.0.19.0/24, remove
May 22 20:01:15:023519:info:fi_debug:debug_logs:1:898214642912854784: BGP: 150.0.0.4 removing bgp route advertisement 1.0.19