debug ip bgp route-map

Associates an existing route map filter with BGP debugging.
Syntax
debug ip bgp route-map route-map-name
no debug ip bgp route-map route-map-name
Parameters
route-map-name
Specifies a route map.
Modes

Privileged EXEC mode

Usage Guidelines

The route map filter is functional with the route-selection and dampening keywords of the debug ip bgp command.

The no form of the command disassociates an existing route map filter with BGP debugging.

Examples

The following example configures a route map and associates the route map filter with BGP debugging.

device(config)# route-map zzz permit 1
device(config-routemap zzz)# match ip address prefix-list zzz
device(config-routemap zzz)# exit
device(config)# exit
device# debug ip bgp route-map zzz
         BGP:  route-map zzz  debugging is on

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

------------------------------------------------
route-map zzz permit 1
 match ip address prefix-list zzz
------------------------------------------------

May 22 19:57:56:587488:info:fi_debug:debug_logs:1:898045013179499264: BGP: select best route 1.0.8.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 19:57:56:587588:info:fi_debug:debug_logs:1:898045013179499264: BGP: eligible route 0 
May 22 19:57:56:587645:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 Best path down 1.0.8.0/24, remove
May 22 19:57:56:587703:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 removing bgp route advertisement 1.0.8.0/24
May 22 19:57:56:587769:info:fi_debug:debug_logs:1:898045013179499264: BGP: delete ipv4 route from fwd table for 1.0.8.0/24
May 22 19:57:56:587828:info:fi_debug:debug_logs:1:898045013179499264: BGP: Clearing install flags for 1.0.8.0/24
May 22 19:57:56:588007:info:fi_debug:debug_logs:1:898045013179499264: BGP: select best route 1.0.7.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 19:57:56:588070:info:fi_debug:debug_logs:1:898045013179499264: BGP: eligible route 0 
May 22 19:57:56:588088:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 Best path down 1.0.7.0/24, remove
May 22 19:57:56:588194:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 removing bgp route advertisement 1.0.7.0/24
May 22 19:57:56:588257:info:fi_debug:debug_logs:1:898045013179499264: BGP: delete ipv4 route from fwd table for 1.0.7.0/24
May 22 19:57:56:588311:info:fi_debug:debug_logs:1:898045013179499264: BGP: Clearing install flags for 1.0.7.0/24
May 22 19:57:56:588381:info:fi_debug:debug_logs:1:898045013179499264: BGP: select best route 1.0.6.0/24 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 19:57:56:588434:info:fi_debug:debug_logs:1:898045013179499264: BGP: eligible route 0 
May 22 19:57:56:588487:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 Best path down 1.0.6.0/24, remove
May 22 19:57:56:588504:info:fi_debug:debug_logs:1:898045013179499264: BGP: 150.0.0.3 removing bgp route advertisement 1.0.6.0/24
May 22 19:57:56:588604:info:fi_debug:debug_logs:1:898045013179499264: BGP: delete ipv4 route from fwd table for 1.0.6.0/24
May 22 19:57:56:588622:info:fi_debug:debug_logs:1:898045013179499264: BGP: Clearing install flags for 1.0.6.0/24
May 22 19:57:56:705579:info:fi_debug:debug_logs:1:0: BGP: Adding 1.0.6.0/24 to ipv4 route table(0), bgp next_hop=150.0.0.3
May 22 19:57:56:705714:info:fi_debug:debug_logs:1:0: BGP: Adding 1.0.7.0/24 to ipv4 route table(0), bgp next_hop=150.0.0.3
May 22 19:57:56:705772:info:fi_debug:debug_logs:1:0: BGP: Adding 1.0.8.0/24 to ipv4 route table(0), bgp next_hop=150.0.0.3