System information

Configuring Routing Policy
7-15
Policy-based routing is applied to incoming packets. All packets received on an
interface with policy-based routing enabled are considered for policy-based routing.
The router passes the packets through a route map. Based on the information defined
in the route map, packets are forwarded to the appropriate next hop. Route maps
contain a combination of match and set commands. The match commands define the
criteria for whether or not packets meet a particular policy. The set commands define
how the packets should be routed if they have met the match criteria.
This section discusses the following tasks:
Configuring a Policy-Based Route Map
Enabling Policy-Based Routing on an Interface
Enabling Local Policy-Based Routing on a Router
Configuring a Policy-Based Route Map
To enable policy-based routing, you must identify or create a route map to use for
policy-based routing. The route map specifies the match and set parameter and the
resulting action if all of these parameters are met. You can define additional route map
parameters to be used for policy-based routing. These parameters can be added to an
existing route map or included in a new route map. See Creating a Route Map on page
7-1 for more information.
Defining Match Criteria
The following match commands can apply when configuring a policy-based route
map:
match ip address
match ip next-hop
match ip route-source
Note: We implement policy-based routing in hardware on the BSR family of
routers. Implementing policy-based routing in hardware instead of software
causes no degradation in device performance.