Filter routes when using RIB groups with several routing-instances

This article describes how to filter routes going from one routing table to several routing-instances.

The goal is to import routes using RIB groups (RIB: routing information base, also known as routing table), and filter what the RIB copies to other routing instances using policy-options and import-policy over the rib-groups stanza.

Example 1 shows how to use RIB groups over interface-routes, and copy them from inet.0 to several routing instances.

Example 2 shows how to filter routes going from inet.0 to PBR1 and PBR2, and copy all inet.0 information to other TEST routing instances.

Example 1: Use RIB groups over interface-routes, and copy them from inet.0 to several routing instances

Example 2: Policy structure: Filter routes going from inet.0 to PBR1 and PBR2, and copy all inet.0 information to other TEST routing instances

Outputs after the implementation filters the Direct routes
Note that TEST2.inet.0 and TEST3.inet.0 have the same output as TEST1.inet.0.

 

About the author

James Palmer

Leave a Comment