Configuring IPv6 BGP Distribute List

IPv6 BGP Distribute List can be used to minimize the number of BGP updates sent between peer routers by filtering out unwanted routing updates at the source.

To configure IPv6 BGP Distribute List, configure routers R1 and R2 as follows:

On R1:
router bgp 6501
: bgp router−id 1.1.1.1
: neighbor 2011:11:11:11::2 remote−as 6502
 
address−family ipv6
: redistribute connected
: neighbor 2011:11:11:11::2 activate
: neighbor 2011:11:11:11::2 distribute-list acl1 in
: neighbor 2011:11:11:11::2 distribute-list acl2 out
exit−address−family
 
ipv6 access-list acl1 deny 1010::1/128
ipv6 access-list acl1 permit any
ipv6 access-list acl2 deny 1111::1/128
ipv6 access-list acl2 permit any
On R2:
router bgp 6502
: bgp router−id 2.2.2.2
: neighbor 2011:11:11:11::1 remote−as 6501
 
address−family ipv6
: redistribute connected
: neighbor 2011:11:11:11::1 activate
 

To check the routes on R1 and R2, use the show bgp ipv6 unicast command.

On R1:
R1> show bgp ipv6 unicast
On R2:
R2> show bgp ipv6 unicast