42-7
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 42 Configuring Policy-Based Routing
Policy-Based Routing Configuration Tasks
Restrictions for VRF-Aware Policy-Based Routing
•
The same route-map cannot be used to configure PBR:
–
on interfaces that belong to different VRFs
–
on one VRF interface and another global interface (an interface that is not part of a VRF).
•
The
set vrf
and
set ip global next-hop
commands can be configured with the
set default interface
,
set interface
, s
et ip default next-hop
, and
set ip next-hop commands
. But the
set vrf
and
set ip
global next-hop
commands take precedence over the
set default interface
,
set interface
,
set ip
default next-hop
, and
set ip next-hop
commands. No error message is displayed if you attempt to
configure the
set vrf
command with any of these three set commands.
•
The
set global
and
set vrf
commands cannot be simultaneously applied to a route map.
•
When you use the
set vrf
command you specify the VRF table to be looked-up; this overrides the
default or global routing table. If a route is not specified in the VRF routing table, then packets are
dropped (even if a route exists in the global routing table).
•
The
set next-hop verify-availability
command is not supported with VRF instances.
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 42-16
.
•
(Required)
•
(Required)
•
Enabling Local IPv4 and Local IPv6 PBR, page 42-12
(Optional)
•
Verifying Next-Hop IP using Object Tracking , page 42-14
(Optional)
•
Unsupported Commands, page 42-15
(Optional)
•
Configuring IPv4 and IPv6 PBR for VRF Instances, page 42-12
(Optional)
•
Unsupported Commands, page 42-15
Enabling IPv4 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 apply that route-map on a particular interface. All
packets arriving on the specified interface matching the match clauses are subject to PBR.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...