Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

rt-filter or route-policy in a route-reflector

Hi,

I want to implement a route reflector that i will use in two differents networks with differents VPNL3. So i do not want that my route reflector advertise the prefixes form a network to the other. I am using an ASR9000 with IOS XR 4.3.2 as route reflector.

I tried two differents configurations in a testing enviroment and both work fine, one applying route-policy filtering by RD, and another using RT-filter. But i do not know what is better to implement on production. I will appreciate if somebody could help me to decide what is the best to implement in a production Network, thinking in the resources of the network and in the IPv6 deployment (i could not configure RT Filter with address-family ipv6)

With route-policy

rd-set RD_XXX

65000:*

end-set

!

route-policy to_XXX

if rd in RD_XXX then

   pass

  else

   drop

  endif

end-policy

!

route-policy to_YYY

if rd in RD_XXX then

  drop

else

  pass

endif

end-policy

!

router bgp 65001

neighbor-group XXX

  remote-as 65001

address-family vpnv4 unicast

  route-reflector-client

  route-policy to_XXX out

!

neighbor-group YYY

   remote-as 650001

   update-source Loopback0

  address-family vpnv4 unicast

    route-reflector-client

    route-policy to_YYY out

with RT-Filter

router bgp 65001

address-family ipv4 rt-filter

!

neighbor-group XXX

  address-family ipv4 rt-filter

   route-reflector-client

   soft-reconfiguration inbound always

  !

neighbor-group YYY

  address-family ipv4 rt-filter

   route-reflector-client

   soft-reconfiguration inbound always

  !

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

rt-filter or route-policy in a route-reflector

Hi,

One benefit I see with rt-filter is, this feature provides considerable savings in CPU cycles and transient memory usage, generally this will be beneficial when you have large number of prefixes to be filtered, as you do not need to define route-policy for all the prefixes, and also it simple to configure (only one command )

Look at the  Restrictions for BGP: RT Constrained Route Distribution in below document

http://www.cisco.com/en/US/docs/ios/ios_xe/iproute_bgp/configuration/guide/irg_rt_filter_xe.html

HTH

Regards,

Sandip

2 REPLIES
Cisco Employee

rt-filter or route-policy in a route-reflector

Hi,

One benefit I see with rt-filter is, this feature provides considerable savings in CPU cycles and transient memory usage, generally this will be beneficial when you have large number of prefixes to be filtered, as you do not need to define route-policy for all the prefixes, and also it simple to configure (only one command )

Look at the  Restrictions for BGP: RT Constrained Route Distribution in below document

http://www.cisco.com/en/US/docs/ios/ios_xe/iproute_bgp/configuration/guide/irg_rt_filter_xe.html

HTH

Regards,

Sandip

New Member

rt-filter or route-policy in a route-reflector

Thanks Sandip, i  will consider.

Regards

                José

1600
Views
0
Helpful
2
Replies