public icon indicating copy to clipboard operation
public copied to clipboard

BGP&OSPF:no route advertisement is defined?

Open andersliuc opened this issue 8 years ago • 4 comments

Hi, I am confused whether the route advertisement is defined in bgp and ospf models like the CLI “network” in Cisco. Is that in route-policy model?

andersliuc avatar Nov 08 '17 13:11 andersliuc

This is defined in the local routing model as aggregates. The network instance model's table connections is then used to redistribute the routes into the relevant protocols. Please take a look and see if this makes sense to you.

r.

On Wed, 8 Nov 2017, 05:12 andersliuc, [email protected] wrote:

Hi, I am confused whether the route advertisement is defined in bgp and ospf models like the CLI “network” in Cisco. Is that in route-policy model?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openconfig/public/issues/106, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnN1fbpBP1iK09XPUL5GiSWcyvf2rGrks5s0ajPgaJpZM4QWW4X .

robshakir avatar Nov 08 '17 13:11 robshakir

Hi,thank you for your reply and I have a new question showed below:

  1. I want to advertise a route through BGP. As the method you mentioned above, I firstly defined route in the local routing model as aggregates,then I use the table connection with leaf of src protocol,dst protocol and address family,but there is no attribute relate to which route I want to redistribute in the table connection (in other words, I defined many routes though aggregates and I just want to advertise one of them in bgp).

Look forward to your reply!Many thanks!

andersliuc avatar Nov 09 '17 14:11 andersliuc

In table-connection/config we have an import-policy leaf, this means that we can specify a policy that will match the particular route that is created as an aggregate. I think that this should allow such filtering.

robshakir avatar Nov 17 '17 22:11 robshakir

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.

github-actions[bot] avatar Jun 28 '24 02:06 github-actions[bot]