Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Ipv6 Default route bgp

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
New Member

Re: Ipv6 Default route bgp

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

Sent from Cisco Technical Support iPhone App

Purple

Ipv6 Default route bgp

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.

Re: Ipv6 Default route bgp

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 don't forget to rate any posts that have been helpful. Thanks.

Re: Ipv6 Default route bgp

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"

1215
Views
13
Helpful
4
Replies
CreatePlease to create content