Configuring Group-Specific RIPng Properties
You can group together neighbors that share the same export policy and export metric defaults. You configure group-specific RIPng properties by including the group statement:
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.
Each group must contain at least one neighbor. You should create a group for each export policy that you have. For information about configuring neighbors, see Overview of RIPng Neighbor Properties.
This section discusses the following tasks:
Applying Policies to Routes Exported by RIPng
By default, RIPng does not export routes it has learned to its neighbors. To have RIPng export routes, apply one or more export policies. To apply export policies and to filter routes being exported from the local routing device to its neighbors, include the export statement and list the name of the policy to be evaluated:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
You can define one or more export policies. If no routes match the policies, the local routing device does not export any routes to its neighbors. Export policies override any metric values determined through calculations involving the values configured with the metric-in and metric-out statements (discussed in Configuring the Metric Value Added to Imported RIPng Routes andConfiguring Group-Specific RIP Properties respectively).
Configuring the Default Preference Value for RIPng
By default, the Junos OS assigns a preference of 100 to routes that originate from RIPng. When the Junos OS determines that a route preference is to become the active route, the software selects the route with the lowest preference and installs this route into the forwarding table.
To modify the default RIPng preference value, include the preference statement:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement:
preference can be a value from 0 through 4,294,967,295 (232 – 1).
Configuring the Metric for Routes Exported by RIPng
If you configure an export policy, RIPng exports routes it has learned to the neighbors configured with the neighbor statement.
If a route being exported was learned from a member of the same RIPng group, the metric associated with that route (unless modified by an export policy) is the normal RIPng metric. For example, a RIPng route with a metric of 5 learned from a neighbor configured with a metric-in value of 2 is advertised with a combined metric of 7 when advertised to RIPng neighbors in the same group. However, if this route was learned from a RIPng neighbor in a different group or from a different protocol, the route is advertised with the metric value configured for that group with the metric-out statement. The default value for metric-out is 1.
To modify the metric for routes advertised outside a group, include the metric-out statement:
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
