hit counter script

Using Policy-Based Routing - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 38
Configuring Policy-Based Routing
The Catalyst 4500 series switch supports matching route-map actions with a packet by installing entries
in the TCAM that match the set of packets described by the ACLs in the match criteria of the route map.
These TCAM entries point at adjacencies that either perform the necessary output actions or forward the
packet to software if either hardware does not support the action or its resources are exhausted.
If the route-map specifies a set interface ... action, packets that match the match statement are routed
in software. Similarly, if the route-map specifies a set default interface... action and there is no
matching IP route for the packet, the packet is routed in software.
The scale of hardware-based PBR is determined by TCAM size and the time required for the CPU to
Note
flatten the ACL before programming into hardware. The latter will noticeably increase if a PBR policy
requires a considerable number of class-maps. For example, a PBR policy of 1,200 class-maps may
require 60-90 minutes of "flatten" time before programming into hardware. This process may repeat if
an adjacency change requires PBR reprogramming.

Using Policy-Based Routing

You can enable PBR to change the routing path of certain packets from the default path that would be
chosen by IP routing. For example, you can use PBR to provide the following functionality:
Some applications or traffic can benefit from source-specific routing; for example, you can transfer stock
records to a corporate office on a higher-bandwidth, higher-cost link for a short time while sending
routine application data, such as e-mail, over a lower-bandwidth, lower-cost link.
PBR configuration is only allowed on interfaces belonging to the global routing table. PBR is not
Note
supported on interfaces that belong to VRFs.
Policy-Based Routing Configuration Tasks
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. For configuration examples, see the
"Policy-Based Routing Configuration Examples" section on page
OL-25340-01
TCP packet from 61.1.1.1 to 133.3.3.1 with destination port 105
Processing moves from sequence #21 to #24, because all ACLs in these sequence numbers have
a deny action for port 105.
In sequence #25, ACL 105 has a permit action for TCP port 105.
The route-map deny takes effect, and the packet is routed using the default IP routing table.
Equal access
Protocol-sensitive routing
Source-sensitive routing
Routing based on interactive versus batch traffic
Routing based on dedicated links
Enabling PBR, page 38-6
Enabling Local PBR, page 38-7
(Required)
(Optional)
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Policy-Based Routing Configuration Tasks
38-8.
38-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents