Enabling Local Pbr - 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
Command
Step 6
Switch(config-route-map)# set default
interface interface-type interface-number
[...type ...number]
Step 7
Switch(config-route-map)# interface
interface-type interface-number
Step 8
Switch(config-if)# ip policy route-map map-tag
Use the set commands with each other. These commands are evaluated in the order shown in Step 3 in
the previous task table. A usable next hop implies an interface. Once the local switch finds a next hop
and a usable interface, it routes the packet.

Enabling Local PBR

Packets that are generated by the switch are not normally policy-routed. To enable local PBR for such
packets, indicate which route map the switch should use by entering this command:
Command
Switch(config)# ip local policy route-map map-tag
All packets originating on the switch are then 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:
OL-25340-01
Purpose
Specifies the output interface from which the packet will be
sent if there is no explicit route for this destination. Before
forwarding the packet to the next hop, the switch looks up the
packet's destination address in the unicast routing table. If a
match is found, the packet is forwarded by using the routing
table. If no match is found, the packet is forwarded to the
specified output interface.
Packets are forwarded on the specified interface only if one of
the following conditions is met:
The destination IP address in the packet lies within the IP
subnet to which the specified interface belongs.
The destination IP address in the packet is reachable
through the specified interface (as per the IP routing
table).
If the destination IP address on the packet does not meet
either of these conditions, the packet is dropped. This action
forces matching packets to be switched in software.
Specifies the interface. This command puts the switch into
interface configuration mode.
Identifies the route map to use for PBR. One interface can
only have one route map tag, but you can have multiple route
map entries with different sequence numbers. These entries
are evaluated in sequence number order until the first match.
If no match exists, packets are routed as usual.
Purpose
Identifies the route map to use for local PBR.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Policy-Based Routing Configuration Tasks
38-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents