07-03-2020 04:38 AM
hi,
i got a BGP WAN with dual stack IPv4 and IPv6 address.
can i configure the same BGP policy/route-map (local pref) applied on IPv4 AF to IPv6?
router bgp 65000
bgp router-id 1.2.3.4
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 2001:1111::1 remote-as 65001
neighbor 2001:1111::1 update-source GigabitEthernet0/0/1
neighbor 200.1.1.1 remote-as 65001
neighbor 200.1.1.1 update-source GigabitEthernet0/0/1
neighbor 200.1.1.1 version 4
!
address-family ipv4
network 1.2.3.0 mask 255.255.255.0
neighbor 200.1.1.1 activate
neighbor 200.1.1.1 send-community
neighbor 200.1.1.1 soft-reconfiguration inbound
neighbor 200.1.1.1 route-map RM_LOC_PREF in
exit-address-family
!
address-family ipv6
network 2001:1111::/48
neighbor 2001:1111::1 activate
neighbor 2001:1111::1 route-map RM_LOC_PREF in
exit-address-family
07-03-2020 05:04 AM
Hello @johnlloyd_13 ,
this depends on how the route-map is configured
if there is no match command likely the answer is yes
I mean
route-map RM_LOC_PREF permit 10
set local-preference 200
this is portable to different address families, but if you invoke an IPv4 prefix-list for example with a
match ip address prefix SOMEROUTES
I am afraid in this case you need a separate route-map to be used for AF IPv6 unicast.
Hope to help
Giuseppe
07-03-2020 05:26 PM
hi giuseppe,
thanks for the response! i only have 2 BGP route-map policies: local pref (inbound) and AS path prepend (outbound).
can these be applied on both IPv4 and IPv6 AF?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide