[Contents] [Prev] [Next] [Index] [Report an Error]

Routing Policy Framework Overview

All routing protocols store their routing information in routing tables. From these tables, the routing protocols calculate the best route to each destination and place these routes in a forwarding table. These routes are then used to forward routing protocol traffic toward a destination, and they can be advertised to neighbors using one or more routing protocols.

Note: Instead of referring to the multiple routing tables that the JUNOS software maintains, the discussion in the rest of this chapter assumes the inet.0 routing table unless explicitly stated otherwise. By default, the JUNOS software stores unicast IP version 4 (IPv4) routes in the inet.0 routing table. For information about all the routing tables, see Routing Tables Affected by Routing Policies.

In general, the routing protocols place all their routes in the routing table and advertise a limited set of routes from the routing table. The general rules for handling the routing information between the routing protocols and the routing table are known as the routing policy framework.

The routing policy framework is composed of default rules for each routing protocol that determine which routes the protocol places in the routing table and advertises from the routing table. The default rules for each routing protocol are known as default routing policies.

You can create routing policies to preempt the default policies, which are always present. A routing policy is a mechanism in the JUNOS software that allows you to modify the routing policy framework to suit your needs. You can create and implement your own routing policies to do the following:

You can manipulate the route characteristics to control which route is selected as the active route to reach a destination. The active route is placed in the forwarding table and used to forward traffic toward the route’s destination. In general, the active route is also advertised to a router’s neighbors.

To create a routing policy, you must define the policy and apply it. You define the policy by specifying the criteria that a route must match and the actions to perform if a match occurs. You then apply the policy to a routing protocol or to the forwarding table.

Note: Before you create your routing policies, we recommend that you read through this entire section to become familiar with the terminology, concepts, and configuration guidelines.

This chapter discusses the following topics related to understanding and creating routing policies:


[Contents] [Prev] [Next] [Index] [Report an Error]