Cisco Systems WSC4500X24XIPB Switch User Manual


 
25-3
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 25 Configuring Policy-Based Routing
Policy-Based Routing Configuration Task List
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 Examples.”
Enabling PBR (Required)
Enabling Local PBR (Optional)
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 Purpose
Step 1
Switch(config)# route-map
map-tag
[permit |
deny] [
sequence-number
]
Defines a route map to control where packets are output. This
command puts the router into route-map configuration mode.
Step 2
Switch(config-route-map)# match ip address
{
access-list-number
|
name
}
[
...access-list-number
|
name
]
Specifies the match criteria. Matches the source and
destination IP address that is permitted by one or more
standard or extended access lists.