Cisco Catalyst 4500 series Administration Manual page 953

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 40
Configuring Policy-Based Routing
The numbers 21, 22, ... 26 are the sequence numbers of the route-map statements.
The following topics are discussed:
PBR Route-Map Processing Logic
When a packet is received on an interface configured with a route-map, the forwarding logic processes
each route-map statement according to the sequence number.
If the route-map statement encountered is a route-map... permit statement:
If the route-map statement encountered is a route-map... deny statement:
The set command has no effect inside a route-map... deny statement.
Note
A route-map statement can have multiple set commands, which are applied in the following priority:
set ip next-hop
set ip next-hop recursive
set interface
OL_28731-01
set ip next-hop 24.4.4.1
!
route-map rm-test deny 25
match ip address 105
set ip next-hop 25.5.5.1
!
route-map rm-test permit 26
match ip address 2104
set ip next-hop 26.6.6.1
PBR Route-Map Processing Logic, page 40-3
Load balancing with recursive next-hop, page 40-4
PBR Route-Map Processing Logic Example, page 40-4
The packet is matched against the criteria in the match command. This command may refer to an
ACL that may itself have one or more permit and/or deny expressions. The packet is matched against
the expressions in the ACL, and a permit/deny decision is reached.
If the decision reached is permit, then the PBR logic executes the action specified by the set
command on the packet.
If the decision reached is deny, then the PBR action (specified in the set command) is not applied.
Instead the processing logic moves forward to look at the next route-map statement in the sequence
(the statement with the next higher sequence number). If no next statement exists, PBR processing
terminates, and the packet is routed using the default IP routing table.
The packet is matched against the criteria given in the match command. This command may refer
to an ACL that may itself have one or more permit and/or deny expressions. The packet is matched
against the expressions in the ACL, and a permit/deny decision is reached.
If the criteria decision is permit, then the PBR processing terminates, and the packet is routed using
the default IP routing table.
If the criteria decision is deny, then the PBR processing logic moves forward to look at the next
route-map statement in the sequence (the statement with the next higher sequence number). If no
next statement exists, PBR processing terminates, and the packet is routed using the default IP
routing table.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
About Policy-Based Routing
40-3

Advertisement

Table of Contents
loading

Table of Contents