cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1389
Views
10
Helpful
4
Replies

BGP IPv6

Steven4699
Level 1
Level 1

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!

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

Can you post the sample configuration to understand what the environment?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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!

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

OMG! yeah you're right, now it works! Thanks a lot, buddy!