10-26-2020 12:30 AM
Hi, Guys,
I'm facing a problem on BGP with IPv6 family unicast, Router A with IOS-XR and Router B has established the BGP IPv6 neighbor but they're not able to advertise the prefixs(IPv6 address of loopback 0) to each other.
BTW, they're not in the same AS so the neighbor relation is EBGP for IPv6 unicast!
Any help will be appreciate!
Solved! Go to Solution.
10-26-2020 08:31 AM
For eBGP in XR you always need a route-policy for ingress and egress under the neighbor address family configured.
If you want to pass all prefixes you can have a route-policy like below:
route-policy PASS
pass
end-policy
neighbor 2001:12::2
remote-as 2
address-family ipv6 unicast
route-policy PASS in
route-policy PASS out
Sam
10-26-2020 01:15 AM
Can you post the sample configuration to understand what the environment?
10-26-2020 01:42 AM
Yes, sure, here it is
Router A
router bgp 1
bgp router-id 1.1.1.1
address-family ipv6 unicast
network 2001:172::1/128 (loopback 0)
!
neighbor 2001:12::2
remote-as 2
address-family ipv6 unicast
Router B
router bgp 2
bgp router-id 2.2.2.2
no bgp default ipv4-unicast
neighbor 2001:12::1 remote-as 1
!
address-family ipv6
network 2001:192::1/128 (loopback 0)
neighbor 2001:12::1 activate
exit-address-family
Just a simple topology for testing, neighbor is up and Router B can advertise the IPv6 prefix to Router A, but Router A(IOS-XR) always can't advertise/receive the route to/from Router B...
Thanks and have a good day!
10-26-2020 08:31 AM
For eBGP in XR you always need a route-policy for ingress and egress under the neighbor address family configured.
If you want to pass all prefixes you can have a route-policy like below:
route-policy PASS
pass
end-policy
neighbor 2001:12::2
remote-as 2
address-family ipv6 unicast
route-policy PASS in
route-policy PASS out
Sam
10-26-2020 06:52 PM
OMG! yeah you're right, now it works! Thanks a lot, buddy!
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