debug ip bgp ipv6-prefix-list

Specifies the IPv6 prefix filter for BGP debugging information for all VRFs or for a specified VRF.
Syntax
debug ip bgp ipv6-prefix-list prefix-list-name
no debug ip bgp ipv6-prefix-list prefix-list-name
Parameters
prefix-list-name
Specifies an IPv6 prefix-list.
Modes

Privileged EXEC mode

Usage Guidelines

Only one IPv6 prefix filter or prefix list can be configured on a VRF. Prefix filters and prefix lists cannot be configured simultaneously. IPv6 and IPv4 filters are applied separately.

The no form removes the specified IPv6 prefix filter for BGP debugging information.

Examples

The following example configures IPv6 prefix lists, and specifies these IPv6 prefix filters for BGP debugging information for all VRFs.

device# configure terminal
device(config)# ipv6 prefix-list zzz permit 2001:db8:8::/45
device(config)# ipv6 prefix-list zzz permit 2002:db8:8::/454
device(config)# exit
device# debug ip bgp ipv6-prefix-list zzz
                         permit 2001:db8:8::/45 
                         permit 2002:db8:8::/45 
device# debug ip bgp show
         BGP:  bgp debugging is on
         BGP:  route-selection debugging is on
         BGP:  ip-prefix-list zzz debugging is on
                         permit 2001:db8:8::/45 
                         permit 2002:db8:8::/45  

May 22 17:52:16:909973:info:fi_debug:debug_logs:1:892058704942203648: BGP: select best route 2002:db8:8::/45 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 17:52:16:909988:info:fi_debug:debug_logs:1:892058704942203648: BGP: eligible route 0 
May 22 17:52:16:910001:info:fi_debug:debug_logs:1:892058704942203648: BGP: 150.0.0.3 Best path down 2002:db8:8::/45, remove
May 22 17:52:16:910016:info:fi_debug:debug_logs:1:892058704942203648: BGP: 150.0.0.3 removing bgp route advertisement 2002:db8:8::/45
May 22 17:52:16:910034:info:fi_debug:debug_logs:1:892058704942203648: BGP: delete ipv4 route from fwd table for 2002:db8:8::/45
May 22 17:52:16:910048:info:fi_debug:debug_logs:1:892058704942203648: BGP: Clearing install flags for 2002:db8:8::/45
May 22 17:52:16:910076:info:fi_debug:debug_logs:1:892058704942203648: BGP: select best route 2001:db8:8::/45 load_share (ibgp 1, ip 1), (ebgp 1, ip 1)
May 22 17:52:16:910089:info:fi_debug:debug_logs:1:892058704942203648: BGP: eligible route 0 
May 22 17:52:16:910103:info:fi_debug:debug_logs:1:892058704942203648: BGP: 150.0.0.3 Best path down 2001:db8:8::/45, remove
May 22 17:52:16:910116:info:fi_debug:debug_logs:1:892058704942203648: BGP: 150.0.0.3 removing bgp route advertisement 2001:db8:8::/45
May 22 17:52:16:910134:info:fi_debug:debug_logs:1:892058704942203648: BGP: delete ipv4 route from fwd table for 2001:db8:8::/45
May 22 17:52:16:910157:info:fi_debug:debug_logs:1:892058704942203648: BGP: Clearing install flags for 2001:db8:8::/45
May 22 17:52:17:440097:info:fi_debug:debug_logs:1:0: BGP: Adding 2001:db8:8::/45 to ipv4 route table(0), bgp next_hop=150.0.0.3
May 22 17:52:17:440230:info:fi_debug:debug_logs:1:0: BGP: Adding 2001:db8:8::/454 to ipv4 route table(0), bgp next_hop=150.0.0.3