IPv6 BGP Route-Map

IPv6 BGP Route-Map 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 Route-Map, 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 route-map map1 in
: neighbor 2011:11:11:11::2 route-map map2 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
!
route-map map1 permit 1 match ipv6 address acl1
!
route-map map2 permit 1 match ipv6 address acl2
!
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

The route on R1 should have IPv6 address 1010::1/128.

On R2:
R2> show bgp ipv6 unicast

The route on R2 should have IPv6 address 1111::1/128.