Chapter 26
Configuring Policy-Based Routing
Policy-Based Routing Configuration Task List
To configure PBR, perform the tasks described in the following sections. The task in the first section is
required; the tasks in the remaining sections are optional. See the end of this chapter for the section
"Policy-Based Routing Configuration
•
•
Enabling PBR
To enable PBR, you must create a route map that specifies the match criteria and the resulting action if
all of the match clauses are met. Then you must enable PBR for that route map on a particular interface.
All packets arriving on the specified interface matching the match clauses will be subject to PBR.
To enable PBR on an interface, perform this task:
Command
Step 1
Switch(config)# route-map map-tag [permit |
deny] [ sequence-number ]
Step 2
Switch(config-route-map)# match ip address
{ access-list-number | name }
[ ...access-list-number | name ]
OL-6696-01
Enabling PBR
(Required)
Enabling Local PBR
(Optional)
Policy-Based Routing Configuration Task List
Examples."
Purpose
Defines a route map to control where packets are output. This
command puts the router into route-map configuration mode.
Specifies the match criteria. Matches the source and
destination IP address that is permitted by one or more
standard or extended access lists.
Software Configuration Guide—Release 12.2(25)EW
26-3