BGP IPv6 Route Filtering on Cisco IOS

Hello Rene,

I was doing a LAB and I discovered something interesting and I wanted to ask you why:

which is the difference to have the next route-map here:

router bgp 21
 no synchronization
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 2001:DB8:12::1 remote-as 20
 neighbor 2001:DB8:12::1 route-map BLOCK_MAP in <------------
 no auto-summary
 !
 address-family ipv6
  neighbor 2001:DB8:12::1 activate
  neighbor 2001:DB8:12::1 prefix-list NET64 in
 exit-address-family

OR HERE

router bgp 21
 no synchronization
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 2001:DB8:12::1 remote-as 20
 no auto-summary
 !
 address-family ipv6
  neighbor 2001:DB8:12::1 activate
  neighbor 2001:DB8:12::1 prefix-list NET64 in
  neighbor 2001:DB8:12::1 route-map BLOCK_MAP in <------

Both, the router accept the commands but only with the second one works perfectly.

2 Likes