cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4217
Views
13
Helpful
4
Replies

Ipv6 Default route bgp

Juan Barco
Level 1
Level 1

Hi,

I am reciving a default route on bgp over ipv6 by my service provider. I want to control to only recive the default route, but when I ask for full table I recived all the routes, I don't know how to control the prefix to only recived the default route, this is what I have (ios XR):

prefix-set IPv6

  ::/0 le 128

end-set

route-policy PERMIT_IPv6

  if destination in IPv6 then

    pass

  endif

end-policy

router bgp 279xx

vrf INTERNET

neighbor 2800:xxxx:x:x:x:x:x:x

remote-as 523xx

description eBGP GlobeNetIPV6

update-source Bundle-Ether4.663

address-family ipv6 unicast

route-policy PERMIT_IPv6 in

route-policy IPV6_OUT out

Sorry for my english.

4 Replies 4

Umesh Joshi
Level 1
Level 1

Check your route policies if the ISP ip range is already filtered

Sent from Cisco Technical Support iPhone App

cadet alain
VIP Alumni
VIP Alumni

Hi,

Did you do a soft refresh after applying the policy ?

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hello

Your prefix is saying allow all routes, but you say you want to allow just the default

try this:

prefix-set IPv6

  ::/0

end-set

dont forget to do a soft clear also?

res

Paul

Please don't forget to rate any posts that have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

eduardopozo56
Level 1
Level 1

pdriver answer is the right one, you are allowing all routes

prefix-set IPv6

  ::/0 le 128

end-set

it allows :: from mask 0 to mask 128, just remove the "le 128"

Review Cisco Networking for a $25 gift card