Enabling Pbr - Cisco WS-CBS3032-DEL Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 39
Configuring IP Unicast Routing

Enabling PBR

By default, PBR is disabled on the switch. 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 enable PBR
on an interface for that route map. All packets arriving on that interface that match the match clauses are
subject to PBR.
PBR can be fast-switched or implemented at speeds that do not slow down the switch. Fast-switched
PBR supports most match and set commands. You must first enable PBR before you enable fast-switched
PBR. By default, fast-switched PBR is disabled.
Packets that are generated by the switch, or local packets, are not normally policy routed. When you
globally enable local PBR on the switch, all packets that originate on the switch are subject to local PBR.
Local PBR is disabled by default.
To enable PBR, the switch or stack master must be running the IP services feature set.
Note
Beginning in privileged EXEC mode, follow these steps to configure PBR:
Command
Step 1
configure terminal
Step 2
route-map map-tag [permit] [sequence number]
Step 3
match ip address {access-list-number |
access-list-name} [...access-list-number |
...access-list-name]
Step 4
set ip next-hop ip-address [...ip-address]
Step 5
exit
OL-13270-06
Purpose
Enter global configuration mode.
Define any route maps used to control from where packets are
sent, and enter route-map configuration mode.
map-tag—A meaningful name for the route map. The ip
policy route-map interface configuration command uses
this name to reference the route map. Multiple route maps
might share the same map-tag name.
(Optional) If permit is specified and the match criteria
are met for this route map, the route is policy routed as
controlled by the set actions.
The route-map deny statement is not supported in
Note
PBR route maps to be applied to an interface.
sequence number (Optional)—Number that shows the
position of a new route map in the list of route maps
already configured with the same name.
Match the source and destination IP addresses that are
permitted by one or more standard or extended access lists.
Do not enter an ACL with a deny ACE or an ACL that
Note
permits a packet destined for a local address.
If you do not specify a match command, the route map applies
to all packets.
Specify the action to take on the packets that match the
criteria. Set the next hop to which to route the packet (the next
hop must be adjacent).
Return to global configuration mode.
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
Configuring Protocol-Independent Features
39-105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst blade 3130Catalyst blade 3032

Table of Contents