Enabling Local Pbr; Unsupported Commands; Policy-Based Routing Configuration Examples; Equal Access Example - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 26
Configuring Policy-Based Routing

Enabling Local PBR

Packets that are generated by the router are not normally policy-routed. To enable local PBR for such
packets, indicate which route map the router should use by performing this task:
Command
Switch(config)# ip local policy route-map map-tag
All packets originating on the router will then be subject to local PBR.
Use the show ip local policy command to display the route map used for local PBR, if one exists.

Unsupported Commands

The following PBR commands in config-route-map mode are in the CLI but not supported in Cisco IOS
for the Catalyst 4500 series switches. If you attempt to use these commands, an error message displays.

Policy-Based Routing Configuration Examples

The following sections provide PBR configuration examples:
For information on how to configure policy-based routing, see the section
Configuration Task List"

Equal Access Example

The following example provides two sources with equal access to two different service providers.
Packets arriving on interface fastethernet 3/1 from the source 1.1.1.1 are sent to the router at 6.6.6.6 if
the router has no explicit route for the destination of the packet. Packets arriving from the source 2.2.2.2
are sent to the router at 7.7.7.7 if the router has no explicit route for the destination of the packet. All
other packets for which the router has no explicit route to the destination are discarded.
Switch (config)# access-list 1 permit ip 1.1.1.1
access-list 1 permit ip 1.1.1.1
!
interface fastethernet 3/1
ip policy route-map equal-access
OL-6696-01
match-length
set ip qos
set ip tos
set ip precedence
Equal Access Example, page 26-5
Differing Next Hops Example, page 26-6
Deny ACE Example, page 26-6
in this chapter.
Policy-Based Routing Configuration Examples
Purpose
Identifies the route map to use for local PBR.
Software Configuration Guide—Release 12.2(25)EW
"Policy-Based Routing
26-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents