Users Guide
Sample Conguration
The following conguration is an example for setting up a PBR. These are not comprehensive directions. They are intended to give you a
some guidance with typical congurations. You can copy and paste from these examples to your CLI. Be sure you make the necessary
changes to support your own IP Addresses, Interfaces, Names, etc.
Graphic illustration of the conguration shown below:
The Redirect-List GOLD dened in this example, creates the following rules:
• description Route Gold trac to the DS3.
• seq 5 redirect 10.99.99.254 ip 192.168.1.0/24 any “ Redirect to next-hop router IP 10.99.99.254 any trac originating in 192.168.1.0/24”
• seq 10 redirect 10.99.99.254 ip 192.168.2.0/24 any “ Redirect to next-hop router IP 10.99.99.254 any trac originating in 192.168.2.0/24”
• seq 15 permit ip any
PBR Sample Conguration examples are shown below:
Create the Redirect-List GOLD
EDGE_ROUTER(conf-if-Te-3/23)#ip redirect-list GOLD
EDGE_ROUTER(conf-redirect-list)#description Route GOLD traffic to ISP_GOLD.
EDGE_ROUTER(conf-redirect-list)#direct 10.99.99.254 ip 192.168.1.0/24 any
EDGE_ROUTER(conf-redirect-list)#redirect 10.99.99.254 ip 192.168.2.0/24 any
EDGE_ROUTER(conf-redirect-list)# seq 15 permit ip any any
EDGE_ROUTER(conf-redirect-list)#show config
!
ip redirect-list GOLD
description Route GOLD traffic to ISP_GOLD.
seq 5 redirect 10.99.99.254 ip 192.168.1.0/24 any
608
Policy-based Routing (PBR)